Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a selection on a 16bit grayscale of only the darkest pixelspixels
#7
(04-17-2024, 05:57 PM)rich2005 Wrote: Sorry, I am being very dim at the moment.

You want to select pure black hex 000000 through to off-black hex 030303 so you can fill with pure black.....leaving what ?

Leaving any pixels above 030303 as they already are.  pixels with values 040404 remain at 040404 for instance

(04-17-2024, 07:58 PM)Ofnuts Wrote: Possible solution:

* Duplicate layer
* Threshold top layer so that the few very dark turn black and the rest turns white
* Set the layer to "Darken only"

The rest should not turn white but stay on whatever their current gray shade is.

(04-18-2024, 07:39 AM)rich2005 Wrote: Ok, back from the land of feeling horribly unwell.

Another thought and possibility.  Change the relationship between pixel values to give something that makes colour select easier.

Duplicate layer
You can use levels or curves but an easy one is Colors -> Auto -> Equalise
Using the Color select tool and the draw mask option, clicking in the image and dragging left / right automatically adjusts the threshold and gives a visual (magenta) for the selection.



This yet another little demo:  https://i.imgur.com/rv3KlXF.mp4 and I have attached your 16 bit clip with a selection in place , is it anything like you need ?

The problem is the threshold is not going below 15 in your example, and the app was dying when the threshold was set at 1. On the clip size Select By Color works at a threshold of 1. It is when the image is larger that it breaks. Yes I have used the Drawmask function.

Edit: It got me wondering if the extra burden of the drawmask might have hamstrung this, and turning it off, indeed Select By Color works at a threshold of 1 on the large image is working. Yippee. Lets just hope I don't have to go back to 16321x16321 anytime soon.

For anybody that's wondering this is a weight map of streams generated from a Gaea landscape to be used in UE5.4 ... Thanks for your help guys.
Reply


Messages In This Thread
RE: How to make a selection on a 16bit grayscale of only the darkest pixelspixels - by andyseabrook - 04-19-2024, 02:38 PM

Forum Jump: