Welcome to Atalasoft Community Sign in | Join | Help

#5 – This one’s for the starfish – the AdjustHslCommand

Yesterday, we adjusted the colors in our image by targeting the channels.  Today, we adjust the image’s hue, saturation, and luminosity with the AdjustHslCommand.

I could practically copy yesterday’s post to today – you need a color image, the Region of Interest requires Photo Pro or Document Imaging, and you can adjust levels by percentage (-100 to 100) or a literal value (-240 to 240). 

The break down of the properties:

  1. AdjustByPercentage – Set to ‘True’, you adjust by percentages.  Set to ‘False’, you adjust by a literal value.
  2. Hue – refers to the pure spectrum colors
  3. Saturation – the difference of a color against its own brightness
  4. Luminance – the intensity of light in a given area
  5. RegionOfInterest – If you don’t set this, your entire image will be processed.

Before:

Rosebud

After (Northwest – hue: –50%, Southwest – saturation: –50%, Northeast – luminance: –50%, Southeast – all three: –50%):

adjusthsl_rose

Don’t forget to make a clone of your image if you want to keep the original AtalaImage intact (remember the in-place processing).

Tomorrow’s command is fun – we get to modify an image pixel by pixel.

Also, don’t forget about our DotImage Webinars, and you can follow me on Twitter.

Published Thursday, July 09, 2009 10:51 AM by Elaine

Comments

No Comments
Anonymous comments are disabled