Re: [sane-devel] Reflecta DigiDia 5000 not found
Hello, I created medium profiles in xsane to get the colours right for various negative films (on my Reflecta 10T). I guess the same should work for slide film too. The process is a bit fickle and takes a while, but once the profile is created it works without any problems: http://www.xsane.org/doc/sane-xsane-medium-definition-doc.html I didn't bother creating a scanner profile because, at least for negatives, the corrections are going to be different for every brand/line of film anyway. Best, Julian On Wed, 27.12.17 11:28, Klaus Kaempf wrote: Hi Reinhard, * Reinhard Kotucha [Dec 23. 2017 23:52]: It works now but the scanner is not detected unless 'pieusb' is added to dll.conf . yes, that's to be expected. > Please add 'GROUP="lp",' to this list to give you full access to the > usb device. Done. Can now run it as a mortal user. :-) The next problem to solve is to find a suitable ICM file for this scanner. Colors are still too dark and incorrect Happened to all of my slides too. I used gimp to normalize colors and had spectacular results. I don't know if SANE has any color-correction build in. Another thing I have not found out yet is how to make use the slide transport supported by the scanner. When I set to 0x01, xsane complains about IO-errors[1]. Hmm, 0x01 is the right value. Send me the full log via private mail. Klaus -- 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] Film scanning and infrared image cleaning
I take back my comments about the dust removal being overeager. On closer inspection these really are all specks of dust, just extremely tiny ones and, in my case, the blur induced by the removal is actually more visible than the dust that caused it. On Sun, 13.08.17 19:12, Julian Hauser wrote: Hello Klaus, On Fri, 11.08.17 09:05, Klaus Kaempf wrote: Hi Julian, * Julian Hauser [Aug 10. 2017 22:58]: Hello everyone, I'm using the Reflecta 10T scanner using the pieusb backend. It mostly works very well, thanks! One thing I have noticed though is that if I enable the infrared scratch and dust removal option "Clean image" in Xsane, the detected defects get painted over with a blurred dot. On film negatives, which have a grainy structure, the results are clearly visible. I've uploaded an example here: https://mis.julianhauser.com/index.php/s/MhSuFltcm0CLIMs. It would be very nice if the corrections repaired the result taking into account the structure of the neighbouring areas (as for example the "healing tool" in GIMP does). Does the "overpainting" happen in the firmware of the scanner or is that part of sane? it's part of sane, resp. the pieusb backend. See https://anonscm.debian.org/cgit/sane/sane-backends.git/tree/backend/pieusb_specific.c#n1321 where various sane_ir_* functions are called. I've had a look at the functions that are responsible for the dust removal but I have to admit I don't even understand the basic approach taken. Is the author of those functions on the list? It would be nice if someone could explain me roughly what is happening and where a change would have to be made. I've also noticed that the scratch and dust removal seems to be a bit overeager. If you look at the example image I linked to in the first email you can see that the scan is littered with blurred circles. I scanned some photos with scratch removal on and then off, and it is clear that most of the corrections aren't of anything visible to the naked eye. Two more things I've noticed with the scanner is that images always come out reversed left-to-right All images (color, greyscale, b&w) ? In all resolutions ? All the ones I could test are reversed (but that is only various resolutions in colour mode currently). Given that the same happened with the Reflecta CrystalScan 7200 that I had earlier, I would say it's a general issue. and greyscale scans make xsane crash. These things don't bother me much as they are easily fixed with a script after scanning. I can send crash logs if someone is interested in debugging this however. Please do ! ;-) Here's the log of an attempt to scan with xsane using greyscale: https://pastebin.com/upMTt9HJ. I've realised that lineart and halftone do not work either. Thanks, Julian -- 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] Film scanning and infrared image cleaning
Hello Klaus, On Fri, 11.08.17 09:05, Klaus Kaempf wrote: Hi Julian, * Julian Hauser [Aug 10. 2017 22:58]: > Hello everyone, > I'm using the Reflecta 10T scanner using the pieusb backend. It mostly works very well, thanks! One thing I have noticed though is that if I enable the infrared scratch and dust removal option "Clean image" in Xsane, the detected defects get painted over with a blurred dot. On film negatives, which have a grainy structure, the results are clearly visible. I've uploaded an example here: https://mis.julianhauser.com/index.php/s/MhSuFltcm0CLIMs. It would be very nice if the corrections repaired the result taking into account the structure of the neighbouring areas (as for example the "healing tool" in GIMP does). > Does the "overpainting" happen in the firmware of the scanner or is > that part of sane? it's part of sane, resp. the pieusb backend. See https://anonscm.debian.org/cgit/sane/sane-backends.git/tree/backend/pieusb_specific.c#n1321 where various sane_ir_* functions are called. I've had a look at the functions that are responsible for the dust removal but I have to admit I don't even understand the basic approach taken. Is the author of those functions on the list? It would be nice if someone could explain me roughly what is happening and where a change would have to be made. I've also noticed that the scratch and dust removal seems to be a bit overeager. If you look at the example image I linked to in the first email you can see that the scan is littered with blurred circles. I scanned some photos with scratch removal on and then off, and it is clear that most of the corrections aren't of anything visible to the naked eye. > Two more things I've noticed with the scanner is that images always > come out reversed left-to-right All images (color, greyscale, b&w) ? In all resolutions ? All the ones I could test are reversed (but that is only various resolutions in colour mode currently). Given that the same happened with the Reflecta CrystalScan 7200 that I had earlier, I would say it's a general issue. > and greyscale scans make xsane crash. These things don't bother me much > as they are easily fixed with a script after scanning. I can send crash > logs if someone is interested in debugging this however. Please do ! ;-) Here's the log of an attempt to scan with xsane using greyscale: https://pastebin.com/upMTt9HJ. I've realised that lineart and halftone do not work either. Thanks, Julian -- 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] Film scanning and infrared image cleaning
Hello everyone, I'm using the Reflecta 10T scanner using the pieusb backend. It mostly works very well, thanks! One thing I have noticed though is that if I enable the infrared scratch and dust removal option "Clean image" in Xsane, the detected defects get painted over with a blurred dot. On film negatives, which have a grainy structure, the results are clearly visible. I've uploaded an example here: https://mis.julianhauser.com/index.php/s/MhSuFltcm0CLIMs. It would be very nice if the corrections repaired the result taking into account the structure of the neighbouring areas (as for example the "healing tool" in GIMP does). Does the "overpainting" happen in the firmware of the scanner or is that part of sane? If it's part of sane, how is it done? Unfortunately I'm not really a programmer, but I'd very interested in trying to fix this (if it's possible). Two more things I've noticed with the scanner is that images always come out reversed left-to-right and greyscale scans make xsane crash. These things don't bother me much as they are easily fixed with a script after scanning. I can send crash logs if someone is interested in debugging this however. Cheers, Julian -- 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] Reflecta RPS 7200
Hey Klaus, Would you be interested in trying to get the scanner to work? Let me know as I will otherwise get rid of my RPS 7200 and find something that is supported by sane. Best, Julian On Thu, 01.06.17 16:50, Julian Hauser wrote: On Thu, 01.06.17 16:59, Klaus Kaempf wrote: * Julian Hauser [Jun 01. 2017 11:20]: It does seem to fail at a different point now. Yes, indeed If I look at the logs there does seem to be (though my interpretation might be totally off) some calibration info coming from the scanner (starting at around line 8034), but it then fails just after at "sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause of this? Your scanner needs a (slightly?) different protocol than the other (pieusb-based) Reflecta scanners. Getting this right is a larger operation, involving VirtualBox, Windows (with the original Reflecta driver), USB port forwarding, and a lot of USB debugging. All doable, but might need *a lot* of time. I would be up for doing the testing etc., if you're interested in trying to get this scanner to work. I can set up VirtualBox with the CyberView software, which shouldn't be too hard. I've never done USB debugging but if you point me in the right direction, I should be able to do it. Klaus -- 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] Reflecta RPS 7200
On Thu, 01.06.17 16:59, Klaus Kaempf wrote: * Julian Hauser [Jun 01. 2017 11:20]: It does seem to fail at a different point now. Yes, indeed If I look at the logs there does seem to be (though my interpretation might be totally off) some calibration info coming from the scanner (starting at around line 8034), but it then fails just after at "sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause of this? Your scanner needs a (slightly?) different protocol than the other (pieusb-based) Reflecta scanners. Getting this right is a larger operation, involving VirtualBox, Windows (with the original Reflecta driver), USB port forwarding, and a lot of USB debugging. All doable, but might need *a lot* of time. I would be up for doing the testing etc., if you're interested in trying to get this scanner to work. I can set up VirtualBox with the CyberView software, which shouldn't be too hard. I've never done USB debugging but if you point me in the right direction, I should be able to do it. Klaus -- 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] Reflecta RPS 7200
On Thu, 01.06.17 08:48, Klaus Kaempf wrote: * Julian Hauser [May 31. 2017 16:12]: On Wed, 31.05.17 15:23, Klaus Kaempf wrote: > You're trying to scan without calibration and the scanner complains with > "Calibration disable not granted". Try with "xsane". Do you mean the calibration the scanner does when I turn it on? I (thought I) waited until that was done (I always wait until after the calibration noises end). Or is there some calibration that I actively need to do? There's a calibration option with values "default values", "from internal test", "from preview", and "from options". This should be set to "from internal test". I don't have a scanner at hand and xsane refuses to start without a scanner. So I can't tell you exactly where in xsane this setting is hidden. I think those were the settings I used. I just tried again, deleting my xsane settings before to start with the defaults and "from internal test". Here's the output: https://pastebin.com/gnaBff6z. It does seem to fail at a different point now. If I look at the logs there does seem to be (though my interpretation might be totally off) some calibration info coming from the scanner (starting at around line 8034), but it then fails just after at "sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause of this? Thanks a lot for your help! Klaus signature.asc Description: PGP signature -- 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] Reflecta RPS 7200
On Wed, 31.05.17 15:23, Klaus Kaempf wrote: * Julian Hauser [May 31. 2017 15:15]: On Wed, 31.05.17 14:39, Klaus Kaempf wrote: > * Julian Hauser [May 31. 2017 12:01]: > > Great, that did it! The model number is 0x31. I've tried doing a test > > scan but am getting an I/O error. > > Here's the log: https://pastebin.com/rr8j0gaN I've also tried scanning with pieusb debug on, here's the result: https://pastebin.com/UrkjBX7j You need to run through the scanner calibration once after every power-up of the scanner. You're trying to scan without calibration and the scanner complains with "Calibration disable not granted". Try with "xsane". Do you mean the calibration the scanner does when I turn it on? I (thought I) waited until that was done (I always wait until after the calibration noises end). Or is there some calibration that I actively need to do? I tried with xsane, it seems to give me the same error: https://pastebin.com/RqTiiX9p Klaus -- 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] Reflecta RPS 7200
On Wed, 31.05.17 14:39, Klaus Kaempf wrote: * Julian Hauser [May 31. 2017 12:01]: Great, that did it! The model number is 0x31. I've tried doing a test scan but am getting an I/O error. Here's the log: https://pastebin.com/rr8j0gaN I've also tried scanning with pieusb debug on, here's the result: https://pastebin.com/UrkjBX7j Here's the output of "SANE_DEBUG_PIEUSB=14 scanimage": https://pastebin.com/YLD4VuRb Ugh: scanimage: output is not a file, exiting I think that's because I've used scanimage without any options. But I only used the command to get the model number. If I do the same with "scanimage -L" then it works. The real problem is when I try to scan something (see above). Looks like you're using scanimage the wrong way, The relevant line in pieusb.conf is: usb 0x05e3 0x0144 0x31 0x00 Perfect, thanks for testing ! Can I attach files (logs) on this list? Rather not. Logs tend to get long and waste a lot of bandwidth. Pastebin is wonderful here. Klaus -- 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] Reflecta RPS 7200
Great, that did it! The model number is 0x31. I've tried doing a test scan but am getting an I/O error. Here's the log: https://pastebin.com/rr8j0gaN Here's the output of "SANE_DEBUG_PIEUSB=14 scanimage": https://pastebin.com/YLD4VuRb The relevant line in pieusb.conf is: usb 0x05e3 0x0144 0x31 0x00 Can I attach files (logs) on this list? Best, Julian On Wed, 31.05.17 11:01, Klaus Kaempf wrote: * Julian Hauser [May 31. 2017 10:51]: Hello, thanks for the help! :) I don't seem to get any output of the sort you describe: Ah, sorry, this model number isn't listed at all yet. Please start with a zero model number in pieusb.conf: usb 0x05e3 0x0144 0x00 0x00 and try again. Klaus -- 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] Reflecta RPS 7200
Hello, thanks for the help! :) I don't seem to get any output of the sort you describe: % SANE_DEBUG_PIEUSB=14 scanimage [sanei_debug] Setting debug level of pieusb to 14. [pieusb] sane_init() build 1 [pieusb] sane_init() config file parsing usb 0x05e3 0x0145 0x47 0x00 [pieusb] sane_init() config file lists device 05e3 0145 47 00 [pieusb] sane_init() adding device 05e3 0145 47 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 003: 05e3 0145 30 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 003: 05e3 0145 36 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 003: 05e3 0142 3a 01 [pieusb] sanei_pieusb_supported_device_list_add(): current 003: 00 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0145 30 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0145 36 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0142 3a 01 [pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0145 47 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 003: 00 00 [pieusb] sane_init() config file parsing usb 0x05e3 0x0145 0x2e 0x00 [pieusb] sane_init() config file lists device 05e3 0145 2e 00 [pieusb] sane_init() adding device 05e3 0145 2e 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0145 30 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0145 36 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0142 3a 01 [pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0145 47 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 004: 00 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 30 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 36 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0142 3a 01 [pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 47 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 2e 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 004: 00 00 [pieusb] sane_init() config file parsing usb 0x05e3 0x0142 0x2f 0x00 [pieusb] sane_init() config file lists device 05e3 0142 2f 00 [pieusb] sane_init() adding device 05e3 0142 2f 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 30 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 36 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0142 3a 01 [pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 47 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 2e 00 [pieusb] sanei_pieusb_supported_device_list_add(): current 005: 00 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 30 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 36 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0142 3a 01 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 47 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 2e 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0142 2f 00 [pieusb] sanei_pieusb_supported_device_list_add() add: 005: 00 00 [pieusb] sane_init() looking for scanner 05e3 0145 model 30, flags 00 [pieusb] sane_init() looking for scanner 05e3 0145 model 36, flags 00 [pieusb] sane_init() looking for scanner 05e3 0142 model 3a, flags 01 [pieusb] sane_init() looking for scanner 05e3 0145 model 47, flags 00 [pieusb] sane_init() looking for scanner 05e3 0145 model 2e, flags 00 [pieusb] sane_init() looking for scanner 05e3 0142 model 2f, flags 00 [pieusb] sane_get_devices scanimage: no SANE devices found [pieusb] sane_exit() On Wed, 31.05.17 10:29, Klaus Kaempf wrote: * Julian Hauser [May 31. 2017 00:06]: Hello, I'm trying the get the Reflecta RPS 7200 to work with pieusb, so far with little success. I can find the scanner with sane-find-scanner: - "found USB scanner (vendor=0x05e3, product=0x0144) at libusb:001:014" Good, you already have two of the three required values. I want to add a relevant line to pieusb.conf, but I require the model number for this as well, which I do not know. scanimage -L in debug mode does not find the scanner nor show me any info about it (it only lists the scanners enabled by default and the ones listed in the config file). Run scanimage with SANE_DEBUG_PIEUSB=14 scanimage Do you know how I could find the model number? Look for this line in the output: [pieusb] INQUIRY: followed by something like [pieusb] vendor: 'PIE' [pieusb] product...: 'SF Scanner' [pieusb] model ...: 0x0036 [pieusb] version...: '1.70' Now edit pieusb.conf and add a line with usb 0x05e3 0x0144 0x36 0x00 (vend
[sane-devel] Reflecta RPS 7200
Hello, I'm trying the get the Reflecta RPS 7200 to work with pieusb, so far with little success. I can find the scanner with sane-find-scanner: - "found USB scanner (vendor=0x05e3, product=0x0144) at libusb:001:014" I want to add a relevant line to pieusb.conf, but I require the model number for this as well, which I do not know. scanimage -L in debug mode does not find the scanner nor show me any info about it (it only lists the scanners enabled by default and the ones listed in the config file). Do you know how I could find the model number? Also, this scanner supports automatic transport of film (but not slides). Should I enable "has-slide-transport" in the config file or not? I'm running up-to-date arch with the newest git version of sane. Thanks a lot! Julian -- 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