• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Color to Mask node question

Explorer ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

I have a color ID mask, I'm using color to mask node to extract BnW masks from it, however the node doesn't seem to work with green color. Am I missing something? Is that an expected behavior? Couldn't find it in documentation.

Nodes and settings:

Ilia5C31_0-1690032452682.png

It works fine with red tho for example:

Ilia5C31_1-1690032530171.png

Is there a way to extract the green text? My solution for this doesn't feel like it's a good one. I've recolored it all to red and masked by luminance. Color to mask cathes edges of other shapes tho, so I've had to blur them and run through a histogram scan

Ilia5C31_2-1690032646022.png

 

 

TOPICS
General , How to

Views

397

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 23, 2023 Jul 23, 2023

Hi

Did you use the colour picker in the mask to select the exact colour, rather than entering values? If the entered colour is slightly off the values in the bitmap, it will be ignored. Using the colour picker avoids that issue. You can also use the 'mask range' slider to widen the allowed values if there is any variation across the image.

I used the colour picker below:

2023-07-23_11-33-31.jpg

 

Dave

Votes

Translate

Translate
Community Expert ,
Jul 23, 2023 Jul 23, 2023

Copy link to clipboard

Copied

Hi

Did you use the colour picker in the mask to select the exact colour, rather than entering values? If the entered colour is slightly off the values in the bitmap, it will be ignored. Using the colour picker avoids that issue. You can also use the 'mask range' slider to widen the allowed values if there is any variation across the image.

I used the colour picker below:

2023-07-23_11-33-31.jpg

 

Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 23, 2023 Jul 23, 2023

Copy link to clipboard

Copied

LATEST

I did use a color picker. 

Probably was something on my side. Now it works

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines