CHDK on SD4000/IXUS 300 HS - page 6 - General Help and Assistance on using CHDK stable releases - CHDK Forum

CHDK on SD4000/IXUS 300 HS

  • 79 Replies
  • 28603 Views
Re: CHDK on SD4000/IXUS 300 HS
« Reply #50 on: 02 / September / 2017, 10:31:29 »
Advertisements
But we can't do that, ISO 126 is noisier than ISO 125!
:lol

Quote
So, both patches will be included later today, or tomorrow?
Both patches have been added to the autobuild server download zip files.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline hwntw

  • ***
  • 159
Re: CHDK on SD4000/IXUS 300 HS
« Reply #51 on: 02 / September / 2017, 11:03:17 »
CHDK grids do not fit on my Ixus 300 HS. They are shifted to the left on my camera screen. I think that the Ixus 300 screen dimensions are not a standard size? At the sides of the screen are two wide black margins where the Canon OSD info is shown. CHDK grids are shifted so that they overlap the left hand margin
Ixus 300HS S100


Windows 10

Re: CHDK on SD4000/IXUS 300 HS
« Reply #52 on: 02 / September / 2017, 12:27:34 »
OSD looks good with the latest build on my screen. I loaded my CFGs from previous build without issues.
Flash crash is gone, and the lever can be adjusted after zoom_set.

There are just two things I want to ask about:

After zoom_set, I have to zoom IN first, I cannot zoom out. Only after zooming in, I can zoom out... Is there a particular reason for this - does it have to be this way?

Also, I was wrong about auto ISO behavior with flash On. CHDK A-ISO selects min ISO in dark environment. Canon's A-ISO selects 250. Is there a way to make it work in the "opposite" way? If max A-ISO is 800, I want it to select ISO 800 first, and then add more light by firing flash. This is convenient because it takes less flash (battery) power, plus shadows and backgrounds look brighter. On my DSLR, A-ISO with flash On is implemented this way, it really is more practical in most shooting situations except for macro/studio work. But then you select ISO manually anyway.

Can this auto ISO behavior be adjusted easily?

Edit: After more testing, I found out A-ISO with flash On does go over 125 & 250, it was 500 sometimes. I'm not really sure how is ISO calculated with flash On. It's certainly better than Canon's A-ISO. Maybe we shouldn't touch anything in this latest build.
« Last Edit: 02 / September / 2017, 12:53:22 by Robert1975 »

Re: CHDK on SD4000/IXUS 300 HS
« Reply #53 on: 02 / September / 2017, 13:51:25 »
CHDK grids do not fit on my Ixus 300 HS.
I see that too.  I'll take a look at fixing it.

After zoom_set, I have to zoom IN first, I cannot zoom out. Only after zooming in, I can zoom out... Is there a particular reason for this - does it have to be this way?
Interesting.  If you look at the Canon OSD zoom icon, it seems it does not update when the set_zoom function is issued.  Apparently the camera does not realize that the zoom position has changed.  It still thinks you are zoomed all the way out and thus will not try to zoom any farther out when you press the zoom lever.

I tried doing an "half press" on the shutter button to see if that would cause it to notice the changed zoom position but that didn't work.

I'll try testing the CAM_USE_ALT_PT_MoveOpticalZoomAt option but if that doesn't work we might be at an impasse here.

EDIT : using CAM_USE_ALT_PT_MoveOpticalZoomAt solves the problem as long as I also add CAM_NEED_SET_ZOOM_DELAY.  I'll submit another patch once I finish torture testing and figure out the display issues with the grid settings.

Quote
Can this auto ISO behavior be adjusted easily?
Easily?  I doubt it.  Sorry. I'm certainly not touching that code (see below).

Quote
I'm not really sure how is ISO calculated with flash On.
The operation of the Custom Auto ISO code is generally not well documented.  Looking at the code, Custom Auto ISO disables itself if your flash is set to Auto mode.  But if you set the flash ON or OFF, the code calculates exposure without paying any attention to that setting from what I can tell. I've tried taking two shots with identical settings other than the flash being ON or OFF to see what happens and while the exposure changes, it's not clear to me how the changes are determined.   But it seems having the flash enabled changes the Canon exposure settings and Custom Auto ISO then adjusts from there?

