Author Topic: Mask generation for part of an image  (Read 2436 times)

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Mask generation for part of an image
« on: 2015 April 23 18:11:06 »
I'm working on a mosaic image that has two main galaxies in the image.  I'd like to apply slightly different HDRMultiscaleTransform iterations on the separate galaxies.  Is there a way to create a mask that just applies to one galaxy and not the other?
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: Mask generation for part of an image
« Reply #1 on: 2015 April 23 21:14:49 »
Create a mask for both galaxies, draw a preview around one of them and use the SubstituteWithPreview script.  The mask will be the source image and you'll need to create a black image the same size as your mask as the target image (just clone the mask image and use PixelMath with "0" as the RGB/K expression.)

Cheers,
Rick.

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Re: Mask generation for part of an image
« Reply #2 on: 2015 April 24 06:28:55 »
Thanks Rick, that worked great.
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M