Copy link to clipboard
Copied
Hello,
please help me. I need to isolate or extract the text on this makeup flask. Lets say I need the white text on a separated layer, red colored text on a separated layer and so on.. Using pen around every letter is not an option and not even magic wand on those little letters at the very bottom of the flask.
Anyone knows how to achieve this task?
Hi
You could try this
To select the red : Make a copy of the blue channel, invert it and use a curves adjustment to increase contrast, finally brush with a black/white brush at 50% opacity and set to overlay blending mode to sharpen the edges. Paint over the unwanted red selection from the bottle top with black. Make a selection from the channel
For the White :
Make a copy of the green channel and do the same steps as above (apart from inverting it).
Dave
Copy link to clipboard
Copied
To get the red portion of the label (ignoring the white for the moment) convert the Mode to Lab Color and distort the a channel as shown to separate the red from the tan. The increased red saturation made the next step, Select > Color Range, more efficient in separating the red from the background. No concern for the type in the red panel a the bottom. It could be a solid panel with a type dropout.
The white type: Lab Color. Zero the a and b channels to create gray, then use the L channel to produce the left image. Move into RGB. Curves to darken the area surrounding the type. I overdid that step and sacrificed the clarity. The RGB step should be redone,
Copy link to clipboard
Copied
Hi
You could try this
To select the red : Make a copy of the blue channel, invert it and use a curves adjustment to increase contrast, finally brush with a black/white brush at 50% opacity and set to overlay blending mode to sharpen the edges. Paint over the unwanted red selection from the bottle top with black. Make a selection from the channel
For the White :
Make a copy of the green channel and do the same steps as above (apart from inverting it).
Dave
Copy link to clipboard
Copied
Thank you both, very helpful advices.
But one additional question, how do you determine which channel use for individual colors? How do you know that channel blue for red text or channel geen for the white?
Thanks
Copy link to clipboard
Copied
Hi
It's a case of looking for the best contrast in the area/colour you are looking to select. Sometimes an individual channel works well, sometimes a combination of channels which is where calculations comes in.
Dave
Copy link to clipboard
Copied
Thanks man 🙂
Especially for you advice. Even though I must say it si a little bit hard to do the contrast of that small text below the white rectangle as nice as you did it.
This is my result so far:
Copy link to clipboard
Copied
When you make your initial curve (prior to using the overlay brush) make sure you have not lost any detail in the lettering (some may still be light grey on darker grey. After that switching the overlay brush (at 50% opacity) between black and white should allow to bring out the edge detail without wiping out any lettering.
Dave