proposal - script shooting hooks - page 14 - General Discussion and Assistance - CHDK Forum

proposal - script shooting hooks

  • 290 Replies
  • 120898 Views
*

Offline reyalp

  • ******
  • 14125
Re: proposal - script shooting hooks
« Reply #130 on: 13 / April / 2015, 17:23:07 »
Advertisements
I made a couple of trys with isonic between sv96=590 – 610. The peak at 603 is always reproducible. After 10 runs it stopped ones (Tv=8s, Sv=590). The run was with dark frame subtraktion.
Are you sure you have the most recent version of CHDK/LUALIB/hookutil.lua installed? In r4138, I made it adjust the add shutter and dark frame time to the standard 10 second timeout. Of course, there could be bugs...

Quote
so than I can’t run both cams with the same sd card without changes…
Yes, unfortunately this is how it is.
Don't forget what the H stands for.

*

Offline c_joerg

  • *****
  • 1251
Re: proposal - script shooting hooks
« Reply #131 on: 14 / April / 2015, 03:22:22 »
Quote
Are you sure you have the most recent version of CHDK/LUALIB/hookutil.lua installed? In r4138, I made it adjust the add shutter and dark frame time to the standard 10 second timeout.
Yes, but I will check again…

I analyzed sleep and raw_ready of the last rawopint runs. I can always see a jump in the S110 runs at tv > 1s.  But never in the G1X runs. May be the G1X start earlier and smoother.

rawopint8 => S110 without RAW
rawopint6 => G1X without RAW

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

  • *****
  • 1251
Re: proposal - script shooting hooks
« Reply #132 on: 14 / April / 2015, 03:24:01 »
Runs with Raw are very noisy.
rawopint7 => G1X with RAW


Update:
I`m  using r4138....
« Last Edit: 14 / April / 2015, 13:25:06 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 philmoz

  • *****
  • 3450
    • Photos
Re: proposal - script shooting hooks
« Reply #133 on: 15 / April / 2015, 08:46:54 »
I've added a fix for the G1X in revision 4153 (version 1.4 only at the moment).

This calculates the black point from the sensor masked area on each image, instead of using a fixed value.

In my testing this seems to fix the metering calculation in rawop_meter, as well as making DNG's saved with CHDK look correct.

Note, the 'raw merge' code has not been updated to handle the case where input files may have different black points. Attempting to use the raw merge functions on such files is likely to cause strange 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 c_joerg

  • *****
  • 1251
Re: proposal - script shooting hooks
« Reply #134 on: 15 / April / 2015, 14:20:32 »
Made the last update and run isoinc from sv=520 to 740. Looks good expect the peak on sv=603. Good job  :) . On higher ISO values meter96 gets more noisy which I would expect…
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 reyalp

  • ******
  • 14125
Re: proposal - script shooting hooks
« Reply #135 on: 15 / April / 2015, 16:25:45 »
Just a note the rawopint.lua script (and other rawop code) may not work correctly with this. In the C code, the raw_neutral and log2_raw_neutral_count values are calculated at script start time. The scripts also only call rawop_fb_info once at startup.

I'll have to look at the code in more detail to know what the exact implications are, but it will affect the neutral value and the ev96 <=> raw count conversions.

edit:
I should add, this is not an objection to Phil's fix, just a warning that the script may not be completely fixed.
« Last Edit: 15 / April / 2015, 16:28:49 by reyalp »
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: proposal - script shooting hooks
« Reply #136 on: 15 / April / 2015, 17:53:10 »
Made the last update and run isoinc from sv=520 to 740. Looks good expect the peak on sv=603. Good job  :) . On higher ISO values meter96 gets more noisy which I would expect…

This appears to be the point where the other behaviour I mentioned kicks in.

At Sv=603 (ISO 400), the actual ISO used by the camera is 200 and the JPEG is boosted to compensate (and shows an ISO of 400).

Above Sv 603, the camera uses the requested ISO; but is still boosting the JPEG by 1 stop.

I haven't found the cause for this yet.

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
Re: proposal - script shooting hooks
« Reply #137 on: 15 / April / 2015, 17:54:13 »
Just a note the rawopint.lua script (and other rawop code) may not work correctly with this. In the C code, the raw_neutral and log2_raw_neutral_count values are calculated at script start time. The scripts also only call rawop_fb_info once at startup.

I'll have to look at the code in more detail to know what the exact implications are, but it will affect the neutral value and the ev96 <=> raw count conversions.

edit:
I should add, this is not an objection to Phil's fix, just a warning that the script may not be completely fixed.

It's never easy is it ::)

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

  • *****
  • 1251
Re: proposal - script shooting hooks
« Reply #138 on: 16 / April / 2015, 15:34:18 »
Lapser:
Quote
but it didn't happen in continuous mode on the G1X

maybe this is the easiest solution

reyalp:
Quote
I already have it in the contae script.

I tried to run contae.lua today but I was wondering about two things:
1) That I have to hold the shutter always pressed…
2) That I can’t change the Interval… I thougt it was put a delay in continuous mode…

A misunderstanding about my side how to use it?
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 reyalp

  • ******
  • 14125
Re: proposal - script shooting hooks
« Reply #139 on: 16 / April / 2015, 16:43:55 »
I tried to run contae.lua today but I was wondering about two things:
1) That I have to hold the shutter always pressed…
2) That I can’t change the Interval… I thougt it was put a delay in continuous mode…
contae has a different purpose than rawopint. It is meant to provide a kind of continuous mode autoexposure for the cameras that don't have it, so you can shoot a moving subject that goes through different lighting. Many high end powershots already have a mode like this, but the older and lower end ones don't. It's not an intervalometer.

What I meant by that comment earlier is that I already implemented the logic to use continuous mode in contae, so porting it over to rawopint won't be too difficult.

Due to RL stuff, I haven't had much time for CHDK recently. I should have more time again after next week.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal