Image Series Analysis: Curve fitting the pixels
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I have a series of k images of dimension m by n. The intensity of the each pixels in the image changes as a function of image number. I would like to fit each pixel in the series of k images to a simple function, but I do not know how to set up the loop.
How can I generate a pixel by pixel curve fit for the image series, and then display the results of the fit as a "map" of the fit values?
Thanks
5 comentarios
Respuestas (1)
Matt J
el 14 de Oct. de 2012
Editada: Matt J
el 14 de Oct. de 2012
If you have the image series as an m x n x k array A, then you can extract the data for each m,n by
for m=1:M
for n=1:N
data=reshape( A(m,n,:) , 1,[]);
end
end
I'm not saying that's the optimal thing to do, but if you must use a loop, that's how you could do it. The optimal approach would depend on the form of the curve your fitting with.
2 comentarios
Ver también
Categorías
Más información sobre Curve Fitting Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!