[argyllcms] Re: spotread -E and extra filter compensation file

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Tue, 07 Jun 2011 09:31:15 +1000

Alexey Gribunin wrote:
Please can you describe the file format of extra filter compensation
file for SpotRead.

Hi,
        it's not specifically documented anywhere, but there's nothing
special about it, it's a .sp CGATS type file. I've attached an example.
The values are simply multiplied by the spectral readings. The .sp must
match the spectral range and spacing of the instrument.

Note though that currently it's only supported on the Spectrolino. I haven't
attempted to implement it for the other spectrometers.

When I'm trying to put my corrections into .SP files (or to use any
standard .SP files), SpotRead gives me the following error:
Setting filter compensation failed with error "unsupported function" (No
device error).

That is expected if the driver doesn't support the function (ie.,
anything else other than the Spectrolino).

Graeme Gill.
SPECT

DESCRIPTOR "Argyll Spectrolino tele adapter compensation filter"
ORIGINATOR "Argyll CMS"
CREATED "Wed Jun 21 17:49:57 2006"
KEYWORD "SPECTRAL_BANDS"
SPECTRAL_BANDS "36"
KEYWORD "SPECTRAL_START_NM"
SPECTRAL_START_NM "380.000000"
KEYWORD "SPECTRAL_END_NM"
SPECTRAL_END_NM "730.000000"
KEYWORD "SPECTRAL_NORM"
SPECTRAL_NORM "1.000000"

NUMBER_OF_FIELDS 36
BEGIN_DATA_FORMAT
SPEC_380 SPEC_390 SPEC_400 SPEC_410 SPEC_420 SPEC_430 SPEC_440 SPEC_450 
SPEC_460 SPEC_470 SPEC_480 SPEC_490 SPEC_500 SPEC_510 SPEC_520 SPEC_530 
SPEC_540 SPEC_550 SPEC_560 SPEC_570 SPEC_580 SPEC_590 SPEC_600 SPEC_610 
SPEC_620 SPEC_630 SPEC_640 SPEC_650 SPEC_660 SPEC_670 SPEC_680 SPEC_690 
SPEC_700 SPEC_710 SPEC_720 SPEC_730
END_DATA_FORMAT

NUMBER_OF_SETS 1
BEGIN_DATA
1.7378  1.3294  1.1691  1.1313  1.1326  1.1301  1.1302  1.1290  1.1288  1.1274  
1.1286  1.1280  1.1273  1.1263  1.1242  1.1231  1.1231  1.1231  1.1231  1.1231  
1.1231  1.1231  1.1231  1.1231  1.1231  1.1231  1.1231  1.1231  1.1231  1.1231  
1.1231  1.1231  1.1231  1.1231  1.1231  1.1231
END_DATA

Other related posts: