Project

General

Profile

Feature #11309

dngmeta: port rest to rb, drop sh

Added by Stefan Schöfegger over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
11/13/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

dngmeta.sh and dngmeta.rb results differ. There was only one sample per iso.

dngmeta.sh (created list manually from call for each sample)

        <Sensor black="142" white="4095"/> <!-- ISO 125 400 -->
        <Sensor black="142" white="2095" iso_list="80"/>
        <Sensor black="142" white="3400" iso_list="100"/>
        <Sensor black="143" white="4095" iso_list="200"/>
        <Sensor black="144" white="4095" iso_list="640 800"/>
        <Sensor black="145" white="4095" iso_list="1250"/>
        <Sensor black="146" white="4095" iso_list="1600"/>
        <Sensor black="150" white="4095" iso_list="3200"/>
        <Sensor black="157" white="4095" iso_list="6400"/>
        <Sensor black="172" white="4095" iso_list="12800 25600"/>

dngmeta.rb (for add dng files in directory)

invsensors {[142, 2095]=>[80], [142, 3400]=>[100], [142, 4095]=>[125, 400], [143, 4095]=>[200], [144, 4095]=>[640, 800], [145, 4095]=>[1250, 1600], [149, 4095]=>[3200], [154, 4095]=>[6400], [166, 4095]=>[12800], [167, 4095]=>[25600]}

sensors [[80, [142, 2095]], [100, [142, 3400]], [125, [142, 4095]], [200, [143, 4095]], [400, [142, 4095]], [640, [144, 4095]], [800, [144, 4095]], [1250, [145, 4095]], [1600, [145, 4095]], [3200, [149, 4095]], [6400, [154, 4095]], [12800, [166, 4095]], [25600, [167, 4095]]]
mostfrequent [[142, 4095], [125, 400]]
invsensors {[142, 2095]=>[80], [142, 3400]=>[100], [143, 4095]=>[200], [144, 4095]=>[640, 800], [145, 4095]=>[1250, 1600], [149, 4095]=>[3200], [154, 4095]=>[6400], [166, 4095]=>[12800], [167, 4095]=>[25600]}

        <Camera make="Panasonic" model="DMC-LX15">
                <ID make="" model="">Panasonic DMC-LX9</ID>
                <Sensor black="142" white="4095"/>
                <Sensor black="142" white="2095" iso_list="80"/>
                <Sensor black="142" white="3400" iso_list="100"/>
                <Sensor black="143" white="4095" iso_list="200"/>
                <Sensor black="144" white="4095" iso_list="640 800"/>
                <Sensor black="145" white="4095" iso_list="1250 1600"/>
                <Sensor black="149" white="4095" iso_list="3200"/>
                <Sensor black="154" white="4095" iso_list="6400"/>
                <Sensor black="166" white="4095" iso_list="12800"/>
                <Sensor black="167" white="4095" iso_list="25600"/>
        </Camera>

I expect that i get the same results for same files.

History

#1 Updated by Stefan Schöfegger over 3 years ago

Tested with sampels from

http://www.photographyblog.com/reviews/panasonic_lumix_dmc_lx15_review/sam

23664640 Nov 13 19:34 panasonic_lumix_dmc_lx15_17.rw2
23469056 Nov 13 19:34 panasonic_lumix_dmc_lx15_29.rw2
23687680 Oct 28 21:04 panasonic_lumix_dmc_lx15_62.rw2
23694336 Oct 28 21:13 panasonic_lumix_dmc_lx15_63.rw2
23661568 Nov 13 15:33 panasonic_lumix_dmc_lx15_64.rw2
23667712 Oct 28 21:05 panasonic_lumix_dmc_lx15_65.rw2
23690752 Oct 28 21:15 panasonic_lumix_dmc_lx15_66.rw2
23692288 Oct 28 21:15 panasonic_lumix_dmc_lx15_67.rw2
23654400 Oct 28 21:15 panasonic_lumix_dmc_lx15_68.rw2
23627264 Oct 28 21:06 panasonic_lumix_dmc_lx15_69.rw2
23625216 Oct 28 21:16 panasonic_lumix_dmc_lx15_70.rw2
23618560 Oct 28 21:16 panasonic_lumix_dmc_lx15_71.rw2
23597568 Oct 28 21:06 panasonic_lumix_dmc_lx15_72.rw2

#2 Updated by Roman Lebedev over 3 years ago

  • System changed from Debian to all
  • Affected Version changed from 2.2.0rc0 to git master branch
  • Subject changed from dngmeta.rb produces different results than dngmeta.sh to dngmeta: port rest to rb, drop sh
  • Tracker changed from Bug to Feature

Ok, so based on the irc disscussion, the black level difference is intentional.
Let's keep this as more generic dngmeta.{sh->rb} issue.

Also available in: Atom PDF

Go to top