Gimp-Forum.net
Inverse color selection? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Inverse color selection? (/Thread-Inverse-color-selection)



Inverse color selection? - Wobblie - 09-04-2017

Hi,

I have a bunch of dark brown colors surrounded by blue. The dark brown regions are not all uniformly dark brown. Is there a way to select a region within the blue outline (the predominantly dark brown) and color it all brown?


Thanks


RE: Inverse color selection? - Blighty - 09-04-2017

The Fuzzy Select tool should do it, with suitable Mode and Threshold.


RE: Inverse color selection? - Wobblie - 09-04-2017

Thanks works like a charm.

spoke too soon!!

No matter how high I raise the threshold. I can seem to capture everything in the object.

Or conversely, if I select the darker blue outline then the various colors get incorporated with the shapes.

Thanks.


RE: Inverse color selection? - Ofnuts - 09-04-2017

As far as I can tell (with the help of Gimp's analysis tools(*)) your brown areas are a uniform color, except on the edges (where pixels are a mix of the two adjacent colors, as usually done for anti-aliasing), and near the edges due to JPEG compression artifacts.

But the core of the areas is uniform. So, what non-brown color do you want to recolor? Because if you recolor the edge pixels, the edges will look pixellated.

(*) Namely
  • Make a fuzzy select on the area
  • Shrink the selection to get far enough from
    1. the 5x5 pixels due to your zooming in the screen shot
    2. The 8x8 "boxes" of the JPEG compression
  • Color>Info>Colorcube analysis: "Only one unique color".