Loop for pixel wise analysis

2 views (last 30 days)
Raiarii Chaussin
Raiarii Chaussin on 30 Jul 2020
Hello,
I'm new to matlab and I'm trying to create a loop to plot some points.
I got a set of 16 images (16 bit (.tiff)) from which I successfuly extracted every pixel intensity values. So at final I have 16, 256x224 uint16 arrays.
Here is the code I would like to loop :
TE = [22,44,66,88,110,132,154,176,198,220,242,264,286,308,330,352]
x = [TE(1),TE(2),TE(3),TE(4),TE(5),TE(6),TE(7),TE(8),TE(9),TE(10)] %... to TE16
y = [im1(1,1),im2(1,1),im3(1,1),im4(1,1),im5(1,1),im6(1,1),im7(1,1),im8(1,1),im9(1,1),im10(1,1)] %... to im16(1,1)
plot(x,y,'o')
I want to plot pixel at (1,1) then the one at (1,2)...(256,224) for every pixels of the 16 images as a function of my variable call TE.
I'd appreciate your help on this guys.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!