Modified ratio calculation of two ROIs within one image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Modified ratio calculation of two ROIs within one image

lgentemann
Dear list,

I am looking for a way to calculate the intensity ratio out of two ROIs within one image (see exemplary image below). As my goal will be to calculate the polarization anisotropy out of those two ROIs, I moreover don't want to calculate only a usual ratio like r=I1/I2 but rather a modified ratio like r=(I1-I2)/(I1+2*I2) with I1 and I2 being the pixel intensities of both ROIs. As I wish to do this while live recording using MicroManager, I want to avoid to just duplicate both ROIs as single images and doing the calculation afterwards.
So far, I've tried using the Ratio Plus plugin but this seems to not be able to calculate a ratio out of two ROIs instead of out of two images. Also, I couldn't find a possibilty to modify the ratio-equation the way I wish to.
I hope any of you might have some helpful tips on this issue.
Thanks!

Signal_-_Image.jpg
Reply | Threaded
Open this post in threaded view
|

Re: Modified ratio calculation of two ROIs within one image

Herbie
Noname,

this is a cross-post from the ImageJ-Forum.
<http://forum.imagej.net/t/modified-ratio-calculation-of-two-rois-within-one-image/513/2>

BTW, what "BioVoxxel" has suggested there is not what you have asked for.

Best

Herbie


:::::::::::::::::::::::::::::::::::::::
Am 14.12.15 um 14:24 schrieb lgentemann:

> Dear list,
>
> I am looking for a way to calculate the intensity ratio out of two ROIs
> within one image (see exemplary image below). As my goal will be to
> calculate the polarization anisotropy out of those two ROIs, I moreover
> don't want to calculate only a usual ratio like r=I1/I2 but rather a
> modified ratio like r=(I1-I2)/(I1+2*I2) with I1 and I2 being the pixel
> intensities of both ROIs. As I wish to do this while live recording using
> MicroManager, I want to avoid to just duplicate both ROIs as single images
> and doing the calculation afterwards.
> So far, I've tried using the Ratio Plus plugin but this seems to not be able
> to calculate a ratio out of two ROIs instead of out of two images. Also, I
> couldn't find a possibilty to modify the ratio-equation the way I wish to.
> I hope any of you might have some helpful tips on this issue.
> Thanks!
>
> Signal_-_Image.jpg
> <http://imagej.1557.x6.nabble.com/file/n5015235/Signal_-_Image.jpg>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Modified-ratio-calculation-of-two-ROIs-within-one-image-tp5015235.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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