Manual Focus @ Infinity not working - page 11 - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum supplierdeeply

Manual Focus @ Infinity not working

  • 151 Replies
  • 58068 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Manual Focus @ Infinity not working
« Reply #100 on: 14 / November / 2014, 20:08:45 »
Advertisements
The attached zip file contains a modified version of CHDK 1.3 for each of the S100 firmware versions (I didn't know which versions you have). You'll need to unpack it then find the zip for your firmware, then unpack that.
@philmoz :  please post a patch file as well?  I'll test on my S100 and maybe some of my other cameras for comparison.

Patch attached. Should only require a rebuild for other cameras; but make sure to regenerate stubs_entry.S to get the GetFocusLensCurrentPosition function.

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)

Re: Manual Focus @ Infinity not working
« Reply #101 on: 15 / November / 2014, 05:21:12 »
Quote
The apparent random nature of this whole thing makes it particularly frustrating.
for sure ! this point is driving me crasy for more than a year ! (hopefully AF is working) Especially because, as you say, a lot of test "at home, camera in hands" are usually OK. and then, when implementing in kap, results are grrrrrrrrr !!

Phil, here are the results:
                  WA    value               tele value
AF            pic 6221   290            pic 6225   213 please note 1st number never reached -1 but was 16895

MF                 pic 6222   298            pic 6226    195
inf Over         pic 6223   300            pic 6228   195
inf over 2         pic 6224   300            pic 6229   195

pictures at tele position are OK.
I've a serious doubt at shorter focal:
pic2 http://micheldehaye.perso.sfr.fr///perso/temp/test/IMG_6222.JPG seems blurred and focus made on shorter distance: somewhere on the street as far as i can judge
I have the same judgement for 3 and 4th pic. ( sorry 4th is different frame because I wanted to have a very close subject to check, but result seems similar
All pics are here http://micheldehaye.perso.sfr.fr///perso/temp/test

I cannot interpret what are the correct values anticipated, but it seems that
at wide angle, results are illustrating the problem: AF is OK, MF seems at least soft ! and focus seems made on shorter distance
at longer focal, no apparent pb.
This is typically what I usually get.

Not sure i understand what is the patch for  ::)
« Last Edit: 15 / November / 2014, 05:32:04 by Michel2e »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Manual Focus @ Infinity not working
« Reply #102 on: 15 / November / 2014, 05:48:18 »
Quote
The apparent random nature of this whole thing makes it particularly frustrating.
for sure ! this point is driving me crasy for more than a year ! (hopefully AF is working) Especially because, as you say, a lot of test "at home, camera in hands" are usually OK. and then, when implementing in kap, results are grrrrrrrrr !!

Phil, here are the results:
                  WA    value               tele value
AF            pic 6221   290            pic 6225   213 please note 1st number never reached -1 but was 16895

MF                 pic 6222   298            pic 6226    195
inf Over         pic 6223   300            pic 6228   195
inf over 2         pic 6224   300            pic 6229   195

pictures at tele position are OK.
I've a serious doubt at shorter focal:
pic2 http://micheldehaye.perso.sfr.fr///perso/temp/test/IMG_6222.JPG seems blurred and focus made on shorter distance: somewhere on the street as far as i can judge
I have the same judgement for 3 and 4th pic. ( sorry 4th is different frame because I wanted to have a very close subject to check, but result seems similar
All pics are here http://micheldehaye.perso.sfr.fr///perso/temp/test

I cannot interpret what are the correct values anticipated, but it seems that
at wide angle, results are illustrating the problem: AF is OK, MF seems at least soft ! and focus seems made on shorter distance
at longer focal, no apparent pb.
This is typically what I usually get.

Not sure i understand what is the patch for  ::)

Thanks for that.

The CHDK infinity values match the Canon MF values at both wide and tele zoom which is good.

The AF at the tele zoom was not focussing on an object far enough away to get to infinity focus. If you can find something further away it should go to infinity (-1).

The AF at the wide end focussed further away than MF infinity focus (lens position value is smaller) - I've not seen this on any of my cameras.

Looking at the images 6222, 6223 & 6224 I'm not sure it's a focus issue - applying some sharpening to the JPEG images makes them look a lot closer to 6221.

