CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD - page 44 - Creative Uses of CHDK - CHDK Forum
supplierdeeply

CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD

  • 704 Replies
  • 140784 Views
*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #430 on: 28 / July / 2013, 15:01:38 »
Advertisements
QUESTION ... Is it enough to only replace the CHDK 1.2 BIN to do the dump ?

 Reason: I want to go back easily to V1.1 after the dump.

*

Offline srsa_4c

  • ******
  • 4450
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #431 on: 28 / July / 2013, 15:13:13 »
QUESTION ... Is it enough to only replace the CHDK 1.2 BIN to do the dump ?
No. 1.1 and 1.2 modules are not compatible. Copy the .bin and the CHDK/MODULES folder to the card. Restore the originals when you're finished with the dumps. CHDK 1.2 uses a different configuration file, so the old one won't be affected.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #432 on: 28 / July / 2013, 17:08:10 »
Quote
3) activate ALT mode, press the button that is the debug shortcut on your camera(*), exit ALT mode, half-press the shutter, wait until the dump completes (if there's an LED on the camera that lights when CHDK RAW is saved, the same LED will show when RAM is dumped)

I need some extra clarity on step #3.  I am getting somewhere, got the parameters set up, the gray debug menu, but pressing DISP in the gray menu does nothing.  I tired all buttons, no change.  I can ext the debug menu by Alt, and then if I half-press the shutter, a light blinks, but I'm not sure what's happening ... maybe it's correct action because I now see 10 new files CRW_00XX.JPG in the 100CANAON folder.

Is that the idea?  ...  Is it possible I have to enter DEBUG MENU by Alt, press Alt to exit, and then half-press shutter, and repeat for all zoom settings??

While I am pressing half-shutter, I see a 2-digit counter in the upper right that's running.  Is it relevant?

Do I keep the shutter half-pressed until light stops blinking?  How long could that take?

edit: 
I see now I have to press DISP (a light blinks once) and then maybe when I press the half-shutter I get a dump file.  But I still need to know if I have to keep the shutter button pressed and for how long.

edit:
The files are of the right size.

edit:
It seems that it's the DISP button that *actually* writes the file, not the half shutter, correct?  Hence you want me to .....
  a) change the zoom
  b) Press half-shutter once to engage code etc
  c) go into DEBUG gray menu with <Alt>
  d) Press DISP (write file)
  e) Exit DEBUG with <alt>
  f) go back to (a)
Correct?
« Last Edit: 28 / July / 2013, 17:36:41 by SticK »

*

Offline srsa_4c

  • ******
  • 4450
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #433 on: 28 / July / 2013, 17:26:20 »
@SticK

You only need the CHDK menu to set up things. In 3) I'm talking about ALT mode (which you can enter/exit using the print/shortcut button). The DISP button reacts differently in the CHDK menu.
About the LED: if the camera only has one, it may blink when half-shooting, so just ignore it.

The dumping procedure is:
- Enter ALT mode (ALT is displayed at the bottom)
- Press that 'debug shortcut' button (which is probably 'DISP') momentarily
  An internal counter starts now, you have 5 seconds(*) to do the half-shoot
