As the Americans says: if everything fails, use the hammer!

I have modified the *noiseprofiles.h* file by hand (inserted the values
from *presets.txt*) and it seems to me it works correctly.



On Wed, Jan 29, 2014 at 10:24 PM, Victor L <[email protected]> wrote:

> I had the same problem and I never solved it. The values "0.0" in your
> library.db makes me think the profile is "empty".
>
> Your presets.txt file should look like this :
> {"DMC-FZ200 iso 100",       "Panasonic",      "DMC-FZ200",
> 100,         {2.33885453700009e-05, 1.9466326959505e-05,
> 7.26344109298692e-05}, {9.35213603120548e-08, 1.19071038342324e-08,
> 6.31842278477579e-09}},
> {"DMC-FZ200 iso 200",       "Panasonic",      "DMC-FZ200",
> 200,         {4.57186641808576e-05, 3.6081181748167e-05,
> 0.000134762711445099}, {2.26318870911686e-07, 1.08586932599448e-07,
> 9.05092413818606e-08}},
> {"DMC-FZ200 iso 400",       "Panasonic",      "DMC-FZ200",
> 400,         {8.95623180494518e-05, 6.92477983898522e-05,
> 0.000257514023463781}, {6.24779509958726e-07, 3.74787049345819e-07,
> 3.70558139805329e-07}},
> {"DMC-FZ200 iso 800",       "Panasonic",      "DMC-FZ200",
> 800,         {0.000178153585481796, 0.000136128753648867,
> 0.0004991629008214}, {1.68055530398071e-06, 1.20797874230101e-06,
> 1.30885568206459e-06}},
> {"DMC-FZ200 iso 800",       "Panasonic",      "DMC-FZ200",
> 800,         {0.000163755531974346, 0.0001417489286344,
> 0.000512983077694788}, {1.00287160431519e-06, 1.28405115162239e-06,
> 2.50410856534542e-06}},
> {"DMC-FZ200 iso 1600",       "Panasonic",      "DMC-FZ200",
> 1600,         {0.000360297729243548, 0.00027073990092174,
> 0.000975534330635035}, {4.9755107351825e-06, 3.86747184478642e-06,
> 3.68576763810453e-06}},
> {"DMC-FZ200 iso 3200",       "Panasonic",      "DMC-FZ200",
> 3200,         {0.000750291191480137, 0.00055280757619072,
> 0.00196264170573824}, {5.78325061156162e-06, 4.86046540336365e-06,
> 3.86991752276736e-06}},
> {"DMC-FZ200 iso 6400",       "Panasonic",      "DMC-FZ200",
> 6400,         {0.00162527612622559, 0.00113876030035125,
> 0.00292018914820147}, {2.90602861394892e-05, 2.94924920414951e-05,
> 3.63208056767227e-05}},
>
> I think the script exports the values from presets.txt to the database.
> But it fails. The columns of the preset table are the following one :
>
> 0|name|varchar|0||0
> 1|description|varchar|0||0
> 2|operation|varchar|0||0
> 3|op_version|integer|0||0
> 4|op_params|blob|0||0
> 5|enabled|integer|0||0
> 6|blendop_params|blob|0||0
> 7|blendop_version|integer|0||0
> 8|multi_priority|integer|0||0
> 9|multi_name|varchar(256)|0||0
> 10|model|varchar|0||0
> 11|maker|varchar|0||0
> 12|lens|varchar|0||0
> 13|iso_min|real|0||0
> 14|iso_max|real|0||0
> 15|exposure_min|real|0||0
> 16|exposure_max|real|0||0
> 17|aperture_min|real|0||0
> 18|aperture_max|real|0||0
> 19|focal_length_min|real|0||0
> 20|focal_length_max|real|0||0
> 21|writeprotect|integer|0||0
> 22|autoapply|integer|0||0
> 23|filter|integer|0||0
> 24|def|integer|0||0
> 25|isldr|integer|0||0
>
> I guess we have to wait for someone with more knowledge about this feature
> to solve this issue :)
>
>
> 2014-01-29 Roman Standzikowski <[email protected]>
>
> Yes, they are there:
>>
>>
>> E-PL3 iso
>> 200||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 250||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 320||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 400||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 500||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 640||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 800||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>> E-PL3 iso
>> 1000||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 1250||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 1600||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 2000||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 2500||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 3200||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 4000||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 5000||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 6400||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 8000||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 10000||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>> E-PL3 iso
>> 12800||denoiseprofile|3||1|||||0.0|0.0|0.0|0.0|0.0|0.0|0.0|0.0|0|0|0|0|0|7|0|
>>
>>
>> But I still have no idea how to use them...
>>
>>
>> On Wed, Jan 29, 2014 at 9:10 PM, Victor L <[email protected]>wrote:
>>
>>> Hello,
>>>
>>> You can check your library.db file using sqlite3; for example :
>>>
>>> sudo apt-get install -y sqlite3
>>> sqlite3 ./library.db
>>> SELECT * FROM presets;
>>>
>>> The last (top) record should be related to your noise profile.
>>>
>>> Bye !
>>>
>>>
>>> 2014-01-29 Roman Standzikowski <[email protected]>
>>>
>>>> Hi all,
>>>>
>>>> I have created a noise profile for my recently bought Olympus PEN
>>>> E-PL3. Here is the link:
>>>>
>>>> pastelink.me/dl/6b6d5e
>>>>
>>>> Unfortunately, I have a problem testing it. As the script said, I have
>>>> run:
>>>>
>>>> darktable --library ./library.db
>>>>
>>>> I have received messages (for each ISO) like:
>>>>
>>>> [imageop_init_presets] updating 'denoiseprofile' preset 'E-PL3 iso 200'
>>>> from version 2 to version 3
>>>> [imageop_init_presets] updating 'denoiseprofile' preset 'E-PL3 iso 200'
>>>> from blendop version 4 to version 7
>>>>
>>>> But when I open a test photo (RAW) in darkroom, I am unable to select
>>>> any camera in the 'denoise (profiled)' plugin - the list only shows
>>>> 'generic poissonian'. Any hints?
>>>>
>>>> I use Gentoo Linux (AMD64) and packages
>>>>
>>>> media-gfx/exiv2-0.23-r1
>>>> media-gfx/darktable-1.4.0
>>>>
>>>> Any hints what might be wrong?
>>>>
>>>>  Best Regards,
>>>> Roman Standzikowski
>>>>
>>>>
>>>> PS. Of course feel free to include the profile in Darktable if it is OK
>>>> in your opinion.
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WatchGuard Dimension instantly turns raw network data into actionable
>>>> security intelligence. It gives you real-time visual feedback on key
>>>> security issues and trends.  Skip the complicated setup - simply import
>>>> a virtual appliance and go from zero to informed in seconds.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Darktable-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/darktable-users
>>>>
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends.  Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Darktable-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/darktable-users
>>
>>
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to