Re: [sane-devel] OS X 10.9.5

2017-12-28 Thread Tom Myers
There is a link on Ellert's page “Older versions”  Here it is below.  No luck 
with Sierra (10.12) or High Sierra (10.13) yet.

http://www.ellert.se/twain-sane/olderversions.html

> On Dec 28, 2017, at 9:19 PM, Adrien Belkin  wrote:
> 
> Hi everyone!
> 
> My grandpa gave me the mission to get his very old SnapScan Touch AGFA usable 
> again. So I read about the Twain Sane on different forums and I concluded 
> that it would work. So I checked how to use it and when I downloaded the 
> TWAIN SANE Interface and tried to open the libusb.pkg, it told me (sorry, my 
> computer is in French) a message like : 
> 
> WRONG VERSION OF Mac OS X 
> This package was compiled for version 10.11
> 
> My computer is a Mac OS X 10.9.5. 
> 
> So I checked on the historic topics to see a problem like mine, I tried 
> different pages to see if I was able to download an old version and I must 
> have missed a thing. Where can I find a version of the Twain Sane Project for 
> my Mac OS X 10.9.5 iMac.
> 
> Thank you everyone,
> 
> Adrien Belkin
> Ouvrier agricole bio
> 581-574-3543
> -- 
> 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

[sane-devel] OS X 10.9.5

2017-12-28 Thread Adrien Belkin
Hi everyone!


My grandpa gave me the mission to get his very old SnapScan Touch AGFA usable 
again. So I read about the Twain Sane on different forums and I concluded that 
it would work. So I checked how to use it and when I downloaded the TWAIN SANE 
Interface and tried to open the libusb.pkg, it told me (sorry, my computer is 
in French) a message like :

WRONG VERSION OF Mac OS X
This package was compiled for version 10.11


My computer is a Mac OS X 10.9.5.


So I checked on the historic topics to see a problem like mine, I tried 
different pages to see if I was able to download an old version and I must have 
missed a thing. Where can I find a version of the Twain Sane Project for my Mac 
OS X 10.9.5 iMac.


Thank you everyone,


Adrien Belkin
Ouvrier agricole bio
581-574-3543
-- 
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 DigiDia 5000 not found

2017-12-28 Thread Olaf Meeuwissen
Hi,

Reinhard Kotucha writes:

> [...]
> I could probably improve the results if anybody tells me what these
> values mean and how to apply them:
>
>   FilmMatR1.4234   -0.32300.0061   -29.7088;
>   FilmMatG0.06000.96770.0719   -31.3147;
>   FilmMatB0.1562   -0.51041.4530   -28.9059;

I'm not sure about the rightmost column but this is a color correction
matrix.  You apply it on the incoming (or gamma corrected?) RGB values
via matrix multiplication like so

 R' = 1.4234 * R + -0.3230 * G + 0.0061 * B + -29.7088
 G' = 0.0600 * R +  0.9677 * G + 0.0719 * B + -31.3147
 B' = 0.1562 * R + -0.5104 * G + 1.4530 * B + -28.9059

R, G, B are the values before correction, R', G' and B' the ones after.
You may have to clamp the results into the [0,255] range (assuming 8bit
samples).

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
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 DigiDia 5000 not found

2017-12-28 Thread Reinhard Kotucha
On 2017-12-27 at 11:28:58 +0100, Klaus Kaempf wrote:

 > * Reinhard Kotucha  [Dec 23. 2017 23:52]:
 > > 
 > > 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.

Hi Klaus, Julian, and Dave and thank you very much for your
suggestions.

As I mentioned in a previous mail, there was a file on the CD called
"Generic Positive.ft".  The file format is neither understood by sane
nor by me.  The good thing is that it's pure ASCII.

I first extracted the lookup table

FilmLut 
0.000.000.00 
7.507.506.00 
[...lines omitted...]
4094.11 4094.09 4094.43 
4095.00 4095.00 4095.00;

and plotted the curves.  See

   http://ms25.ddns.net/plot-lut.pdf

The first page contains a linear plot, the second page shows the same
plot scaled logarithmically.  Please note that when scaled
logarithmically, the Gamma value is just the slope (dy/dx) of the
curve.  As you can see, two different Gamma values are used.

I then loaded a scanned image into Gimp and adapted the curves
according to the linear plot.  The results were amazing.  I did not
expect to get such good results almost immediately.  But the result
isn't perfect.  It turned out that the lower left part of the curve is
extremely critical.  Small changes make huge differences and there is
no way to get things correct if the only tool you can use is a mouse.

The next step is to write a script which applies the lookup table to
pnm files.  The pnm file format is quite simple and I think that I can
write such a script within a reasonable amount of time.

I could probably improve the results if anybody tells me what these
values mean and how to apply them:

  FilmMatR1.4234   -0.32300.0061   -29.7088; 
  FilmMatG0.06000.96770.0719   -31.3147;
  FilmMatB0.1562   -0.51041.4530   -28.9059;

I suppose that I can scan all my slides automatically now and can
apply the color profile of my scanner afterwards.  Everything I can do
without manual interaction is fine for me (I've abt. 7200 slides) and
GUI tools are not very helpful at this stage.  I'm sure that GUI tools
like GIMP are helpful in order to enhance individual images.

Regards,
  Reinhard

-- 
--
Reinhard KotuchaPhone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannovermailto:reinhard.kotu...@web.de
--

-- 
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 DigiDia 5000 not found

2017-12-28 Thread Reinhard Kotucha
On 2017-12-28 at 10:00:00 +0100, Klaus Kaempf wrote:

 > * Klaus Kaempf  [Dec 27. 2017 11:28]:
 > > 
 > > Hmm, 0x01 is the right value. Send me the full log via private mail.
 > 
 > Reinhard,
 > 
 > thanks for the logs.
 > 
 > Please check out https://github.com/kkaempf/sane-backends.git. The
 > 'kkaempf' branch is one commit on top of current sane-backends#master.
 > 
 > This version gets rid of the 'flags' column in pieusb.conf and
 > evaluates the inquiry data instead.

Thank you Klaus.  Works fine now after adding pieusb to dll.conf.

Regards,
  Reinhard

-- 
--
Reinhard KotuchaPhone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannovermailto:reinhard.kotu...@web.de
--

-- 
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 DigiDia 5000 not found

2017-12-28 Thread Klaus Kaempf
* Klaus Kaempf  [Dec 27. 2017 11:28]:
> 
> Hmm, 0x01 is the right value. Send me the full log via private mail.

Reinhard,

thanks for the logs.

Please check out https://github.com/kkaempf/sane-backends.git. The
'kkaempf' branch is one commit on top of current sane-backends#master.

This version gets rid of the 'flags' column in pieusb.conf and
evaluates the inquiry data instead.

Compile with 'make', install with 'sudo make install' and then run
xsane.

Good luck !

Klaus
-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 
(AG Nürnberg)

-- 
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