Read pixel by pixel value from two images simultaneously

조회 수: 2 (최근 30일)
Nataliya
Nataliya 2017년 2월 9일
답변: Image Analyst 2017년 2월 11일
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.
  댓글 수: 1
Nataliya
Nataliya 2017년 2월 9일
I want to get pixel value of two images located at the same position.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by