Nikon CoolScan LS-9000 ED support

View: New views
8 Messages — Rating Filter:   Alert me  

Nikon CoolScan LS-9000 ED support

by Rob Sims-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As suggested by the web page, I'm posting here to let people know I'm
working on a back end for the Nikon LS-9000 (patching coolscan2.c).  I
also have a few questions.

http://www.sane-project.org/unsupported/nikon-ls9000-ed.html

I have basic functionality working, but it's definitely not ready for
prime time.  

The Nikon docs are inaccurate and incomplete, so it's been a little slow
going.  

To Do:
1) Fix SET WINDOW for IR channel.  Currently returns 5/24/00.  Following
   scan fails, unless I do a failing SET WINDOW followed by a GET WINDOW.

2) Use thumbnail scan mode to capture the whole film strip.  Regular
   scan at lowest scan resolution is limited to ~ 1/2 the strip.  Make
   thumbnail mode an option since it can use a resolution and size not
   available to a real scan.

3) Add recognition of film holder to help enable (4)

4) Add knowledge of frame positions for various film holders.  Some
   holders have fixed film positions (35mm slides, 35mm strips), others
   have variable frame sizes and positions.  For example, the 865*
   holders support at least 4 different frame sizes (4.5x6, 6x6, 6x7,
   6x9cm), so some user settings will be required also.

5) Add support for multi-pass scanning (option + passthrough to scanner)

6) Get the autoexposre buttons to work reliably.  

Any feeback?  Is it proper to post patches here?
--
Rob


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

signature.asc (196 bytes) Download Attachment

Re: Nikon CoolScan LS-9000 ED support

by Alessandro Zummo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 22 Apr 2008 17:21:09 -0600
Rob Sims <sane-z@...> wrote:

> As suggested by the web page, I'm posting here to let people know I'm
> working on a back end for the Nikon LS-9000 (patching coolscan2.c).  I
> also have a few questions.

 Hi Rob,

  I did some work in improving infrared and general coolscan
 support in the coolscan3 driver. You might want to give it a look.

--

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


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

Re: Nikon CoolScan LS-9000 ED support

by Rob Sims-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Apr 23, 2008 at 01:51:14AM +0200, Alessandro Zummo wrote:
> On Tue, 22 Apr 2008 17:21:09 -0600
> Rob Sims <sane-z@...> wrote:
 
> > As suggested by the web page, I'm posting here to let people know I'm
> > working on a back end for the Nikon LS-9000 (patching coolscan2.c).  I
> > also have a few questions.
 
>   I did some work in improving infrared and general coolscan
>  support in the coolscan3 driver. You might want to give it a look.

Thanks - I was basing my changes on the released package; I have now
checked out of cvs.  Why the name change?  The supported scanner list is
the same, and many of the changes seem cosmetic.  If coolscan3 is
destined to replace 2, I'll rebase the patches against it.

Does anyone know of features unimplemented for the 8000 that may be
common to the 9000?  I'm currently planning on enabling the stuff I add
for only the 9000.

What is the "reply" convention on this list - Debian lists it's to reply
to list only, and on kernel lists it's to retain the cc: list.
--
Rob


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

signature.asc (196 bytes) Download Attachment

Re: Nikon CoolScan LS-9000 ED support

by Alessandro Zummo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 23 Apr 2008 11:32:58 -0600
Rob Sims <sane-z@...> wrote:

> >   I did some work in improving infrared and general coolscan
> >  support in the coolscan3 driver. You might want to give it a look.
>
> Thanks - I was basing my changes on the released package; I have now
> checked out of cvs.  Why the name change?  The supported scanner list is
> the same, and many of the changes seem cosmetic.  If coolscan3 is
> destined to replace 2, I'll rebase the patches against it.

 I started by changing a bit coolscan2 and then found that I needed
 more deeper changes. In order to avoid compatibility problems
 I preferred to fork it into coolscan3.

 I've then added infrared support for my LS-2000 which is working
 very fine. I now have an almost-open-source workflow
 for scanning my slides: I save to 16bits RGB+infrared with tiffscan
 and then use vuescan for infrared dust removal.
 
> Does anyone know of features unimplemented for the 8000 that may be
> common to the 9000?  I'm currently planning on enabling the stuff I add
> for only the 9000.
>
> What is the "reply" convention on this list - Debian lists it's to reply
> to list only, and on kernel lists it's to retain the cc: list.

 there isn't. Every receiver has his own preference :) As the linux kernel rtc
 maintainer I have the habit to "reply to all" until someone bites me :)

--

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


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

Re: Nikon CoolScan LS-9000 ED support

by Rob Sims-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Apr 22, 2008 at 05:21:09PM -0600, Rob Sims wrote:
> As suggested by the web page, I'm posting here to let people know I'm
> working on a back end for the Nikon LS-9000 (patching coolscan2.c).  I
> also have a few questions.
 
> http://www.sane-project.org/unsupported/nikon-ls9000-ed.html

I've finally got something good enough for people to bang on.

From http://www.robsims.com/coolscan9k.html:
The existing coolscan2 backend did not support the Coolscan 9000. There was
also a newer driver in cvs called coolscan3, which had some cleanup and changed
infrared reading support from two front end passes to 4 channel, single pass.

This driver started with the coolscan3 driver as suggested by Alessandro
Zummo and grew quite a bit. First, this scanner is missing a few
features that the driver expected:

    * No 8 bit color
    * No lookup tables for gamma correction
    * No autoexposure (with or without white balance)
    * No (auto)loader

