detecting red color spots in real time video i.e. video is not stored on hard disk
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all! my question is like this... an ultrasonic scanning probe is hovered above a metal rod to scan for defects.The scan can be seen on display connected to this probe. This scan is a colored video in which the defects are red colored. My aim to track the red colored spots in real time and generate a signal 1/0. I mean as we move the probe across the length of rod our algorithm should give a signal immediately whenever there is a red spot. the video generated by probe is 60 frame/sec. Also this video is not stored as file,we see video as we scan rod. I do not need to show the red spots ,but instead generate a signal 1 for red spot and 0 for no red spot. How can this be achieved,any idea. Thanks
0 Commenti
Risposta accettata
Image Analyst
il 6 Nov 2014
See my attached demo where I track green items in a video. You can change it to call getsnapshot() instead of read() so that you get a video frame.
Here's a more primitive and limited version that someone else posted: http://www.mathworks.com/matlabcentral/fileexchange/28757-tracking-red-color-objects-using-matlab
4 Commenti
Image Analyst
il 9 Nov 2014
Just use subplot
subplot(2,2,1);
imshow(firstImage);
subplot(2,2,2);
imshow(secondImage);
subplot(2,2,3);
plot(t, areaFractions);
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!