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
Zitieren als
Edgar Guevara (2024). Slit-scan video processing (https://www.mathworks.com/matlabcentral/fileexchange/43661-slit-scan-video-processing), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- 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!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | Updated Online Demo: http://youtu.be/sF3xqesuADA |
||
1.1.0.0 | Added video demo |
||
1.0.0.0 |