How can I plot intensity values given pixel positions?

8 visualizaciones (últimos 30 días)
Valeria Leto
Valeria Leto el 30 de Mayo de 2021
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.

Respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by