AusDLK
Famous Photographer
for what it's worth, I had Kolari modify a Fuji X100S for "full-spectrum" and I'm 100% satisfied. Apples and oranges, I understand, but I was impressed with them.
Full spectrum on a x100 (or any camera) is not the sensor glass cover but a filter on top of that. On the x100 it is at the rear of the lens.
Shawn
Awesome work Brian. Any chance of passing the filter coefficient as an argument so you don’t have to make customized versions for different cameras? Or to put it in a text file for the same reason.
Shawn
Awesome work Brian. Any chance of passing the filter coefficient as an argument so you don’t have to make customized versions for different cameras? Or to put it in a text file for the same reason.
Shawn
This might be a stupid question, but I'm curious where you put this code. Is it downloaded into the camera's firmware somehow (if so, how), or is it added to software like PS or LR (a filter maybe) for post-processing?WRITE( *, *) 'APPLY NUC CORRECTION '
DO 10 J= 1, ROWS
DO 10 I= 1, COLUMNS/ 2
X= FLOAT( IMAGE( I, J))
Y= X* SLOPE+ OFFSET
BIGVALUE= INT( Y+ 0.5)
IF( BIGVALUE .LT. 0) BIGVALUE= 0
IF( BIGVALUE .GT. 16383) BIGVALUE= 16383
IMAGE( I, J)= VALUE( 1)
10 CONTINUE
The code for the NUC was easy.
Fixing my routine originally written to change image tags in the DNG file to "Linear DNG"... Whoops. Took longer than fixing the non uniformity problem.
Just to add- I suspect that the linear fit will not change much with the Plus 2 and Plus 3 images, but those will help to cover the full intensity range. The Plus 1 of the 18% grey card gives about 25% of saturation.
Thankyou.
Do you know why the Jedi Knights use Fortran?
From Joda - "In Fortran there is no TRY, there is only DO."
Nikki took a class in Java, meaning I learned Java. It has "TRY".
Using the Serial Number stored in each DNG file works. That way someone with more than one M9 can just run the code and not worry about which calibration file is selected. Everything can run as a batch process, the program will process all DNG files, even if files from different M9 cameras are mixed together. If someone sends an M Monochrom and gets this problem- easy enough to add to the code.
I checked some of my old DNG files from 2012- Leica has not changed the file structure with the newer firmware versions, so I think it safe to assume the Serial Number of the camera is in the same place for the file. It's in two locations, the Code checks that they match. If they do: it uses the Serial Number stored in the DNG file to create the calibration file in "M9CAL" and stores it in a directory called "C:\M9CAL". The correction program uses the Serial Number of the DNG file being processed to select the correct calibration file, "M9NUC1"- which will get a new name like "M9FIX" or such.
I copied DNG files from Luuca's two cameras into the same directory and ran the code on all of them- Serial Number properly selected the calibration files on disk.
This might be a stupid question, but I'm curious where you put this code. Is it downloaded into the camera's firmware somehow (if so, how), or is it added to software like PS or LR (a filter maybe) for post-processing?