Thank You for your responses. I've read about -evaluate before. I have tried editing the file used for the vignette correction and know i can change the results that way, but want to know if there is a better way. I will research evaluate again and try it out. In the mean time here is a link to the source images and batch files:
https://drive.google.com/open?id=0BzGl- ... Uc5N3JSclE
It contains some example raw files as well as my batch files for the project I am working on. You will also find a jpeg called 'goalOutput' which shows the density i am trying to achieve. As well as a jpeg called 'currentOutput' that shows what the Divide method is currently doing to the image.
I am digitizing glass plate negatives and I need there to be some kind of density or value seperation between the background and the glass. The photos will hopefully help illustrate this.
The hierarchy is as follows :
Parent Folder
-output folder :final tiff is moved here
-raw folder :raw files are moved here after edited
-source folder :incoming images from camera go here
-flatfield.tiff
-target.tif
-hotfolder.bat
-setup.bat
-flatfield.bat
-flatfield.cr2
-output.txt
-source.txt
The batch files are:
flatfield.bat : as long as there is a flatfield.cr2 file in the same folder it will create the flatfield correction tiff used in the main batch file using dcraw
setup.bat : creates the needed folders and files used by the main script ( folder 'raw', folder 'output', folder 'source', file 'output.txt', and 'source.txt')
hotfolder.bat : continuously checks for new cr2 files being dropped into the 'source' folder. Or they can just be dropped in to test the script.
The 'Source' folder needs to contain the 'target.tif' and the 'flatfield.tif' before starting the hotfolder batchfile.
*one last note. the main batch file 'hotfolder.bat' also calles ExifTool to pull the file name from the metadata of the raw file and placing it as a keyword of the output tiff.
If you have any questions please let me know. Sorry to dump a lot of info. And i really love imageMagick because of all of you. Thank you for your help. Im hoping to release the final workflow and files on here when i believe this is ready.
Thanks!
ImageMagick version 6.9.2-3 Q16 x64 2015-09-19
Windows 10