G1X + others ISO override issues (was Re: rawopint.lua) - page 2 - General Discussion and Assistance - CHDK Forum

G1X + others ISO override issues (was Re: rawopint.lua)

  • 65 Replies
  • 35203 Views
*

Offline c_joerg

  • *****
  • 1248
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #10 on: 05 / July / 2017, 03:14:19 »
Advertisements
I was able to find the task and location where the svdelta value is being overwritten, and by patching this code I can now get all the different variations to produce the same results in the isoinc.lua test script (Cont/CHDK, Cont/Script, Single/CHDK & Quick/CHDK).

Would that be similar to other cameras? We have seen similar effects on the S110 and SX50.

but I hope to be able to post test builds over the next few days if anyone wants to try it out.

Yes I interested about test builds (101a).
However, I go friday on holiday so it could take some time with the results.


M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #11 on: 05 / July / 2017, 05:16:02 »
Test build for G1X 1.01a.


Make sure to update modules as well as DISKBOOT.BIN and PS.FI2.


I have not tried the rawopint.lua script yet; but on my camera (1.00f) the isoinc.lua script now gives me consistent results.


Phil.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3450
    • Photos
For review - patch to enable G1X ISO adjustment value to be passed to the rawop.meter function.


This adds a new value to the camera_sensor structure, which rawop_meter can use to cook the meter calculation.
The value is set by the patched G1X code for each shot.


reyalp - is this ok, can you think of a better way to handle this?


Phil.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline c_joerg

  • *****
  • 1248
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #13 on: 05 / July / 2017, 05:34:01 »
Test build for G1X 1.01a.

Thanks…

I have not tried the rawopint.lua script yet;

So I will test it with rawopint and my test video.

but on my camera (1.00f) the isoinc.lua script now gives me consistent results.

but this still happen?

The camera still shoots at 1/2 the requested ISO (and sometimes with a different black point), and then cooks the JPG & CR2 data before saving.

M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #14 on: 05 / July / 2017, 05:38:03 »
but this still happen?

The camera still shoots at 1/2 the requested ISO (and sometimes with a different black point), and then cooks the JPG & CR2 data before saving.


Yes, I haven't been able to fix this.


The changes should make the rawop meter reading match the saved JPG/CR2 image in all cases.
There should be no unusual jumps in either the meter or image brightness.


CHDK DNG images are not fixed - if the camera shoots at 1/2 ISO they will be  1/2 brightness. So stick with Canon JPG or CR2 image files.


Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline udo

  • ***
  • 123
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #15 on: 05 / July / 2017, 09:10:43 »
Interesting read, thanks for the care for rawopint.

Questions:
Does the fix improve anything for S110? (I did not find any issues b esides the one(s) found while setting things up last year)
Does anybody have any M10 experiences with(hout) this fix and rawopint?

These might also be interesting to other rawopint users seeking a smallish timelapse camera or do not mind a slightly larger one.

*

Offline c_joerg

  • *****
  • 1248
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #16 on: 05 / July / 2017, 13:32:37 »
Does the fix improve anything for S110?
The fix from lapser https://chdk.setepontos.com/index.php?topic=13191.msg133698#msg133698 worked on my S110…
Does anybody have any M10 experiences with(hout) this fix and rawopint?
 
I haven’t seen any run on the M10…

CHDK DNG images are not fixed - if the camera shoots at 1/2 ISO they will be  1/2 brightness. So stick with Canon JPG or CR2 image files.
Interesting.
I made a rawopint run in continuous mode with your fix.
I don’t see this brightness jumps in JPG and Canon CR2….
On which ISO do you see it?
I haven’t investigated EXIF data...
« Last Edit: 05 / July / 2017, 13:34:18 by c_joerg »
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline c_joerg

  • *****
  • 1248
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #17 on: 05 / July / 2017, 13:53:02 »
SV from log and EXIF ISO are looking OK
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #18 on: 05 / July / 2017, 17:57:17 »
Interesting.
I made a rawopint run in continuous mode with your fix.
I don’t see this brightness jumps in JPG and Canon CR2….
On which ISO do you see it?
I haven’t investigated EXIF data...


In continuous mode you don't get a jump in the Canon image brightness, the problem is the rawop meter is wrong.
This happens when Tv >= 1.3s and ISO >= 400 - that's when the camera starts shooting at 1/2 ISO and cooking the image files.


If Tv never goes over 1.3s or ISO over 400 you won't see a problem.
Similarly if Tv is always > 1.3s and ISO > 400 then you also won't see a problem - the meter will be wrong; but it won't jump.


Where you hit the issue with the old code is if Tv >= 1.3s and the ISO changes across the 400 boundary - in this case the rawop meter would change drastically from it's previous value (up or down depending on which way the ISO went). You would also see a meter jump if ISO > 400 and Tv changes across the 1.3s boundary.


Phil.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline c_joerg

  • *****
  • 1248
Re: G1X + others ISO override issues (was Re: rawopint.lua)
« Reply #19 on: 06 / July / 2017, 01:29:34 »
If Tv never goes over 1.3s or ISO over 400 you won't see a problem.
Similarly if Tv is always > 1.3s and ISO > 400 then you also won't see a problem - the meter will be wrong; but it won't jump.

On my test with rawopint
Tv go first to 2.5s
Then ISO goes from 100 to 3200.
So I have to see the problem.

If I run original version, I see the jump in JPG and in meter values from rawop (first post, upper plot)

I run your fix with rawopint, JPG and RAW is OK . Meter values from rawop OK. EXIF data OK. For me it looks like, with your fix everything is OK.

Same with lapser fix in the rawopint code (first post). Everything is OK

Do you notice this:
Lapser fix works in rawopint but not in isoinc. We got different results. Why? We don’t know
This was lapsers answer

I'm not sure sure how isoinc does this, but the timing is critical when the script can do this and have it work. It has to be in continuous mode while hook_raw is ready and before hook_raw.continue().
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal