<div dir="ltr">Hi everyone,<div><br></div><div>Thanks for the feedback everyone! Thanks for the info Povilas about the genesys backend. I do have some scanners that use it. Would you have some pointers for how to issue those commands to a scanner via the backend? </div><div><br></div><div>You're right Ralph, it might be easier to control them directly. I had thought of the buffer approach as well, maybe I'll experiment with that.</div><div><br></div><div>Thanks,</div><div><br></div><div>Joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 4, 2022 at 12:47 PM Ralph Little <<a href="mailto:skelband@gmail.com" target="_blank">skelband@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On 2022-01-04 9:05 a.m., Joel Penner wrote:<br>
> Hello,<br>
><br>
> I am doing microscopic focus stacking with mirrorless cameras. I have <br>
> a Cognisys Stackshot rail that I am doing this with, but I also have a <br>
> bunch of Canon 9000F & 8800F scanners, so I am wondering whether I <br>
> could use the precision these devices have to move a camera forward by <br>
> small increments.<br>
><br>
> I have already been experimenting with attaching a stepper motor to a <br>
> microscope, controlled by a Big Easy Driver and a Raspberry Pi. This <br>
> person used a scanner for focus stacking by connecting a scanner motor <br>
> to an external driver:<br>
><br>
> <a href="https://petapixel.com/2013/01/24/focus-stacking-macro-photographs-with-a-hacked-flatbed-scanner/" rel="noreferrer" target="_blank">https://petapixel.com/2013/01/24/focus-stacking-macro-photographs-with-a-hacked-flatbed-scanner/</a> <br>
> <<a href="https://petapixel.com/2013/01/24/focus-stacking-macro-photographs-with-a-hacked-flatbed-scanner/" rel="noreferrer" target="_blank">https://petapixel.com/2013/01/24/focus-stacking-macro-photographs-with-a-hacked-flatbed-scanner/</a>><br>
><br>
> This would work for me, but would it be possible to manually move the <br>
> scanner imaging head with SANE and the scanner's firmware and <br>
> circuitry? Basically, I would need SANE to move the scanner imaging <br>
> head forward by a tiny increment, pause for a few seconds for the <br>
> camera to take a photo, move forward again and so on. I just need <br>
> total control of where the scanner imaging head is moved to and how <br>
> small the increments are. My goal is to use this rig to do timelapse <br>
> microscopic focus stacked images of plant growth.<br>
><br>
> Ideally, the scanner imaging head light would be turned off too but I <br>
> could also use tape or disconnect the LED array. I have other scanner <br>
> models as well if the firmware or drivers of these Canon scanners <br>
> isn't suitable.<br>
><br>
> Any ideas would be appreciated, thanks!<br>
><br>
> Joel<br>
<br>
This *might* be possible if the usual movements that the scan head would <br>
make are sufficient for your need.<br>
<br>
What you can definitely do is to arrange for the scan head to move from <br>
home quickly to a start position and have the head move more slowly to <br>
an end position (speed depending on the requested resolution) after <br>
which the head would usually return to the home position. By controlling <br>
the rate at which the scan data is received from the machine, you might <br>
also be able to get the scan head to pause when the scan data buffer is <br>
full. Within the SANE API, those are really your options.<br>
<br>
Some scanners have a more high-level control, such is the case with the <br>
protocols that are handled by the pixma backend. I see that Povilas has <br>
answered regarding the genesys backend and the scanners that are <br>
supported there. The genesys controllers provide much more control over <br>
the hardware. Even then, using the SANE API is going to be quite <br>
limiting, but you could use the genesys code to directly control a <br>
genesys scanner.<br>
<br>
Honestly, you might be better off harvesting the components from the <br>
scanner and using an arduino or something. ;D<br>
<br>
Cheers,<br>
Ralph<br>
</blockquote></div>