using integrated webcam of laptop for image processing in matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
SAPANA NIKHADE
am 7 Jun. 2011
Kommentiert: Trong Nguyen Thanh
am 25 Jun. 2017
hello i m writing prog for removing salt n pepper noise from digital image, i want to capture image by integrated web cam of my lappy n use directly in matlab program of image processing to remove salt n pepper noise. plz help.
1 Kommentar
Trong Nguyen Thanh
am 25 Jun. 2017
Answer: https://www.mathworks.com/help/supportpkg/usbwebcams/ug/acquire-images-from-webcams.html
Video: https://www.youtube.com/watch?v=Ekl21W7by_k
Akzeptierte Antwort
Image Analyst
am 7 Jun. 2011
Do you have the Image Acquisition Toolbox? When you get that, just run imaqtool, click on your webcam in the hardware browser, and do stuff (live preview, etc.) and see what commands it executes. Then just copy and paste those commands into your own m-file.
Salt and pepper noise can be eliminated by taking a median filter, subtracting it from the original (make sure you cast the original image to floating point first), taking the absolute value, thresholding to get a "map" of where the noise is, then use this map as logical indexing to replace the bad/noisy pixels in the original with the median filtered version. It's literally about 3 lines, doing just what I said. Write back if you have trouble with it.
1 Kommentar
Kumar Saurabh
am 15 Aug. 2011
hello yes i have the image acquisation toolbox.i know how to use imaqtool also.but i am not able to understand how to change settings in the hardware browser and do stuff like live preview etc.plz help me.
Weitere Antworten (2)
Kok Hong
am 6 Sep. 2011
hi, can i know what do u mean see what commands it executes? where to see it?? thx in advance.
0 Kommentare
Bastian
am 7 Sep. 2011
@ Image Analyst: What to do with the "noise map", it's boolean? Waht do you mean with logical index and how to remove the nosiy pixels? Multiply it with the median filtered one? Thanks
0 Kommentare
Siehe auch
Kategorien
Mehr zu Acquisition Using Image Acquisition Explorer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!