Read pixel by pixel value from two images simultaneously

4 次查看(过去 30 天)
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?

采纳的回答

Image Analyst
Image Analyst 2017-2-11
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);

更多回答(1 个)

KSSV
KSSV 2017-2-9
doc imread. imread reads your images. When you read two images, their dimensions can be different. You can make their dimensions equal using imresize.

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by