How can I plot intensity values given pixel positions?

조회 수: 2 (최근 30일)
Valeria Leto
Valeria Leto 2021년 5월 30일
Hi!
I have a matrix with intensity values that are the pixels of an image 318x1000. I have to locate these pixels in fixed positions.
For example, if the first row is
I=[96 99 96 100 99 98]
x1=[3.38 3.41 3.45 3.49 3.535 3.5738]
y1=[1 1 1 1 1 1]
the second one
x2=[4.35 4.46 4.47 4.49 4.60 4.66]
y2=[2 2 2 2 2 2]
how can I plot them in the same image? imagesc just define the I(1,1) and I(318,1000) pixel position.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by