When you have some time, can you please redo the tests; but save Canon RAW images instead of JPEG (there's a lot of compression artefacts and noise reduction smearing the images). This might help determine if the problem has something to do with the in camera sharpening of the images rather than focus.

Also, if possible don't shoot through a window, the glass can cause distortion of the image, and reflections can fool the AF.

(The patch is for waterwingz so he can test on other cameras.)

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)

Re: Manual Focus @ Infinity not working
« Reply #103 on: 15 / November / 2014, 06:09:44 »
Quote
Looking at the images 6222, 6223 & 6224 I'm not sure it's a focus issue -
I'm quite sure it is: the grid on the street is almost sharp while long distance are blurred. this is typically what i got when the kite line is visible: sharp at short distance.
I have the raw files I'll upload. will probably take time.
Quote
When you have some time, can you please redo the tests
I've redone with second camera: and results are correct !
pics are sharp (even through the window ;-) and value returned is 346 or 348. are these anticipated values for infinity ?

Camera issue is appearing again ! I'll check the other with different sw.


Re: Manual Focus @ Infinity not working
« Reply #104 on: 15 / November / 2014, 08:40:06 »
This might help determine if the problem has something to do with the in camera sharpening of the images rather than focus.
Now that would be an interesting thing if so!

and value returned is 346 or 348. are these anticipated values for infinity ?
If those numbers are the wide angle mechanical position at infinity then they are a lot different than what my S100 shows!

Update :  I modified the patch to look at the effect of the menu entries for Canon Subj. Dist. as Near Limit [ *  ]  and Use EXIF subj. Dist. (Propcase #65)  [ *  ] on the reported values.   As expected, on my S100 they tweak the focus point a bit at near CHDK Subj. Dist. override values and have no effect at infinity ( -1 ) .
« Last Edit: 15 / November / 2014, 09:16:00 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Manual Focus @ Infinity not working
« Reply #105 on: 15 / November / 2014, 10:38:37 »
As we seem to be currently focused on the S100 for this testing (pun intended),  it might make sense to specify ISO80 and Av priority mode set at f2.0 for these tests? 

That should help eliminate some of the sensor noise and some DOF changes if the camera tries adjusting exposure (f-stop) during testing.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Manual Focus @ Infinity not working
« Reply #106 on: 15 / November / 2014, 11:49:55 »
I took advantage of a small walk this afternoon to check wether the camera positively tested this morning was OK when kapping.
I use same script as yesterday (no action on focus) and set the MF at infinity once before starting the script.
a quick look at the pics shows correct sharpness.
most often the value displayed on screen was 346

I then tried to use AF mode but unfortunately my script is using a "shoot_full_only" command. so i guess the focus was not done correctly.

Do you know what should be the corresponding value for infinity ?

Re: Manual Focus @ Infinity not working
« Reply #107 on: 15 / November / 2014, 13:52:35 »
In case there's some affect being introduced by using scripts, I'd like to try some tests without any scripting if you have the time.
Went out with tripod in hand, set the camera to f2.0, ISO80 and a 2 second timer delay.  Can't get much more stable than that.   All lens positions reported the same in all four shot tests.  Pixel peeping at the resulting images ( Canon CR2 ) shows no difference in focus between the four shooting situations.

I guess I could try running the tests over several hundred images using an intervalometer to look for "drift" ?
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Manual Focus @ Infinity not working
« Reply #108 on: 15 / November / 2014, 15:31:19 »
In case there's some affect being introduced by using scripts, I'd like to try some tests without any scripting if you have the time.
Went out with tripod in hand, set the camera to f2.0, ISO80 and a 2 second timer delay.  Can't get much more stable than that.   All lens positions reported the same in all four shot tests.  Pixel peeping at the resulting images ( Canon CR2 ) shows no difference in focus between the four shooting situations.

I guess I could try running the tests over several hundred images using an intervalometer to look for "drift" ?

Good suggestions. Controlled testing is really needed here to eliminate any other potential sources of change.

I'd also suggest checking in the Canon menus to make sure anything that could impact focus is turned off (Servo AF, Continuous AF,  Safety MF, etc).

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)

Re: Manual Focus @ Infinity not working
« Reply #109 on: 15 / November / 2014, 15:33:06 »
I'd also suggest checking in the Canon menus to make sure anything that could impact focus is turned off (Servo AF, Continuous AF,  Safety MF, etc).
One advantage of using test scripts - it checks for that.  And they are turned off on my S100 - I double checked.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal