Parsing RawDigger CGATS

Started 3 months ago | Discussions thread
OP Iliah Borg Forum Pro • Posts: 28,807
sample run:
1

Starting "use_parse_RD_CGATS.py" script
device CGATS metadata, keywords and terms:
{'BEGIN_DATA': 33,
'BEGIN_DATA_FORMAT': 29,
'CGATS.17': True,
'CREATED': '10/14/2021 # Time: 12:22',
'DESCRIPTOR': {'Aperture': 'f/5.6',
'BlackLevel': '1008',
'CameraMake': 'Nikon',
'CameraModel': 'Z 7_2',
'Channels': 'RGBG2',
'DCP Profile': True,
'DataRange': '16383',
'Filename': 'Y:/Pictures/__raw/DSC_0678_studio_scene.NEF',
'Frame': '1',
'Gamma': '1.4000',
'ISO': '64',
'LinearMax': '15311',
'MaxValue': '92.000',
'NormCoeff': '0.15611',
'OELevels': '14303,14303,14303,14303',
'RealDataLimit': '16383',
'Shutter': '1/25',
'WBAsShot': '1.99805,1.00000,1.11719,1.00000',
'WhiteBalanceCoeffs': '1.9873,1.0000,1.1006,1.0001',
'WhiteBalanceSample': 'D2'},
'END_DATA': 58,
'END_DATA_FORMAT': 31,
'INSTRUMENTATION': 'RawDigger',
'KEYWORD': ['COLOR_REP',
'RGBg_R',
'STDEV_R',
'RGBg_G',
'STDEV_G',
'RGBg_B',
'STDEV_B',
'RGBg_g',
'STDEV_g',
'START_CORNER',
'WALK_ORDER',
'NAMING_ORDER',
'SAMPLE_NAME'],
'MEASUREMENT_SOURCE': {'Filter': 'Unknown',
'Illumination': 'Unknown',
'ObserverAngle': 'Unknown'},
'NAMING_ORDER': 'A1_Z99',
'NUMBER_OF_FIELDS': 10,
'NUMBER_OF_SETS': 24,
'ORIGINATOR': 'RawDigger v.1.4.4 http://www.rawdigger.com Copyright (C) '
'2012-2021 LibRaw LLC',
'START_CORNER': 'TOP_LEFT',
'WALK_ORDER': 'BY_ROWS'}
column names in device CGATS: "SAMPLE_ID SAMPLE_NAME RGBg_R RGBg_G RGBg_B RGBg_g STDEV_R STDEV_G STDEV_B STDEV_g"
device statistics format (column names): "RGBg_R RGBg_G RGBg_B RGBg_g STDEV_R STDEV_G STDEV_B STDEV_g"
device patch data, patch per line:
[[23.087 16.101 13.316 16.113 0.555 0.3384 0.3776 0.3541]
[54.913 39.479 35.767 39.48 0.7299 0.4664 0.4904 0.4598]
[25.617 32.529 40.272 32.527 0.5825 0.4416 0.5266 0.4446]
[20.03 21.754 14.542 21.749 0.5207 0.366 0.3836 0.3767]
[36.279 38.366 50.542 38.365 0.635 0.465 0.579 0.4644]
[37.504 55.464 53.304 55.426 0.6611 0.5519 0.5986 0.5699]
[58.159 28.925 14.13 28.936 0.7592 0.4037 0.3874 0.4157]
[20.615 26.422 42.858 26.44 0.5713 0.4578 0.641 0.4739]
[50.346 22.187 21.601 22.22 0.718 0.3934 0.4337 0.3896]
[18.302 14.564 20.428 14.583 0.5406 0.3543 0.4329 0.3572]
[45.265 47.893 25.289 47.858 0.7276 0.5355 0.4565 0.531 ]
[62.344 40.256 17.062 40.257 0.779 0.4703 0.397 0.4618]
[13.345 18.932 33.494 18.943 0.5062 0.5046 0.7773 0.5097]
[23.807 35.215 22.494 35.2 0.5607 0.458 0.4176 0.465 ]
[41.532 14.424 11.732 14.459 0.6498 0.3282 0.3572 0.3382]
[72.081 55.313 23.223 55.299 0.84 0.5855 0.4432 0.6048]
[49.97 26.247 35.884 26.276 0.7221 0.4042 0.5034 0.4089]
[20.984 37.896 47.81 37.894 0.5393 0.4831 0.58 0.4806]
[92. 90.977 89.995 91.004 0.9104 0.7529 0.8141 0.7425]
[67.078 67.078 67.078 67.078 0.7851 0.597 0.6476 0.5811]
[46.845 47.003 46.928 47.022 0.6911 0.4935 0.5477 0.482 ]
[30.067 29.978 29.92 29.977 0.5911 0.412 0.4708 0.411 ]
[17.661 17.929 18.119 17.919 0.5078 0.3479 0.4188 0.3545]
[ 8.9177 8.9609 9.0646 8.9629 0.4415 0.3169 0.3749 0.3193]]
script finished

-- hide signature --
Post (hide subjects) Posted by
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow