Convert Image to Video Processing, the next step.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Greetings fellow programmers! As stated in the title, I am in quite a pickle. I have done my image processing completely but I have yet to learn any techniques for running a recorded video processing.
Here are my desired pre-processing of image,
if true
Reader = VideoReader('StuckTear.MOV');
get(Reader);
DarkPixel = 125;
extraction = rgb2gray(read(Reader,80));
Threshold = imextendedmax(extraction, DarkPixel);
redux = bwareaopen (Threshold, 35000);
%imshow(extraction)
%figure, imshow(redux);
for x = 1 : nframes
singleFrame = read(Reader, x);
I = rgb2gray(singleFrame);
fill = imfill (redux, 'holes');
se = strel('disk', 10);
dilate = imdilate(fill, se);
G = fspecial('gaussian', [15 15], 2);
Ig = imfilter(dilate, G, 'circular');
end
end
I have done processing my image and I wanted the recorded video to be processed the same way but by frame by frame, is there anyone out there that could provide me some example or perhaps some guidance regarding this? Thank you very much.
I am also planning to make centroid and bounding box on the "ON" pixels as well but that can wait.
0 commentaires
Réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!