There is an attempt at explaining some of how Custom Auto ISO works here :  CHDK User Manual : Custom Auto ISO but there were major changes accepted in 2011 that  are somewhat explained here : tsvstar Re: Adding new cameras, applying patches into trunk (with source code prepared) but not necessarily well explained in the manual.  If you are feeling the need to help out here,  doing a good edit on that section of the user manual would be a big help - you certainly have the written skills necessary to take that on!
« Last Edit: 02 / September / 2017, 14:14:52 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: CHDK on SD4000/IXUS 300 HS
« Reply #54 on: 02 / September / 2017, 15:02:24 »
Yes, we shouldn't mess with Auto Iso code. And set_zoom is OK for me, leave it the way it is.

I checked the grids, this needs fixing. 3:2 might be useful, Canon's grey bars are unnoticeable. They should have put black bars for 3:2 crop...

Re: CHDK on SD4000/IXUS 300 HS
« Reply #55 on: 02 / September / 2017, 16:17:21 »
Yes, we shouldn't mess with Auto Iso code.
Agreed.

Quote
And set_zoom is OK for me, leave it the way it is.
No. That needs to be fixed - leaving it broken could affect scripts and other things that use the set_zoom function.  I've tested the new patch and it's solid so I'm going to submit it.


CHDK grids do not fit on my Ixus 300 HS. They are shifted to the left on my camera screen. I think that the Ixus 300 screen dimensions are not a standard size? At the sides of the screen are two wide black margins where the Canon OSD info is shown. CHDK grids are shifted so that they overlap the left hand margin
I checked the grids, this needs fixing.
It turns out there are issues with grids when used with anything other than a 360x240 display. The grid code is very old and has not kept up with the display types used on some newer cameras.  Digic6 cams have a big problem with grids - as they do with the various script draw functions.

One solution for the ixus300 is to do customized grid files just for it.  Grid .grd files are simple text files found in A/CHDK/GRIDS and are very easy to edit.  I've attached a sample you can try yourself to see how that works.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDK on SD4000/IXUS 300 HS
« Reply #56 on: 02 / September / 2017, 17:45:07 »
Great, I guess we're almost finished!

Here's a simple 3:2 grid for IXUS 300 HS. I have a headache after editing this, I couldn't calculate much and it was mostly trial and error. I'm not a programmer anyway. But it's such a useful tool for me!!!
I made it just a little bit narrower than Canon's 3:2 overlay which is incredibly useless in practice. With this thin line on screen, I can finally pay attention to 3:2 framing! Canon's overlay was literally invisible in most situations. What were they thinking!?
Color 17 is grey, but then I override this color with bright red and it really helps in framing... It's a THIN RED LINE :lol I highly recommend this, together with Canon's overlay.

Now, to install the latest patch and I'm all set.

Re: CHDK on SD4000/IXUS 300 HS
« Reply #57 on: 02 / September / 2017, 17:56:22 »
Patch won't show up in the autobuild until tomorrow.
It's there!
« Last Edit: 02 / September / 2017, 18:48:29 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline hwntw

  • ***
  • 159
Re: CHDK on SD4000/IXUS 300 HS
« Reply #58 on: 02 / September / 2017, 18:16:20 »
Great, I guess we're almost finished!
Here's a simple 3:2 grid for IXUS 300 HS. I have a headache after editing this, I couldn't calculate much and it was mostly trial and error. I'm not a programmer anyway. But it's such a useful tool for me!!!
The Ixus 310 HS has a similar sized screen, how do grids work on that camera, anyone tried it?
How do we shift the grids to the right? Add n to the x coordinates? I use grids but writing one is not for me. I can use the built in Canon grid, which looks like a Thirds. This is handy for shooting on the go, who else uses grids regularly?
« Last Edit: 02 / September / 2017, 18:21:58 by hwntw »
Ixus 300HS S100


Windows 10

Re: CHDK on SD4000/IXUS 300 HS
« Reply #59 on: 02 / September / 2017, 19:02:41 »
How do we shift the grids to the right? Add n to the x coordinates?
It's a little more complicted but you have the general idea.

Grid coordinates are expressed as x,y point - where x is the number of pixels over from the left hand side of the screen and y is the number of pixels down from the top of the screen.  (i.e. 0,0 is the upper left hand corner and 360,240 is the lower right hand corner on most displays).

So when you have a display that has 480,240 as the lower right hand corner you have to proportionally rescale the x coordinates (only). To do this, divide each x value by 0.75 (i.e. 360/480),  or multiply by 4/3 if you find that easier.

Quote
I use grids but writing one is not for me. I can use the built in Canon grid, which looks like a Thirds.
As I said earlier, grid are just a simple text file.  Open it with notepad.exe on your PC, scale the x values (the first and third value on each line that starts with @line), save the file and copy it to the A/CHDK/GRIDS folder on your SD card.  Easy-peasy as nothing bad will happen if you make a mistake - it just won't look right on the display.

Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal