[argyllcms] Re: Extract deep black

  • From: David Lewis <david@xxxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 13 May 2020 12:50:16 -0500

Thanks Eric!
Yes a mask is a great description. I have been working on doing this with
IM but the trouble is that the original images are full color RGB or
similar and everything I try ends up pulling some neutral density out of
the color. I only want the real black.

David Lewis



On Wed, May 13, 2020 at 12:00 PM Eric Brown <eric.n.brown@xxxxxxxxx> wrote:

Is the goal to create an image mask of the darker portions of the
images (such as thresholding and pulling out those pixels that are
below a certain cutoff in intensity) or am I misunderstanding the
task?

If you trust the source of the images (that they don't contain
malware), I'm confident that there could be a way to do what you want
with ImageMagick (https://imagemagick.org/index.php). It can take a
little bit of time to find the right combination of commands and
parameters but once you do its possible to run the same command on
one, dozens, or thousands of images of varying formats.

Eric

On Wed, May 13, 2020 at 11:29 AM David Lewis <david@xxxxxxxxxxxxxx> wrote:

Hi,
I need to process a large range of image types and extract just the
pixels of the image that represent the deep black of the image into a new
'grayscale image'.

Most methods I have tried end up affecting the neutral density of the
color pixels and I want to not affect them. I just want to extract pixels
that are in the dark shadow range.

Is this something that Argyll might help with?

Thanks!
David Lewis



Other related posts: