Thanks for posting the entire project... That helped.
Your old question about the SetPreviewScale not seeming to help much is because I took that out early on. (While it would be a worthwhile feature, I was having troubles keeping the coordinates in sync).
I use the 64 bit version.
The negative coordinates are an issue.. The issue was that the Left perspectives were missing StartPage entries. Without that start page it will do the perspective on all of the pages that match the last Page setting. so that first left perspective correction would be applied to all left pages, and then it would apply a another perspective on top of that. I redid the left perspective corrections for you. It would also account for the slow rendering.
I think I misunderstood a previous question of yours on rotations... If you are doing small adjustments to the rotations, its easier to just do it as part of the perspective correction. But to rotate the page to the right direction, is easier to use a rotate. In cases where you do a rotate before perspectives, it works best to use 90, -90, or 180 degrees.
If you use barcodes, its a good idea to right click on the Barcodes line in the config, and chooose "Expand barcode operations" That will let you see the config that the barcodes is doing.
When starting with a new book, choose the pages you want to do the perspective corrections on (click on the 4 corners, then right click and choose perspective).
Once you've finished with the perspective calculations, click the Perspective preview button.
Next, do the crops.
Once you've got the crops the way you want, press the Crops and Filters checkbox, and then work on the filters.
I did notice that if a crop is done the filter dialog doesn't show the entire cropped image. I'll try to fix that.
Try using this config as-is and see if you still have the issue with using the gray filter.
Code: Select all
# Book Scan Wizard Script
# http://bookscanwizard.sourceforge.net
# C:\gozgep2
# *** Load Files ***
# the source directory
LoadImages = source
# The Destination directory
SetDestination = tiff
# *** Page Rotations ***
Pages = left
Rotate = -90
Pages = right
Rotate = 90
# Use barcodes.csv to define operations
# Barcodes =
Pages = all
SetSourceDPI = 592 # 00a L
Pages = all
RemovePages = 00a
# End barcode configured operations
# *** Remove Pages ***
# *** Perspective ***
Pages = left
Perspective = 1343,1005, 3028,1018, 3015,3449, 1339,3445
StartPage = 14
Perspective = 1024,746, 3160,763, 3133,3923, 1041,3918
StartPage = 24
Perspective = 1422,1151, 3111,1147, 3115,3582, 1447,3603
StartPage = 30
Perspective = 1464,1084, 3015,1043, 3073,3574, 1505,3603
StartPage = 34
Perspective = 1414,1105, 3073,1097, 3115,3674, 1439,3703
StartPage = 36
Perspective = 1535,1243, 3023,1218, 3053,3561, 1555,3574
StartPage = 42
Perspective = 1234,1314, 2907,1343, 2898,3670, 1222,3653
Pages = right
Perspective = 96,227, 2338,227, 2310,3439, 74,3422
StartPage = 03
Perspective = 221,658, 1924,647, 1924,3178, 221,3189
StartPage = 07
Perspective = 136,392, 2264,409, 2247,3632, 108,3592
StartPage = 21
Perspective = 176,471, 2310,465, 2275,3666, 113,3643
StartPage = 33
Perspective = 142,465, 2264,460, 2241,3688, 113,3643
# *** Crops ***
Pages = right
Crop = 175,318, 2229,3331
StartPage = 01
Crop = 164,482, 2218,3495
StartPage = 21
Crop = 216,527, 2270,3540
Pages = left
Crop = 1017,753, 3070,3763
StartPage = 22
Crop = 1090,833, 3143,3842
# *** Filters ***
Pages all
Levels = 20.4,73.3, 19.6,70.6, 10.2,54.5
Color = gray
MedianFilter = 5
Color = bw 55
# *** Scaling ***
Pages = all
# Rescale the image to match the final DPI
ScaleToDPI=300
# This will ensure the left and right pages are exactly the same size.
ScaleToFirst=
# *** Output ***
Pages=all
SaveImages = TIFF NONE