Re: subtraction of images
Posted by
Michael Schmid on
Jun 04, 2008; 9:43am
URL: http://imagej.273.s1.nabble.com/subtraction-of-images-tp3696059p3696060.html
Hi Oliver,
The documentation of Image Calculator says:
Subtract img1 = img1-img2
Difference img1 = |img1-img2|
So "Difference" will be zero for all pixels where two images
are the same. Is this what you are looking for?
http://rsb.info.nih.gov/ij/docs/menus/process.html#calculatorBy the way, Process>Math>Subtract subtracts a constant, not an
image.
Michael
________________________________________________________________
On 4 Jun 2008, at 11:22, Oliver Bannach wrote:
> Dear imagej experts
>
> What I like to do is basically a subtraction of images (imageA
> minus imageB). But each pixel yielding a signal in imageA must be
> set to zero, if it also appears in imageB, regardless of signal
> intensities. In other words: Any colocalized pixel must be black in
> image A. The conventional subtract process (Process->Math-
> >Substract) does not work for me, since the pixel intensities in
> ImageA are only reduced by values of ImageB pixels. Can I use
> imageJ standard operations for this purpose or do I need a plugin?
> Any help is greatly appreciated. Thanky you in advance.
>
> Cheers
> Oliver