Re: [sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-07-28 Thread Stef
Hello,

I'm currently on travel. I'll look at this next week.

Regards,
Stef

M G Berberich s...@oss.m-berberich.de a écrit :

Am Mittwoch, den 04. Juni schrieb M G Berberich:
 Hello,
 
 Am Montag, den 02. Juni schrieb Stef:
  I have fixed the issue of distorted pictures in grey mode for DPI = 
  600
  dpi. I have also fixed 600 dpi accurracy problem. All these fixes are
  available in SANE's git source tree, with genesys backend internal build
  version 2504.
 
 600 dpi lineart and gray scans work fine now. 
 Thanks a lot.

The y-Axis seems to be streched by 0.2%. While doing a full DIN A4
scan, the carriage seems to collide at the end. You can hear this in
this recording:

  https://m-berberich.de/sane/Scanner.ogg

at 10,7 s – 11 s collision at the „bottom“ of the scan.

   MfG
   bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“  | berbe...@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-07-27 Thread M G Berberich
Am Mittwoch, den 04. Juni schrieb M G Berberich:
 Hello,
 
 Am Montag, den 02. Juni schrieb Stef:
  I have fixed the issue of distorted pictures in grey mode for DPI = 600
  dpi. I have also fixed 600 dpi accurracy problem. All these fixes are
  available in SANE's git source tree, with genesys backend internal build
  version 2504.
 
 600 dpi lineart and gray scans work fine now. 
 Thanks a lot.

The y-Axis seems to be streched by 0.2%. While doing a full DIN A4
scan, the carriage seems to collide at the end. You can hear this in
this recording:

  https://m-berberich.de/sane/Scanner.ogg

at 10,7 s – 11 s collision at the „bottom“ of the scan.

MfG
bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“  | berbe...@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-06-10 Thread Stef

On 04/06/2014 22:48, M G Berberich wrote:

Hello,

Am Montag, den 02. Juni schrieb Stef:

 I have fixed the issue of distorted pictures in grey mode for DPI = 600
dpi. I have also fixed 600 dpi accurracy problem. All these fixes are
available in SANE's git source tree, with genesys backend internal build
version 2504.

600 dpi lineart and gray scans work fine now.
Thanks a lot.

Am Sonntag, den 11. Mai schrieb Andrew Kanaber:

Am Montag, den 05. Mai schrieb Stef:

M G Berberich wrote:

2400 dpi and 4800 dpi do not work at all, but never did.

2400 and 4800 dpi scans works on my LiDE 210. So I'd need some logs or
better information on what is not working for you.

For what it's worth I also see 2400dpi and 4800dpi working fine on
my LiDE 110, and producing correct (undistorted) aspect ratio.

2400 dpi and 4800 dpi still do not work at all on my LiDE 210.

MfG
bmg


Hello,

could you send me a test case where 2400 dpi scan doesn't work as a 
scanimage command ? For instance something like:

export SANE_DEBUG_GENESYS=255
export SANE_DEBUG_GENESYS_LOW=255
export SANE_DEBUG_GENESYS_GL124=255
scanimage -d genesys --clear-calibration --width 50.0 --height 50.0 
--resolution 2400 --mode Gray 2scan.log scan.pnm



changing scan parameters an color mode. Then send me the scan.log and 
scan.pnm files, and scan parameters son I can try to run the same in my 
dev environment and have a chance to reproduce it?


Regards,
Stef


--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-06-04 Thread M G Berberich
Hello,

Am Montag, den 02. Juni schrieb Stef:
 I have fixed the issue of distorted pictures in grey mode for DPI = 600
 dpi. I have also fixed 600 dpi accurracy problem. All these fixes are
 available in SANE's git source tree, with genesys backend internal build
 version 2504.

600 dpi lineart and gray scans work fine now. 
Thanks a lot.

Am Sonntag, den 11. Mai schrieb Andrew Kanaber:
  Am Montag, den 05. Mai schrieb Stef:
M G Berberich wrote:
 2400 dpi and 4800 dpi do not work at all, but never did.
   2400 and 4800 dpi scans works on my LiDE 210. So I'd need some logs or
   better information on what is not working for you.
 
 For what it's worth I also see 2400dpi and 4800dpi working fine on
 my LiDE 110, and producing correct (undistorted) aspect ratio.

2400 dpi and 4800 dpi still do not work at all on my LiDE 210. 

MfG
bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“  | berbe...@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-06-01 Thread Stef

Hello,

I have fixed the issue of distorted pictures in grey mode for DPI 
= 600 dpi. I have also fixed 600 dpi accurracy problem. All these 
fixes are available in SANE's git source tree, with genesys backend 
internal build version 2504.


Regards,
Stef

--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-05-11 Thread Andrew Kanaber
 Am Montag, den 05. Mai schrieb Stef:
   M G Berberich wrote:
2400 dpi and 4800 dpi do not work at all, but never did.
  2400 and 4800 dpi scans works on my LiDE 210. So I'd need some logs or
  better information on what is not working for you.

For what it's worth I also see 2400dpi and 4800dpi working fine on my LiDE 110,
and producing correct (undistorted) aspect ratio.

Andrew

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-05-06 Thread M G Berberich
Hello,

Am Montag, den 05. Mai schrieb Stef:
 On 25/04/2014 02:55, Andrew Kanaber wrote:
 I hit the same problem with a Canon LiDE 110. I tried measuring the
 distortion by scanning a sheet of graph paper in various modes.
 
 With sane 1.0.24 in 600dpi lineart and gray modes the scan is
 stretched vertically by about 30%. Color mode scans are actually
 also stretched at 600dpi, but much less noticeably by about 2%. The
 stretching is still visible though if you compare the scanned
 images side-by-side. With version 1.0.22 the lineart and gray scans
 are correct at 600dpi but the 2%-ish stretching is still present in
 600dpi color mode.
 
 In case it helps I've put some of the scans up at
 http://www.chiark.greenend.org.uk/~akanaber/lide110/
 
 Let me know if there's something else I can do that might help,
 
 Andrew
 
 M G Berberich wrote:
 Hello,
 
 Canon LiDE 210 with sane-backends 1.0.24 (libsane:amd64 1.0.24-1.1+b1
 from debian testing) has problems with 600 dpi gray and lineart.
 
 In 600 dpi gray and lineart the scan is partial and aspect-ratio is
 not correct. Vertically only about ? of the area is scanned and then
 scaled to the area, horizontally all is fine. (So probably the driver
 sets the wrong scanline-skip (to small)).
 
 This worked in older versions, at least 1.0.22.
 
 600 dpi Color-scanning works fine, so do preview, 300dpi and 1200 dpi
 in all modes.
 
 2400 dpi and 4800 dpi do not work at all, but never did.
 
 MfG
 bmg

 Hello,
 
 the vertical resolution is given by the motor speed which is eventually
 an int. So rounding errors may give ~2% distortion:
 target=((exposure * dpi) / base_dpi)step_type;
 Maybe by decreasing or increasing slightly exposure time rounding errors
 could be mitigated, but changing exposure may raise other problems. If the
 windows driver can do it, I'll manage to find something.
 
 I'll check how the gray scan beahves. The change between 1.022 and
 1.0.24 is to use the LINESEL function when we try to scan below the minimal
 scanning speed of the motor. This should affect scans below 600 dpi, but not
 600 dpi which is the minimal scanning speed.
 
 2400 and 4800 dpi scans works on my LiDE 210. So I'd need some logs or
 better information on what is not working for you.

Made some logs and images. Please see http://www.m-berberich.de/sane/
Details are in Readme.txt

 I'm currently working on shading calibration problems for gl646 based
 scanners (HP2400 and HP3670). I'll look into this issues when I have
 finished it. If you have time for it, you can open a bug in the bug tracker
 (https://alioth.debian.org/tracker/?group_id=30186) and assigned it to me.
 
 Regards,
 Stef


MfG
bmg

-- 
?Des is v?llig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!?  | berberic at fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic



[sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-05-05 Thread Stef
On 25/04/2014 02:55, Andrew Kanaber wrote:
 I hit the same problem with a Canon LiDE 110. I tried measuring the distortion
 by scanning a sheet of graph paper in various modes.

 With sane 1.0.24 in 600dpi lineart and gray modes the scan is stretched
 vertically by about 30%. Color mode scans are actually also stretched at
 600dpi, but much less noticeably by about 2%. The stretching is still visible
 though if you compare the scanned images side-by-side. With version 1.0.22 the
 lineart and gray scans are correct at 600dpi but the 2%-ish stretching is
 still present in 600dpi color mode.

 In case it helps I've put some of the scans up at
 http://www.chiark.greenend.org.uk/~akanaber/lide110/

 Let me know if there's something else I can do that might help,

 Andrew

 M G Berberich wrote:
 Hello,

 Canon LiDE 210 with sane-backends 1.0.24 (libsane:amd64 1.0.24-1.1+b1
 from debian testing) has problems with 600 dpi gray and lineart.

 In 600 dpi gray and lineart the scan is partial and aspect-ratio is
 not correct. Vertically only about ? of the area is scanned and then
 scaled to the area, horizontally all is fine. (So probably the driver
 sets the wrong scanline-skip (to small)).

 This worked in older versions, at least 1.0.22.

 600 dpi Color-scanning works fine, so do preview, 300dpi and 1200 dpi
 in all modes.

 2400 dpi and 4800 dpi do not work at all, but never did.

  MfG
  bmg
 Hello,

 the vertical resolution is given by the motor speed which is 
eventually an int. So rounding errors may give ~2% distortion:
 target=((exposure * dpi) / base_dpi)step_type;
 Maybe by decreasing or increasing slightly exposure time rounding 
errors could be mitigated, but changing exposure may raise other 
problems. If the windows driver can do it, I'll manage to find something.

 I'll check how the gray scan beahves. The change between 1.022 and 
1.0.24 is to use the LINESEL function when we try to scan below the 
minimal scanning speed of the motor. This should affect scans below 600 
dpi, but not 600 dpi which is the minimal scanning speed.

 2400 and 4800 dpi scans works on my LiDE 210. So I'd need some logs 
or better information on what is not working for you.

 I'm currently working on shading calibration problems for gl646 
based scanners (HP2400 and HP3670). I'll look into this issues when I 
have finished it. If you have time for it, you can open a bug in the bug 
tracker (https://alioth.debian.org/tracker/?group_id=30186) and assigned 
it to me.

Regards,
 Stef




[sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-04-25 Thread Andrew Kanaber
I hit the same problem with a Canon LiDE 110. I tried measuring the distortion
by scanning a sheet of graph paper in various modes. 

With sane 1.0.24 in 600dpi lineart and gray modes the scan is stretched
vertically by about 30%. Color mode scans are actually also stretched at
600dpi, but much less noticeably by about 2%. The stretching is still visible
though if you compare the scanned images side-by-side. With version 1.0.22 the
lineart and gray scans are correct at 600dpi but the 2%-ish stretching is
still present in 600dpi color mode.

In case it helps I've put some of the scans up at
http://www.chiark.greenend.org.uk/~akanaber/lide110/

Let me know if there's something else I can do that might help,

Andrew

M G Berberich wrote:
 Hello,
 
 Canon LiDE 210 with sane-backends 1.0.24 (libsane:amd64 1.0.24-1.1+b1
 from debian testing) has problems with 600 dpi gray and lineart.
 
 In 600 dpi gray and lineart the scan is partial and aspect-ratio is
 not correct. Vertically only about ? of the area is scanned and then
 scaled to the area, horizontally all is fine. (So probably the driver
 sets the wrong scanline-skip (to small)).
 
 This worked in older versions, at least 1.0.22.
 
 600 dpi Color-scanning works fine, so do preview, 300dpi and 1200 dpi
 in all modes.
 
 2400 dpi and 4800 dpi do not work at all, but never did.
 
   MfG
   bmg



[sane-devel] genesys Canon Lide 210 aspect-ratio-problem at 600 dpi

2014-04-19 Thread M G Berberich
Hello,

Canon LiDE 210 with sane-backends 1.0.24 (libsane:amd64 1.0.24-1.1+b1
from debian testing) has problems with 600 dpi gray and lineart.

In 600 dpi gray and lineart the scan is partial and aspect-ratio is
not correct. Vertically only about ? of the area is scanned and then
scaled to the area, horizontally all is fine. (So probably the driver
sets the wrong scanline-skip (to small)).

This worked in older versions, at least 1.0.22.

600 dpi Color-scanning works fine, so do preview, 300dpi and 1200 dpi
in all modes.

2400 dpi and 4800 dpi do not work at all, but never did.

MfG
bmg

-- 
?Des is v?llig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!?  | berberic at fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic