# Edge spots to center

7 messages
Open this post in threaded view
|

## Edge spots to center

 Dear all, I have a macro that locate the nuclei of each cell within an area (green, insulin positive area). I would be very pleased to know if it is possible to determine how long or which distance there is beween each nuclei and the geometric center of that green area. It is something like to know the distribution of each cell just to know if it is near to the center or peripheral (near to the edge). Thank you in advance, This is my macro to locate nuclei and i attach some example image . --    - Adrián Villalba Felipe.    https://es.linkedin.com/in/adrianvillalba-- ImageJ mailing list: http://imagej.nih.gov/ij/list.html BetaCell_CountMod.txt (1K) Download Attachment Ej7.tif (2M) Download Attachment
Open this post in threaded view
|

## Re: Edge spots to center

 If you set measurements to measure the centre of mass in your Ej7.tif (green) image, you will find 6.452,6.706 as center of green area. Your image is calibrated as 18.66x14.22 inches, which is probably incorrect given the size of a nucleus visible. From your Maxima image you can retrieve the coordinates of each nucleus. See this link for the macro code: http://imagej.1557.x6.nabble.com/Getting-x-y-coordinates-of-the-multi-point-tool-td4490440.htmlGiven the coordinates of the centre of mass of the green area, Pythagoras will give you the distance of each nucleus centre with respect to the center of the insulin positive area, either in pixels or in real world units. You can calculate the relative (percentage) position of the nucleus to the distance (centre-edge), using the Process>Binary>Distance Map of the green image and the distance to the centre of the insulin positive area. Hope this helps. Ard -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Open this post in threaded view
|

## Re: Edge spots to center

Open this post in threaded view
|

## Re: Edge spots to center

Open this post in threaded view
|