- Exit ALT mode
- Press (and hold) the shutter button halfway
- Wait for the dump to finish (that's less than 6 seconds)
- Release the shutter button
- Zoom one step in
- Repeat the above steps until all zoom steps are done.


(*) That's the delay you can set in the debug menu. Note that you need to re-set this if you switch the cam off, the default is 0 seconds (immediate dump).
« Last Edit: 28 / July / 2013, 18:03:18 by srsa_4c »


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #434 on: 28 / July / 2013, 17:51:39 »
This helps greatly, with the shutter button pressed all the time?

edit: It looks like I got it ... while the shutter button is down, my light blinks orange, then there is one single blink green, and that must be the dump, and I can release after that.  Part of the problem was the timer was resetting after PDN.  Allow me to do all this with care now.
« Last Edit: 28 / July / 2013, 18:03:11 by SticK »

*

Offline srsa_4c

  • ******
  • 4450
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #435 on: 28 / July / 2013, 18:01:42 »
This helps greatly, with the shutter button pressed all the time?
I have inserted the missing steps in my previous post.

BTW.
2 digit counter: it's the seconds part of the camera clock

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #436 on: 28 / July / 2013, 18:31:04 »
I think this is OK.  The only suspect file is 030, because there I temporarily released the shutter button for an instant just before the green dump blink.  Lowest number is widest zoom.

*

Offline srsa_4c

  • ******
  • 4450
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #437 on: 28 / July / 2013, 18:58:19 »
I think this is OK.  The only suspect file is 030, because there I temporarily released the shutter button for an instant just before the green dump blink.  Lowest number is widest zoom.
Thanks. They look OK at first glimpse, that one dump will not make much difference (I suspect it's OK too). If you can also do the (cropped) RAW-series, that could help determine the zoom-step from which there's no vignetting correction.
I got to leave for now.


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #438 on: 28 / July / 2013, 20:23:55 »
I am not certain what in the two RAW corner samples you want to draw my attention to.   Is it the horizontal intensity gradient, the fine border (your Fig 2 does have a fine border too, but hard to see because it's brighter)?  One has to keep in mind that distcorr also affects RAWs (and LIVEVIEW).  Can you please be more specific ?

You said earlier .....
Quote
Do not use native RAW or JPG, as both are corrected.
Note quite.  I can use native CR2s!  Yes, the JPGs are corrected, but the CR2s are not.  I discovered this and made a big deal somewhere in this thread.  They appear correct in Canon PC software because it detects their own RAW files and applies the *same algorithms* that are in the camera for correcting JPGs, in PC software for displaying the native RAWs.  But if you look at a CR2 with Rawtherapee, it is uncorrected !!!  That's what we want on this side of the planet.

WRT the borders .....

Now I have some answers.  In general, this is what I see on the 100c with lens.  Firstly, this border is problematic because it appears in both DNGs and CR2s.  I see it on the 101c instrument camera too.  As such, it will give stitching issues in instrument mosaics if not suppressed (but suppressing this may not be possible unless it's directly related to vignetting).  At full wide the DNG border is 2X thicker than the CR2, but the left side has no border.  The CR2 is 1/2 thickness with a border around the whole image.

CR2s -- 10 zoom levels 3676x2752, thin border around whole image

Zoom 0 to 7: visible border
Zoom 8 & 9: no visible border

All images same size.

DNGs -- 10 zoom levels 3668x2760, thick border, top, right, and bottom

Zoom  0 to 3: visible border
Zoom 4: faint border
Zoom 5-7: very faint border, needs TC+ to see
Zoom 8 & 9: no visible border

The extra bit of info ... a CR2 is 3676x2752, but the JPG 3648x2736 (looks like the JPG is smaller by the thickness of the border), and the interesting thing is that the two sizes stay the same for all zooms I tested.  I think the border is there all way through -- it just gets more faint.  It's possible this is related to vignetting but I can't see how.
« Last Edit: 28 / July / 2013, 23:29:09 by SticK »

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP: S90 Primary Focal Plane Configuration - hacking out the CCD
« Reply #439 on: 29 / July / 2013, 10:05:11 »
ZOOM SERIES RESULTS

I'm not sure if this is what you were expecting, but I see that the border is there all the way through, it just gets fainter with zoom.  These results must be surely useful, but perhaps not for finding the vignetting correction cut-over.

Fig 1 is DNG.  Fig 2 is native CR2 (viewed with Rawtherapee, not Canon PC software which corrects).  The only fundamental difference I see is border thickness as I described in the previous post (ie the DNG is slightly larger than the CR2).  Overall, it seems the CR2s behave the same way as the DNGs, and in both the border never really vanishes abruptly.

Viewer zoom is 300%.

Hope this helps.
« Last Edit: 29 / July / 2013, 10:17:07 by SticK »

 

Related Topics