Normalize RGB *together* (rather than seperately)?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You can multiply each channel with the -evaluate or -fx options.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

The problem appears to be that -normalize is a grey scale operator
whcih works on each channel seperatally. It isn't really designed for
handling RGB images as such.

Such an operation for RGB is usally designed to not only expand the
three color channels together, but also use a 'threshold' level of some sort
which defines the 'greyscaled' level greyscale histogram of the image
to ignore.

That is it doesn't expand all the colors, but the area where most of the colors which lie on the images hisogram. Much more complicated affair.

Can anyone further expand on this problem whcih was also seen as a color tinitng problem in a previous forum thread.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Post your patch or a URL to your patch so we can review your mods. We can accomodate both methods, normalizing a channel and normalizing the image.
cra3y

Post by cra3y »

Is pflangfel's normalize patch has been applied into ImageMagick?

If it is true, which command line parameter run pflangfel's normalize ?(-normalize works in old-way method, normalizing each channels separately)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Actually it doesn't and hasn't for some time.

See notes on normalize in IM Examples..
http://www.cit.gu.edu.au/~anthony/graph ... #normalize
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply