IXUS160/ELPH160 Porting attempt - page 9 - DryOS Development - CHDK Forum supplierdeeply

IXUS160/ELPH160 Porting attempt

  • 497 Replies
  • 232111 Views
*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #80 on: 09 / June / 2015, 13:47:34 »
Advertisements
You have to create the camera profile yourself using the calibration picture, as detailed in the wiki.
« Last Edit: 03 / August / 2015, 03:25:57 by adong »

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #81 on: 09 / June / 2015, 17:51:56 »
(can't get lower than ~30% on dng4ps2, don't know if I'm doing it properly)
You've made me curious: which version of dng4ps-2 is this? I think that calibration was removed from the UI before the source got released in 2008. Support for 12bit bit-depth was only added after that, so I'm not sure if it would even work. And, as you noted earlier, the 0.2.2 release simply crashes when fed with one of your RAW files.

*

Offline reyalp

  • ******
  • 14111
Re: IXUS160/ELPH160 Porting attempt
« Reply #82 on: 09 / June / 2015, 23:54:10 »
(can't get lower than ~30% on dng4ps2, don't know if I'm doing it properly)
You've made me curious: which version of dng4ps-2 is this? I think that calibration was removed from the UI before the source got released in 2008. Support for 12bit bit-depth was only added after that, so I'm not sure if it would even work. And, as you noted earlier, the 0.2.2 release simply crashes when fed with one of your RAW files.
The calibration UI exists in 0.2.3 Beta build 286, but I was unable to get it to complete successfully on elph130
Don't forget what the H stands for.

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #83 on: 10 / June / 2015, 02:22:06 »
0.2.3 beta 26 (latest on google code) has the ui, it's just that it was renamed and moved. you can find it when you define a camera's parameters, under 'create color matrix' or something like that. I'll post a screenshot when I get home


*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #84 on: 10 / June / 2015, 17:09:54 »
The calibration UI exists in 0.2.3 Beta build 286
0.2.3 beta 26 (latest on google code) has the ui, it's just that it was renamed and moved.
:-[ Now I remember...
As for the failure: it could be that those sensors (1/2.3", 16...20MP) simply can't deliver noise-free images even at base ISO.

*

Offline reyalp

  • ******
  • 14111
Re: IXUS160/ELPH160 Porting attempt
« Reply #85 on: 10 / June / 2015, 17:24:06 »
As for the failure: it could be that those sensors (1/2.3", 16...20MP) simply can't deliver noise-free images even at base ISO.
The other thing that occurred to me is that the distortion and vignette correction could have an impact. In this case, there might be some zoom settings that give better results.
Don't forget what the H stands for.

Re: IXUS160/ELPH160 Porting attempt
« Reply #86 on: 11 / June / 2015, 00:01:04 »
Hi adong.

You have to create the camera profile yourself using the calibration picture, as detailed in the wiki.

I tried to do it in the dng4ps-2, but looks like I need to know some parameters for that:
Sensor size
Active zone x1,y1
Active zone x2,y2
Black-white levels
Mosaic type

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #87 on: 11 / June / 2015, 02:24:46 »
As for the failure: it could be that those sensors (1/2.3", 16...20MP) simply can't deliver noise-free images even at base ISO.
The other thing that occurred to me is that the distortion and vignette correction could have an impact. In this case, there might be some zoom settings that give better results.

I did try to reduce distortion by zooming halfway, when fully zoomed out distortion is pretty heavy.


alex, the settings were posted by srsa a few posts ago.


Re: IXUS160/ELPH160 Porting attempt
« Reply #88 on: 11 / June / 2015, 02:40:45 »
alex, the settings were posted by srsa a few posts ago.

Oh, yes, sorry. I missed this message.

Patch for dcraw from author by photos from http://chdk.setepontos.com/index.php?topic=12321.msg122801#msg122801:

--- dcraw.c     2015/05/25 02:29:14     1.476
+++ dcraw.c     2015/06/11 05:53:40
@@ -8228,6 +8228,7 @@
     { 19131120,4168,3060,92,16, 4, 1,40,0x94,0,2,"Canon","PowerShot SX220 HS" },
     { 21936096,4464,3276,25,10,73,12,40,0x16,0,2,"Canon","PowerShot SX30 IS" },
     { 24724224,4704,3504, 8,16,56, 8,40,0x94,0,2,"Canon","PowerShot A3300 IS" },
+    { 30858240,5248,3920, 8,16,56,16,40,0x94,0,2,"Canon","IXUS 160" },
     {  1976352,1632,1211, 0, 2, 0, 1, 0,0x94,0,1,"Casio","QV-2000UX" },
     {  3217760,2080,1547, 0, 0,10, 1, 0,0x94,0,1,"Casio","QV-3*00EX" },
     {  6218368,2585,1924, 0, 0, 9, 0, 0,0x94,0,1,"Casio","QV-5700" },

Dcraw homepage: https://www.cybercom.net/~dcoffin/dcraw/
Sources: https://www.cybercom.net/~dcoffin/dcraw/dcraw.c
Command for build: gcc -o dcraw -O4 dcraw.c -lm -DNODEPS

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #89 on: 11 / June / 2015, 11:16:13 »
Patch for dcraw
Before you attempt to submit this patch to the dcraw author note that the color matrix data shown on the screenshot is just an unadjusted copy from another random camera. It just happened to look not completely wrong... Hmmm, that patch doesn't even include most of that data :) Anyway, I leave this here.
« Last Edit: 11 / June / 2015, 11:18:52 by srsa_4c »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal