Analyze/Tools/Save XY Coordinates...
It would be nice if this opened a ResultsTable instead of / in addition to
saving to a .csv file.
Fred
On Sun, October 27, 2024 4:38 am, CARL Philippe (LBP) wrote:
> Hi Patricia,
> The following macro code will do the job :
> Roi.getContainedPoints(xpoints, ypoints)
> for(i = 0; i < xpoints.length; i++)
> {
> setResult("x" , i, xpoints[i]);
> setResult("y" , i, ypoints[i]);
> setResult("intensity" , i, getPixel(xpoints[i],
> ypoints[i]));
> }
> updateResults();
> Have a nice end of weekend.
> Kindest regards,
> Philippe
>
> Philippe CARL
> Laboratoire de Bioimagerie et Pathologies
> UMR 7021 CNRS - Université de Strasbourg
> Faculté de Pharmacie
> 74 route du Rhin
> 67401 ILLKIRCH
> Tel : +33(0)3 68 85 41 41
>
> ----- Mail original -----
> De: "patricia obeid" <[email protected]>
> Ã: "imagej" <[email protected]>
> Envoyé: Dimanche 27 Octobre 2024 09:38:26
> Objet: Intensity of each pixel
>
> Hello,
> I would like to know if it is possible to obtain a table with the
> intensity of each pixel in a ROI.
> If so, how can I do this?
> Thank you for your help.
> Best regards
> Patricia
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html