image thumbnail
from Region of interest - GUI by Omry Blum
The GUI panel lets you review a full movie before cropping and saving its images to disk

savevid(app)
function savevid(app)

pathname=app.V.Path;
mkdir(pathname,'regional_images');

for i = 1 : app.V.NumberOfFrames
    filename=[pathname,'\regional_images\regional-', num2str(i) '.bmp'];
    imwrite(app.Mov(i).cdata,filename,'bmp');
end
end

Contact us