2-3 zone tone correction
Posted: 2012-03-23T07:34:55-07:00
First, I do not know if this is the place for this topic but here it goes ...
using Imagemagick in windows tru CLI .
I am trying to make a script in order to correct some images based on this idea :
http://ftp2.bmtmicro.com/dlc/Multi-Zone_Adjustment.pdf
I have partially made ( rough approach ) the 2 zone adjustments but I hit the problem that the "-composite" operator "aparently" is not the last one ...
I have tried several aproaches but with no sucess mainly because have not figure out yet if it is possible to use the "-composite" as a partial parentisis .
Something like this using a batch script
The previous code is not working due to the 1st "-composite" call ...
How can I avoid using a partial "image for each combine ? ...
Does some one else have a another idea how to aproach the initial 2-3 Zone paper ?
I think the idea is to enhance the image with the maximus dinamic range for each 3 zones...
using Imagemagick in windows tru CLI .
I am trying to make a script in order to correct some images based on this idea :
http://ftp2.bmtmicro.com/dlc/Multi-Zone_Adjustment.pdf
I have partially made ( rough approach ) the 2 zone adjustments but I hit the problem that the "-composite" operator "aparently" is not the last one ...
I have tried several aproaches but with no sucess mainly because have not figure out yet if it is possible to use the "-composite" as a partial parentisis .
Something like this using a batch script
Code: Select all
convert image1.png ( -clone 0 -gamma 0.4 ) ( -clone 0 -gamma 3 ) ( -clone -colorspace gray -blur 0x5 ) ( -delete 0 -combine minus -composite ) ( -clone 2 -gamma 05 ) ( -composite -gamma 2.2 PNG:x1.png)
How can I avoid using a partial "image for each combine ? ...
Does some one else have a another idea how to aproach the initial 2-3 Zone paper ?
I think the idea is to enhance the image with the maximus dinamic range for each 3 zones...