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

Manual Focus @ Infinity not working

  • 151 Replies
  • 40261 Views
*

Offline eponymous

  • *
  • 38
  • Canon A4000
Re: Manual Focus @ Infinity not working
« Reply #50 on: 31 / October / 2014, 10:21:09 »
Advertisements
As for the infinity focus, I confirm what eponymous and watterwingz say: my long distance photos (the MF ones) are completely out of focus, so they seem to confirm the past infinity guess from waterwingz
Would you try pointing the camera to something "off in the distance" and then using the script parameter called "Distance" to run the tests at 5. 10 and 20?

The first shot will be AF (autofocus) mode and should be at infinity (using the Canon firmware).  The next two will be under CHDK control. 

It will be interesting to see how the mecha position and actual focus in the images compare at those settings.
To be clear: aim at something "infinitely" far away with the script set to 5, 10, and 20 m?
John

Re: Manual Focus @ Infinity not working
« Reply #51 on: 31 / October / 2014, 10:26:17 »
Would you try pointing the camera to something "off in the distance" and then using the script parameter called "Distance" to run the tests at 5. 10 and 20?

Code: [Select]
Focus Test 5.0m
AUTO: SD:infinity mecha:1079
AFL : SD:infinity mecha:1078
MF  : SD:infinity mecha:1068
*** FINISHED ***
Focus Test 10.0m
AUTO: SD:infinity mecha:1078
AFL : SD:infinity mecha:1079
MF  : SD:infinity mecha:1069
*** FINISHED ***
Focus Test 20.0m
AUTO: SD:infinity mecha:1079
AFL : SD:infinity mecha:1079
MF  : SD:infinity mecha:1069
*** FINISHED ***

The AUTO and AFL photos of each test slightly improve focus as we increase the test distance (5, 10, 20)
The  MF photos of each of the three tests are always out-of-focus.
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

Re: Manual Focus @ Infinity not working
« Reply #52 on: 31 / October / 2014, 10:28:59 »

To be clear: aim at something "infinitely" far away with the script set to 5, 10, and 20 m?

That's exactly what I did to get the results I've just posted
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

*

Offline eponymous

  • *
  • 38
  • Canon A4000
Re: Manual Focus @ Infinity not working
« Reply #53 on: 01 / November / 2014, 11:17:39 »
All right, tried the 5/10/20 setting while pointing at something far away:

Focus Test 5.0m
AUTO: SD:1.2m mecha:665
AFL : SD:1.1m mecha:666
MF  : SD:4.8m mecha:656
*** FINISHED ***
Focus Test 10.0m
AUTO: SD:1.2m mecha:665
AFL : SD:1.2m mecha:665
MF  : SD:infinity mecha:654
*** FINISHED ***
Focus Test 20.0m
AUTO: SD:1.0m mecha:667
AFL : SD:1.2m mecha:665
MF  : SD:infinity mecha:653
*** FINISHED ***


The results are still goofy for me. SD is wrongly reported. Not sure why get_focus() is returning the wrong value.

The third (MF) image continues to be completely out of focus. I'd say the second image is slightly better than the first.
John


*

Offline srsa_4c

  • ******
  • 4430
Re: Manual Focus @ Infinity not working
« Reply #54 on: 01 / November / 2014, 11:18:25 »
Tried the script on 2 of my cameras:
Subject was ~ 60 meters away, I had to set my sx280 to 0.5m, my ixus115 to 1m to get similar results to the auto-focused pictures. An SD override of 65 meters resulted in past-infinity focus on both. All this was at wide angle of course.

Code: [Select]
Ixus 115

Focus Test 65.5m
AUTO: SD:0.8m mecha:390
MF  : SD:infinity mecha:380
*** FINISHED ***
Focus Test 5.0m
AUTO: SD:0.9m mecha:389
MF  : SD:6.4m mecha:381
*** FINISHED ***
Focus Test 2.0m
AUTO: SD:0.8m mecha:390
MF  : SD:2.1m mecha:384
*** FINISHED ***
Focus Test 1.0m
AUTO: SD:0.9m mecha:389
MF  : SD:0.9m mecha:389
*** FINISHED ***

sx280

Focus Test 65.5m
AUTO: SD:0.5m mecha:1119
MF  : SD:infinity mecha:1111
*** FINISHED ***
Focus Test 2.0m
AUTO: SD:0.5m mecha:1120
MF  : SD:2.0m mecha:1113
*** FINISHED ***
Focus Test 0.5m
AUTO: SD:0.5m mecha:1120
MF  : SD:0.5m mecha:1120
*** FINISHED ***
« Last Edit: 01 / November / 2014, 11:48:00 by srsa_4c »

Re: Manual Focus @ Infinity not working
« Reply #55 on: 01 / November / 2014, 12:09:00 »
I've updated the script.   It's a little more robust and checks things like the CHDK version being correct and whether the various SD override functions should actually work.

link > https://app.box.com/s/wn8nh0u6oq39hawhsmuq

It also now takes as many as seven shots :
  • Auto focus
  • AFL with focus set at infinity
  • AFL with focus set at hyperfocal point
  • AFL with focus set at hyperfocal point * 2
  • MF with focus set at infinity
  • MF with focus set at hyperfocal point 
  • MF with focus set at hyperfocal point * 2

I'm hoping to find an easy way to get the focus right at infinity by using the calculated hyperfocal distance rather than 65535 (-1).   

Pixel peeping required at this point - sorry for all the photos needed.  Do any of the manually focussed pix match the AF one?

I'm also working on a script that "hunts" for the right value to use for infinity by binary searching set focus values until the reported mecha lens setting matches the value reported by AF. 
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Manual Focus @ Infinity not working
« Reply #56 on: 01 / November / 2014, 14:36:25 »
None of the pictures match the AF one.

Script log:

Code: [Select]
Focus Test 65.5m SD modes:AF,AFL,MF
AUTO: SD:infinity mecha:1089
AFL inf: SD:infinity mecha:1108
AFL hyp: SD:0.9m mecha:1132
AFL hx2: SD:0.9m mecha:1122
MF  inf: SD:1.6m mecha:1112
MF  hyp: SD:0.6m mecha:1131
MF  hx2: SD:1.0m mecha:1119
*** FINISHED ***
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

Re: Manual Focus @ Infinity not working
« Reply #57 on: 01 / November / 2014, 14:56:47 »
None of the pictures match the AF one.
Thanks for the update.   I wrestling right now with the whole "hyperfocal distance" concept and how CHDK measures & reports it.

Can you retry this with the zoom set about half way out?

Note : script updated to 2.2 to report more information.
« Last Edit: 01 / November / 2014, 14:58:59 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Manual Focus @ Infinity not working
« Reply #58 on: 01 / November / 2014, 15:28:02 »
The AF pic is now also out of focus, but still the best of all.

Code: [Select]
MF Test 2.2 65.5m SD modes:AF,AFL,MF
focus=infinity hyperF=9.6m
AUTO: SD:infinity mecha:1035
AFL inf: SD:9.6m mecha:1096
AFL hyp: SD:4.8m mecha:1107
AFL hx2: SD:6.6m mecha:1101
MF  inf: SD:20.4m mecha:1090
MF  hyp: SD:4.8m mecha:1107
MF  hx2: SD:6.6m mecha:1101
*** FINISHED ***
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

Re: Manual Focus @ Infinity not working
« Reply #59 on: 01 / November / 2014, 15:34:28 »
One important information: my camera seem to have a problem with focus and zoom, and this is before CHDK was installed.

I keepp using the camera and it works as expected, EXCEPT with zoom, regardless is CHDK is installed or not.
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

 

Related Topics