Reading sensor data without closing shutter? - page 3 - Script Writing - CHDK Forum
supplierdeeply

Reading sensor data without closing shutter?

  • 70 Replies
  • 29582 Views
*

Offline Ant

  • *****
  • 509
Re: Reading sensor data without closing shutter?
« Reply #20 on: 30 / January / 2018, 13:32:04 »
Advertisements
Do you see the focus lines directly on the sensor?
No. Do you?

By the way calling Capture.SetGainAdjustmentMode allows to adjust FRSP image exposure(and standard captures too) using SetCMOSGainValue, SetCdsGainValue, SetVgaGainValue and maybe other functions too. I'm not sure how safe this is for an image sensor...
« Last Edit: 30 / January / 2018, 13:44:44 by Ant »

*

Offline c_joerg

  • *****
  • 1248
Re: Reading sensor data without closing shutter?
« Reply #21 on: 30 / January / 2018, 13:42:16 »
No. Do you?
No…
But other guys can see it and they see the lines in the pictures after massive image processing
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 srsa_4c

  • ******
  • 4451
Re: Reading sensor data without closing shutter?
« Reply #22 on: 30 / January / 2018, 15:55:57 »
I think this is because of FPGA.
After calling SetSafFPGABypassMode I've got an image with some sort of focus pixels.
That's useful info (about the FPGA) and it makes sense. The M10 doesn't have it, the FPGA related functions are empty. BTW, Saf seems to expand to "safari" and seems to be the code name of the on-sensor AF. I've seen lots of related strings.
Quote
Are there focus pixels on images created by CaptureWithParam
Don't know what those params are, so I did not attempt to call it.
Quote
or Capture.WholeSerial ?
Got E31 when I tried, according to romlog.

By the way calling Capture.SetGainAdjustmentMode allows to adjust FRSP image exposure(and standard captures too) using SetCMOSGainValue, SetCdsGainValue, SetVgaGainValue and maybe other functions too. I'm not sure how safe this is for an image sensor...
Those are too deep level for my taste. Plus I'd prefer to avoid running stuff that might permanently "adjust" the hardware  :P

*

Offline Ant

  • *****
  • 509
Re: Reading sensor data without closing shutter?
« Reply #23 on: 31 / January / 2018, 05:39:07 »
Saf seems to expand to "safari" and seems to be the code name of the on-sensor AF.
I assume that SAF is Servo Auto Focus implemented in FPGA.

Quote
Got E31 when I tried, according to romlog.
Did you execute Capture.Create and Mecha.Create before this?


*

Offline srsa_4c

  • ******
  • 4451
Re: Reading sensor data without closing shutter?
« Reply #24 on: 31 / January / 2018, 11:50:18 »
Did you execute Capture.Create and Mecha.Create before this?
Thanks, that helped. Phase detect pixels are present.

*

Offline Ant

  • *****
  • 509
Re: Reading sensor data without closing shutter?
« Reply #25 on: 31 / January / 2018, 15:48:36 »
Phase detect pixels are present.
You can also play with function FC5B9A48(M10_110D). It has only four parameters that can be guessed. Try to set modes listed at FC5B9C88. There was no effect on m3, but maybe it will work on m10...

*

Offline srsa_4c

  • ******
  • 4451
Re: Reading sensor data without closing shutter?
« Reply #26 on: 01 / February / 2018, 12:50:22 »
You can also play with function FC5B9A48(M10_110D). It has only four parameters that can be guessed. Try to set modes listed at FC5B9C88. There was no effect on m3, but maybe it will work on m10...
My current plan is to compare capt_seq's still image path (the raw type part) to Capture.WholeParallel's. But I'm working on eventproc related stuff ATM (found at least a dozen unrecognized eventproc tables, I'd like to get them into funcs_by*.csv).
Making FRSP a CHDK feature would be a nice addition - whether it's possible on Powershots with CMOS sensor is still to be found out.

*

Offline srsa_4c

  • ******
  • 4451
Re: Reading sensor data without closing shutter?
« Reply #27 on: 02 / February / 2018, 12:42:27 »
I assume that SAF is Servo Auto Focus implemented in FPGA.
Out of curiosity, I used the sigfinder (with my current patch) on the M6 dump. The group of event procedures that begin with "saf" on the M3 and M10, begins with "daf" on the M6.


*

Offline Ant

  • *****
  • 509
Re: Reading sensor data without closing shutter?
« Reply #28 on: 02 / February / 2018, 13:48:26 »
Do you mean Single pixel AF vs. Dual pixel AF ?

*

Offline srsa_4c

  • ******
  • 4451
Re: Reading sensor data without closing shutter?
« Reply #29 on: 02 / February / 2018, 14:09:13 »
Do you mean Single pixel AF vs. Dual pixel AF ?
I don't know what S means. Canon's codename for this technology is "Safari" - also appearing in the 750D dump, DAF seems to expand to "Dafigaro" (from M6 strings).

 

Related Topics