This scanner (as do other models in the family) has interchangeable film
holders. Some holders have device-defined scanning areas, and some have soft
defined areas. The frame areas can be user-defined for any holder, but defaults
to that for only the medium format holders.

I added a refresh button to allow quierying the device after changing holders,
as the front end doesn't poll. The backend now supports changing holders at
whim.

There is support for the dropout (infrared) channel. You can select RGB + Gray
for legacy front ends or RGBI for newer ones, or select infrared only,
primarily designed to help get the exposure right.

The Coolscan 9000 supports a "thumbnail" scan which basically scans the entire
holder at a low resolution. I brought that interface out via the preview; in
thumbnail mode, selections are scaled to the frames. Frame boundaries are drawn
on the preview as guides.

Since I was changing so much anyway, due to personal preference I changed the
exposure controls from a linear to a logarithmic interface. Now, the scale is
in "stops" which should be more intuitive for photographers.

The scanner supports quite a bit of capability reporting, which I added in
place of model-determined capabilities where possible. Because of this, I
turned on recognizing vendor "Nikon" and products beginning with "LS" as a
supported device.

I added a mode select option, and chose the standard names "Transparency
Adapter" and "Automatic Document Feeder" as a best fit. In the Transparency
Adapter mode, the frame counter is not advanced. In ADF mode, the current frame
is advanced after each scan. In ADF mode while thumbnails are active, if the
selection is entirely within a frame, the selection is translated to each
frame. If the selection covers area outside of a frame, whole frames are
scanned. Also, if a thumnail preview scan has been done, empty frames will be
skipped in ADF mode. This is primarily for use with the 35mm strip holder,
which has two strips of 6. If strips of 4 are placed in the holder, frames 5
and 6 are missing.

From the coolscan9k.c release notes:

    * Support both RGBI and two-pass infrared handling
    * Improved use of capability bits to mask options
    * Support for non-static device parameters (changeable film holders)
    * Remove a lot of miniscule mallocs
    * Support "thumbnail" mode where entire holder content is previewed
    * Exposure controls now in stops rather than linear
    * Support for user defineable frame locations (primarily intended for
      medium format support)
    * Support for frame grids rather than linear-only layout; some holders have
      parallel strips
    * A lot noisier in debug output
    * Support for non 8-bit capable scanners
    * Gather exposure info from inside multiple frames
    * ADF mode supports full-frame or partial frame scans; selection on
      thumbnail is translated.
    * Support for exposure analysis.
    * Support for infrared exposure analysis.

Testing was done primarily with xsane. Do not do multi-frame scanning with the
3+1 option; xsane does not allocate the gamma table and has additional issues
as well; however, manually scanning the frames one at a time works.

quiteinsane and kooka were briefly tested, but there have been changes in the
backend since then.

I can post the tarball here if requested, otherwise please fetch from
http://www.robsims.com/coolscan9k.tgz

Criticise away - I can take it.
--
Rob


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

signature.asc (196 bytes) Download Attachment

Nikon CoolScan LS-9000 ED support

by Gerber van der Graaf-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I had a look at the development of the Sane project for the Nikon
Coolscan 9000 ED and found your mailpost
http://lists.alioth.debian.org/pipermail/sane-devel/2008-June/022254.html
to be the last one, already one year ago. Has there been some
development since then?

I really am looking forward when Sane, or any other GPL project, will
work fine with this scanner as I get fed up with propietary programs
which are said to work on GNU/Linux, like Vuescan, but hardly never work
fine and support is at minimum. I would like to keep in touch with the
newest developments for this scanner and eventually will colaborate.
Though I have no experiences in writing driver software, I might help
with the testing on Debian/Unstable system.

Sincerely,
Gerber van der Graaf


--
Gpiv developer: Open Source Software for Particle Image Velocimetry
URL: http://gpiv.sourceforge.net


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

Re: Nikon CoolScan LS-9000 ED support

by m. allan noah-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you try contacting the author of that post? He may not be
subscribed to this list...

allan

On Wed, Jun 24, 2009 at 4:24 PM, Gerber van der
Graaf<gerber.vdgraaf@...> wrote:

> Hi,
> I had a look at the development of the Sane project for the Nikon
> Coolscan 9000 ED and found your mailpost
> http://lists.alioth.debian.org/pipermail/sane-devel/2008-June/022254.html
> to be the last one, already one year ago. Has there been some
> development since then?
>
> I really am looking forward when Sane, or any other GPL project, will
> work fine with this scanner as I get fed up with propietary programs
> which are said to work on GNU/Linux, like Vuescan, but hardly never work
> fine and support is at minimum. I would like to keep in touch with the
> newest developments for this scanner and eventually will colaborate.
> Though I have no experiences in writing driver software, I might help
> with the testing on Debian/Unstable system.
>
> Sincerely,
> Gerber van der Graaf
>
>
> --
> Gpiv developer: Open Source Software for Particle Image Velocimetry
> URL: http://gpiv.sourceforge.net
>
>
> --
> sane-devel mailing list: sane-devel@...
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request@...
>



--
"The truth is an offense, but not a sin"

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

Re: Nikon CoolScan LS-9000 ED support

by Alessandro Zummo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Jun 2008 21:29:02 -0600
Rob Sims <sane-z@...> wrote:

> The scanner supports quite a bit of capability reporting, which I added in
> place of model-determined capabilities where possible. Because of this, I
> turned on recognizing vendor "Nikon" and products beginning with "LS" as a
> supported device.

 Hello,

  are you still working on this? Do you believe your driver
 could be used as a replacement for coolscan3?

 It would be nice to have your work integrated into the sane tree.

--

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


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