Re: intensities on multiple channels from xyz coordinates

Posted by CARL Philippe (LBP) on
URL: http://imagej.273.s1.nabble.com/intensities-on-multiple-channels-from-xyz-coordinates-tp5023761p5023765.html

Dear Susan,
What you are requesting can be done with a simple macro like the following one fore example (which could of course be improved):
        x = 260;
        y = 141;
        run("Organ of Corti (4D stack)");
        getDimensions(width, height, channels, slices, frames)
        for(channel = 1; channel <= channels; channel++)
        {
                for(slice = 1; slice <= nSlices; slice++)
                {
                        Stack.setPosition(channel,slice,frames);
                        print("Channel : " + channel + "    Slice : " + slice + "    Intensity :" + getPixel(x, y));
                }
        }
My best 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 42 89

----- Mail original -----
De: "Travers, Susan" <[hidden email]>
À: "imagej" <[hidden email]>
Envoyé: Vendredi 24 Juillet 2020 20:23:03
Objet: intensities on multiple channels from xyz coordinates

Hello,

Does anyone know if there is a plug-in or simple way to get a readout of intensities from multiple channels from a list of x, y, and z coordinates?

Thanks for any insights.

Susan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html