sequence of image processing using the same background
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
engineer
am 22 Mai 2018
Kommentiert: Image Analyst
am 30 Mai 2018
Hi everybody I have a batch of images. For each image, I am using the same background image. How can I analyze all images using the same background image? When I read the one image, I will have to change the name of the background image as well, but I can not manage to change the background image name for each image that I need to analyze. I would also appreciate if you give me some info, suggestion regarding analyzing the batch of images in the same code?
Thanks!!!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 22 Mai 2018
See the FAQ for code samples: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Inside the loop, create the new background image filename and read it in with imread(). Then read in the test image and use both of them to do your analysis.
11 Kommentare
Image Analyst
am 30 Mai 2018
Unfortunately you forgot to include your code, and I'm heading off to the airport in a couple of hours. Try this:
imshow(correctedImage, []);
It's possible that your background image is darker than your test images so the ratio is always greater than one so you need the empty brackets in imshow().
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!