I am trying to use the colour mask script to treat blue halos around stars in a narrow band image of NGC 6188. I've used this technique successfully before but I have noticed something in the process that I don't understand.
For this image I am trying to be quite specific about the hues that I want to modify to remove the blue halo. I have measured them with the readout probe which shows the blue halo to have a hue of around the 200 - 220 mark. When I select the default 'Blue' setting in the colour mask script (Hue range of 180-300) it correctly selects the blue halos. However, if I try to be more specific and select a halo range of 200-220 the script is not picking up the blue areas. I have tested this using a number of settings and find that I need to set the tool to a hue range of 260-300 to select the blue halos properly.
The attached image is a snapshot of the PI desktop which demonstrates the output of my testing. I have a preview of a small area of the image showing a star with the classic blue halo. The blue area around the star is in the hue range of 200-210. The orange area surrounding the star is in the hue range of 16-20. I then show a number of outputs from the CM tool with the hue settings. The other CM script tool settings that I used were: Chrominance Mask; Mask Strength 1.0; Mask blur: 0.
My assumption is that to pick up the specific blues that I am after I should be setting the tool to a hue range of 200-210 but I seem to need to set it to 260-300 to capture this. I can work around this for now but I am curious to know the answer as it would help me to improve my understanding of the operation of the script.
Links to images and attachments follow.