Read pixel by pixel value from two images simultaneously
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nataliya
am 9 Feb. 2017
Beantwortet: Image Analyst
am 11 Feb. 2017
I want to get pixel by pixel value from two images at once. For example, Get 1st pixel value of both images and so on. How can I do this?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 11 Feb. 2017
You can't get them simultaneously (unless you're using the Parallel Computing Toolbox). You can get one, then the other, like this:
grayLevel1 = grayImage1(row, column);
grayLevel2 = grayImage2(row, column);
0 Kommentare
Weitere Antworten (1)
KSSV
am 9 Feb. 2017
doc imread. imread reads your images. When you read two images, their dimensions can be different. You can make their dimensions equal using imresize.
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox 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!