Slit-scan video processing
Process video simulating a slit-scan camera.
SYNTAX
videoOut = slitscan(videoIn, nLinesPerScan, direction, nLoops, displayVideo, saveVideo)
INPUTS
fileName File name of the video to modify
nLinesPerScan Number of lines per scan. The less lines the smoother video
is. Default is 5.
direction Is the direction the delay increases in.
'BottomToTop' means that the bottom line is behind the top
by a number of frames equal to the height of the clip.
'TopToBottom' means that the top line is behind the bottom
by a number of frames equal to the height of the clip.
Default is 'TopToBottom'.
nLoops Number of times to repeat original video. Default is 1.
displayVideo Open a figure where the slit-scan video is played. Default
true.
saveVideo Save the modified video as a new file '_slitscan' is added
to the file name. Default false.
OUTPUT
videoOut Video structure
Copyright (C) 2013 Edgar Guevara Codina
codina@REMVETHIScactus.iico.uaslp.mx
File Version 1.0
September 27 2013
MATLAB ver 7.10.0.499 (R2010a)
Online Demo: http://youtu.be/sF3xqesuADA
Cite As
Edgar Guevara (2024). Slit-scan video processing (https://www.mathworks.com/matlabcentral/fileexchange/43661-slit-scan-video-processing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.2.0.0 | Updated Online Demo: http://youtu.be/sF3xqesuADA |
||
1.1.0.0 | Added video demo |
||
1.0.0.0 |