Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Image processing with ImageCompose

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103893] Re: [mg103802] Image processing with ImageCompose
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Sun, 11 Oct 2009 08:05:31 -0400 (EDT)
  • References: <200910071100.HAA00339@smc.vnet.net>

Hi,

what you want is ImageAdd:

img1 = Import["http://sipi.usc.edu/database/misc/4.2.04.tiff";];
img2 = Import["http://sipi.usc.edu/database/misc/4.2.02.tiff";];
ImageAdjust@ImageAdd[
  ImageApply[#*{1, 0, 0} &, img1], ImageApply[#*{0, 1, 0} &, img2]]

Cheers
Patrick

On Wed, 2009-10-07 at 07:00 -0400, Hemangi Wadekar wrote:
> Hi,
> 
> 
> 
> Would someone please help me to find out how to use ImageCompose[] to compare the signals on two images.
> 
> I would like to adjust the opacity of the top image so that the signals from bottom image also show up.
> 
> If I have one image red and other green, then would the matched points should show as orange?
> 
> 
> 
> Or is there any other way in Mathematica to get the results?
> 
> Any pointers will be appreciated.
> 
> 
> 
> Thanks,
> 
> Hemangi.
> 



  • Prev by Date: update of Synergetics coordinates Notebook
  • Next by Date: Re: Convert Graphics3D to Graphics2D. Is it possible?
  • Previous by thread: Re: Image processing with ImageCompose
  • Next by thread: Re: Image processing with ImageCompose