batch process images on Linux Ubuntu
Show older comments
Hi, I'm a Matlab rookie and I successfully managed to run a code in Matlab for superpixels creation. Now I am trying to batch process the same code for multiple images (respectively left.jpg and right.jpg and I'm hitting a wall.
I am using Matlab in no java mode as follow: TERMINAL>
matlab -nojvm -nodisplay
Then I am trying to type in this which gives me an error (input character is not valid)
> PairModel$Img1"_"$Img2.out << EOF
Img1 and Img2 should be the following images I want to batch process: left.jpg and right.jpg but how do I tell that to Matlab?
Then I would like to call in the first task that generated the superpixels using the following code:
Fdir ='/works/scratch/TestMultipleImage/$Task';
WlrName = [ '$Task' '_' '$Img1' '_' '$Img2'];
PairList = [];
PairList = [ PairList; {'$Img1','$Img2'}];
The '$Task' is that the one I used to generate the superpixels? If yes, do I write the name of that function instead of '$Task'?
Thanks for any help,
Than you.
Answers (0)
Categories
Find more on Image Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!