How to draw 50 equally distributed radii on a spherical image?

3 visualizaciones (últimos 30 días)
Ceylan
Ceylan el 30 de Jun. de 2018
Comentada: Ceylan Sonmez el 23 de Jul. de 2018
Hi,
I have fluorescent images from cell spheroids taken at different time points, and I would like to calculate the radial distribution of fluorescence for each time point. I have read a paper that briefly describes how to do this (https://pubs.acs.org/doi/full/10.1021/mp500002y); however, they do not provide the code for their custom algorithm. Therefore I decided to divide the problem into smaller steps as described in the paper, and my first challenge is to draw 50 equally spaced radii on the spherical microscopy images I have. I have no idea how to do this and therefore need your help. Could you please explain how I can do this on matlab?

Respuestas (1)

Image Analyst
Image Analyst el 30 de Jun. de 2018
See attached demos that get values radially from a center point. Adapt as needed.
  9 comentarios
Ceylan Sonmez
Ceylan Sonmez el 21 de Jul. de 2018
Can you please use words to describe what the issue is? I already answered above that for xcenter the value that has to be entered is 553 and for ycenter its 270.
Once those values are provided the code runs fine.
Providing the code again assuming this is what you meant with the above response:
centerXf=[];
centerYf=[];
i = 0:7.2:360;
for j = 1:length(i)
lineLength = 350;
angle = i(j);
centerX(1) = xcenter;
centerY(1) = ycenter;
centerX(2) = centerX(1) + lineLength * cosd(angle);
centerY(2) = centerY(1) + lineLength * sind(angle);
hold on;
plot(centerX, centerY,'b-');
grid on;
centerXf(j,:)=centerX;
centerYf(j,:)=centerY;
end
Ceylan Sonmez
Ceylan Sonmez el 23 de Jul. de 2018
Could you please let me know if you are unwilling to be helpful?

Iniciar sesión para comentar.

Categorías

Más información sobre Biomedical Imaging 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