merge two images using a third as selection

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

merge two images using a third as selection

perspixe
Hello
I have two 32bits images of same size (6000 pixels square). I have a third of the same size that is an 8bits with a black area not to be selected and a white area that is the selection.
I want to copy the area from one 32 bits image based on the selection onto the same position of the other 32bits image, replacing pixels.
I have been trying to do this for some time and decided to finally ask.
I am conscious this is probably a basic procedure but still has difficulties doing it.
Thank you all.
Reply | Threaded
Open this post in threaded view
|

Re: merge two images using a third as selection

Straub, Volko A. (Dr.)
The following steps should do what you want:

  * Create a selection on your 8-bit b/w binary image
    (Edit->Selection->Create Selection)
  * Switch to the 32-bit image that contains the area you want to copy
  * Restore your selection (Edit->Selection->Restore Selection)
  * Copy
  * Switch to the 32-bit image target image
  * Paste

'Paste Control ...' in the Edit menu controls the paste mode. Transfer
mode 'Copy' should do what you want.

Hope this helps,
Volko

On 19/09/2014 10:19, perspixe wrote:

> Hello
> I have two 32bits images of same size (6000 pixels square). I have a third
> of the same size that is an 8bits with a black area not to be selected and a
> white area that is the selection.
> I want to copy the area from one 32 bits image based on the selection onto
> the same position of the other 32bits image, replacing pixels.
> I have been trying to do this for some time and decided to finally ask.
> I am conscious this is probably a basic procedure but still has difficulties
> doing it.
> Thank you all.
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/merge-two-images-using-a-third-as-selection-tp5009696.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