[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
RE: [APML]: Stacking images in photoshop
Hi,
I've written a program that gets the internal 30bit data out of the PhotoSmart
scanner. While it's still "alpha" software, anyone interested can check it
out at
http://auk.con.wesleyan.edu/~mconsidine/sing001.zip
It was written for someone who only wanted to scan 1 single frame, but
I generalized it to a negative of arbitrary length. (FWIW, this is the
work-in-progress version of the next version of MULTSCAN). It is a
DOS-window command line program, but I hope to get a Win95 version
out at some point.
The way I've done it is
- specify 30bit pixel depth in the .INI file
- do NOT save the "final" image, only the "header" and
"data" files. Put a ".RAW" extension on the data file.
Caution : the resulting file can be monstrous.
In Photoshop, use the information from the .HDR file to tell Photoshop
how to import the .RAW file (ie. specify 3 channels, 16bits, interleaved, etc.)
FWIW, HP says in its documentaion that 30bits are not available to the
outside user. However, they assume that the scanner is accessed via a
TWAIN interface. This software accesses the scanner directly. As before,
the liabilities are the user's, though I haven't damaged my scanner yet :)
Regards,
Matt Considine
Wil wrote :
<snip>
Using an image-processing package which allows 16-bit or larger pixel values
avoids this by capturing the full value of multiple summed images. Some
scientific-imaging packages also allow pixels to be respresented by 16- or 32-bit
floating-point values, which has advantages for some kinds of numerical
processing.
> And this is really pretty much of a moot point anyway for those of us who
> shoot film, because all of the scanners may scan at more than 8 bits per
> channel, but you can't get more than that into a program because of the
> limits of the scanner software, as far as I know.
True, but stacking multiple images typically results in pixel values which
require more than 8 bits per pixel.
> Another question, do these scientific programs even support film scanners?
TIFF format is commonly supported by most imaging packages, and every scanner
driver I've seen can generate TIFF files.
> How would you get more than 8 bit per channel data into them from film?
If nothing else then by stacking, as discussed above. But I'm not sure there
aren't scanner drivers capable of more than 8 bits per pixel output (if there
aren't, here's a golder opportunity for someone). And of course most CCD cameras
generate 12 or 16 bits per channel.
begin 600 WINMAIL.DAT
M>)\^(B4"`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`R $```$````0`````P``, (````+``\.``````(!_P\!````3P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&%S=')O+7!H;W1O0&YI9VAT<VMY+F-O
M;0!33510`&%S=')O+7!H;W1O0&YI9VAT<VMY+F-O;0``'@`", $````%````
M4TU44 `````>``,P`0```!D```!A<W1R;RUP:&]T;T!N:6=H='-K>2YC;VT`
M`````P`5# $````#`/X/!@```!X``3 !````&P```"=A<W1R;RUP:&]T;T!N
M:6=H='-K>2YC;VTG```"`0LP`0```!X```!33510.D%35%)/+5!(3U1/0$Y)
M1TA44TM9+D-/30````,``#D`````"P! .@$````>`/9?`0```!D```!A<W1R
M;RUP:&]T;T!N:6=H='-K>2YC;VT``````@'W7P$```!/`````````($K'Z2^
MHQ 9G6X`W0$/5 (`````87-T<F\M<&AO=&] ;FEG:'1S:WDN8V]M`%--5% `
M87-T<F\M<&AO=&] ;FEG:'1S:WDN8V]M```#`/U?`0````,`_U\``````@'V
M#P$````$`````````M%F`02 `0`I````4D4Z(%M!4$U,73H@4W1A8VMI;F<@
M:6UA9V5S(&EN('!H;W1O<VAO< #R#0$%@ ,`#@```,X'`@`/`!4`)0`#````
M(P$!(( #``X```#.!P(`#P`5`!H`*P```$ !`0F `0`A````.3%&1C$Y1C0V
M13-!0D0Q,3@V1$5&034W1#5%.#(P.3(`7@<!`Y &`'@*```A````"P`"``$`
M```+`",```````,`)@``````"P`I```````#`"X```````,`-@``````0 `Y
M`&".K<.#.KT!'@!P``$````I````4D4Z(%M!4$U,73H@4W1A8VMI;F<@:6UA
M9V5S(&EN('!H;W1O<VAO< `````"`7$``0```!8````!O3J#PWM([B$!IC@1
MT9=&P<6H$:\>```>`!X,`0````4```!33510`````!X`'PP!````& ```&UC
M;VYS:61I;F5 =V5S;&5Y86XN961U``,`!A#Z(I[#`P`'$,P'```>``@0`0``
M`&4```!(22Q)5D574DE45$5.05!23T=204U42$%41T544U1(14E.5$523D%,
M,S!"251$051!3U543T942$502$]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K66!W.?QR_PI0-E0<X')A2=)XAWF$%[#^>3WPA%$H04ET5P-TNG+$
M\Q7T"7!Q=6,QCK^/PCWD_X6/&K 8< 7 GF ?(3$A'D#_0($884S!>J@7-@0@
M7#$#H%U)D'!1(XOBC6<_.@M)_$9&)Q)-@2[R-1(H(Z25_WZ$!& <X$'S>YH>
M0A]@7#+[:'<5]&0%$##A.S01,!;Q_Q^"*Q1M(::T13.%G%P!%I#]"&!L'V"1
M4I'\CV.?PU-%?QF$DR,881>@3?.+XJ7K2?^#T:%Q2=)3D4$C2H%H<9GUOY=3
M)# $\$M 7N(!H&\6</4<`$(V@B<7H%EB29!EY/\)<'5U"7!GHF*GJ_.G@7;0
MWUGS>%*>WW2'&>%P&?%24+\:,[DL'D"Y`ARQ%R!G!O#W!($9T*2S=0,`A^$G
M*3-1/X9R&B$%H AP3,&I`T-#_D0?<801)G 5]*TW#B!T`K]3X)]X4T4Y^Q7T
M$?$`Q\ #`! 0``````,`$1 !`````P" $/____] ``<P(#@J4H(ZO0% ``@P
M(#@J4H(ZO0$+``" "" &``````# ````````1@`````#A0````````,``H (
M( 8``````, ```````!&`````!"%`````````P`%@ @@!@``````P ``````
M`$8`````4H4``+<-```>`"6 "" &``````# ````````1@````!4A0```0``
M``0````X+C ``P`F@ @@!@``````P ```````$8``````84````````+`"^
M"" &``````# ````````1@`````.A0````````,`,( (( 8``````, `````
M``!&`````!&%`````````P`R@ @@!@``````P ```````$8`````&(4`````
M```>`$& "" &``````# ````````1@`````VA0```0````$`````````'@!"
M@ @@!@``````P ```````$8`````-X4```$````!`````````!X`0X (( 8`
M`````, ```````!&`````#B%```!`````0`````````>`#T``0````4```!2
113H@``````,`#33]-P``)P"%
`
end