Read pixel by pixel value from two images simultaneously

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 日

0 投票

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 日

0 投票

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

1 件のコメント

Nataliya
Nataliya 2017 年 2 月 9 日
I want to get pixel value of two images located at the same position.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2017 年 2 月 9 日

回答済み:

2017 年 2 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by