![]() |
Compensating scanner distortion - looking for volunteers with a scanner - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: Compensating scanner distortion - looking for volunteers with a scanner (/Thread-Compensating-scanner-distortion-looking-for-volunteers-with-a-scanner) Pages:
1
2
|
RE: Compensating scanner distortion - looking for volunteers with a scanner - Ofnuts - 03-04-2022 (03-04-2022, 01:34 PM)PixLab Wrote:(03-04-2022, 11:54 AM)Krikor Wrote:(03-01-2022, 08:24 PM)Ofnuts Wrote: It's not very hard either. You just have to make a careful scan and create a path with anchors at the right places. My examples are crops of portrait orientation images. RE: Compensating scanner distortion - looking for volunteers with a scanner - Krikor - 03-04-2022 (03-04-2022, 03:50 PM)Ofnuts Wrote:In the previous attempt, the image skewed during printing. I scanned the image without noticing this deviation (0.16º). So I redid the process again, but this time I scanned with a resolution of 600ppi. Generating an output of : Scanner map 600PPI (5, 0.513, 0.551) ![]() ![]() ![]() But I still don't quite understand what was done or how to take advantage of it. I guess I'll have to read the manual again... RE: Compensating scanner distortion - looking for volunteers with a scanner - Ofnuts - 03-05-2022 (03-04-2022, 07:54 PM)Krikor Wrote:(03-04-2022, 03:50 PM)Ofnuts Wrote:In the previous attempt, the image skewed during printing. I scanned the image without noticing this deviation (0.16º). Forgetting the script for a while so if you do:
You never get more that 5px of distance between the two images? If so, you scanner is good enough and doesn't need the fix. Otherwise, the vertical bands in your displace map aren't expected, the resulting map should look like a uniform gradient (even if looking up close it is a sequence of gradients): [attachment=7601]
Your anchors could be off by one pixel but with a max delta of 5px this is relatively important.
PS: What paper did you scan? The numbers in your displace map says it is based on a 14mm grid?
RE: Compensating scanner distortion - looking for volunteers with a scanner - Krikor - 03-05-2022 (03-05-2022, 09:18 AM)Ofnuts Wrote: Forgetting the script for a while so if you do: I don't know if I managed to be precise in centering the anchors on the horizontal path. I have doubts about how to actually find the value for the offset parameter, I hope I did it correctly.
So I followed (or I think I followed) the instructions in ofn-scanner-fix.html RE: Compensating scanner distortion - looking for volunteers with a scanner - Ofnuts - 03-05-2022 (03-05-2022, 12:40 PM)Krikor Wrote:(03-05-2022, 09:18 AM)Ofnuts Wrote: Forgetting the script for a while so if you do: Not too good, because you are adding the accuracy of your printer to the mix (not very trustable for end-user printers, especially inkjet ones). When you use off-the-shelf ruled paper the accuracy is the accuracy of the rules pattern which is normally very good. The offset is the distance from your first anchor to the edge of the paper (which should normally be the edge of the scan, since to ensure verticality you have to tuck the side of the sheet against the side of the glass). But if you scanned a 21cm sheet with rules 14mm apart, the first rule in on the edge so offset should be 0? Or is that some printer margin? RE: Compensating scanner distortion - looking for volunteers with a scanner - Krikor - 03-07-2022 (03-05-2022, 02:18 PM)Ofnuts Wrote: Not too good, because you are adding the accuracy of your printer to the mix (not very trustable for end-user printers, especially inkjet ones). When you use off-the-shelf ruled paper the accuracy is the accuracy of the rules pattern which is normally very good. The image I generated with the Gimp when printed had margins applied by the printer, even though I set the margins to zero. The graph paper I have isn't cut properly, so there's no way to make a perfect fit parallel to the edge of the scanner. I could try with a small notebook paper, inverting the sheet 90º while scanning. RE: Compensating scanner distortion - looking for volunteers with a scanner - Ofnuts - 03-07-2022 (03-07-2022, 07:45 PM)Krikor Wrote:(03-05-2022, 02:18 PM)Ofnuts Wrote: Not too good, because you are adding the accuracy of your printer to the mix (not very trustable for end-user printers, especially inkjet ones). When you use off-the-shelf ruled paper the accuracy is the accuracy of the rules pattern which is normally very good. The problem with printers (especially house inkjet ones) is that you can have a small angle, so your vertical lines aren't. If you create a correction from that it will add angle in the opposite direction. |