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

Manual Focus @ Infinity not working

  • 151 Replies
  • 59943 Views
Re: Manual Focus @ Infinity not working
« Reply #70 on: 02 / November / 2014, 11:01:13 »
Advertisements
Test #2. Daylight.
Ixus 125 on wide angle @ 65 - 5 - 10 - 20 mts. Distant subject.

#1, 2, 3, 4 are fine
#5, 6, 7 shot of series are always blurred...
...But #5 of all the series is less blurred, "nearly" acceptable. Concurrently mecha values of #5 are less different from #1,2,3,4

WW, I'm willing to try it at my own risk a script that sets MF @infinity and mecha @ defined range (360-368) that seems the right one on my ixus125.
I know you warned about "possibility of mechanical damage", but, before trying one of my "excellent" scripts  ::),
i would appreciate a your hint how to set that mecha.

Code: [Select]
MF Test 2.2 65.5m SD modes:AF&MF
focus=infinity hyperF=1.2m
AUTO: SD:infinity mecha:367
warning : may not focus in AFL mode
AFL inf: SD:infinity mecha:367
AFL hyp: SD:infinity mecha:367
AFL hx2: SD:infinity mecha:367
MF  inf: SD:infinity mecha:361
MF  hyp: SD:0.5m mecha:391
MF  hx2: SD:0.7m mecha:388
*** FINISHED ***
MF Test 2.2 5.0m SD modes:AF&MF
focus=infinity hyperF=1.2m
AUTO: SD:infinity mecha:368
warning : may not focus in AFL mode
AFL inf: SD:infinity mecha:368
AFL hyp: SD:infinity mecha:368
AFL hx2: SD:infinity mecha:368
MF  inf: SD:infinity mecha:362
MF  hyp: SD:0.5m mecha:391
MF  hx2: SD:0.7m mecha:388
*** FINISHED ***
MF Test 2.2 10.0m SD modes:AF&MF
focus=infinity hyperF=1.2m
AUTO: SD:infinity mecha:365
warning : may not focus in AFL mode
AFL inf: SD:infinity mecha:366
AFL hyp: SD:infinity mecha:366
AFL hx2: SD:infinity mecha:366
MF  inf: SD:infinity mecha:360
MF  hyp: SD:0.5m mecha:391
MF  hx2: SD:0.7m mecha:388
*** FINISHED ***
MF Test 2.2 20.0m SD modes:AF&MF
focus=infinity hyperF=1.2m
AUTO: SD:infinity mecha:369
warning : may not focus in AFL mode
AFL inf: SD:infinity mecha:368
AFL hyp: SD:infinity mecha:368
AFL hx2: SD:infinity mecha:368
MF  inf: SD:infinity mecha:362
MF  hyp: SD:0.5m mecha:391
MF  hx2: SD:0.7m mecha:388
*** FINISHED ***

Re: Manual Focus @ Infinity not working
« Reply #71 on: 05 / November / 2014, 09:00:45 »
I'm not exactly sure to fully understand but here are the results, on S100
MF Test 2.2 65.5m SD modes:AF,AFL,MF
focus=infinity hyperF=0.9m
AUTO: SD:infinity mecha:289
AFL inf: SD:infinity mecha:300
AFL hyp: SD:0.9m mecha:314
AFL hx2: SD:1.8m mecha:307
MF  inf: SD:infinity mecha:300
MF  hyp: SD:0.9m mecha:314
MF  hx2: SD:1.8m mecha:307

pictures 1, 2, 5 are sharp
pic 3,6 are blurred
4,7 somewhere inbetween

Re: Manual Focus @ Infinity not working
« Reply #72 on: 05 / November / 2014, 09:52:24 »
I'm not exactly sure to fully understand but here are the results, on S100
MF Test 2.2 65.5m SD modes:AF,AFL,MF
focus=infinity hyperF=0.9m
AUTO: SD:infinity mecha:289
AFL inf: SD:infinity mecha:300
AFL hyp: SD:0.9m mecha:314
AFL hx2: SD:1.8m mecha:307
MF  inf: SD:infinity mecha:300
MF  hyp: SD:0.9m mecha:314
MF  hx2: SD:1.8m mecha:307

pictures 1, 2, 5 are sharp
pic 3,6 are blurred
4,7 somewhere inbetween
Thanks!  Assuming you had the camera pointed at something far away (> 20 m) then your results are pretty much perfect and match what I see on my S100.  CHDK MF works properly our cameras. The S100 camera that one of our users on the KAP forum reported as having CHDK MF focus issues at infinity shows a much lower lens mecha position when attempting to MF at infinity (I.e. it's focusing out beyond infinity possibly).

It might be interesting to run some tests with some G, S, SX series cameras that support Canon native manual focus and see what value Canon uses for the lens position at infinity.  I'll see if can compare my S100 to the one in question and will report back.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Manual Focus @ Infinity not working
« Reply #73 on: 05 / November / 2014, 11:44:02 »
I'm glad you appreciate the results ;-) ! unfortunately my camera already showed strange and random results in SDM/CHDK MF script in the past.
I will have  to examine if i can transfer my SDM MF script under lua. I'm afraid this is, by far too complex for me.
so for the time being, I will probably stick to AF mode !

Re: Manual Focus @ Infinity not working
« Reply #74 on: 05 / November / 2014, 12:37:07 »
I'm glad you appreciate the results ;-) ! unfortunately my camera already showed strange and random results in SDM/CHDK MF script in the past.
I will have  to examine if i can transfer my SDM MF script under lua. I'm afraid this is, by far too complex for me.
so for the time being, I will probably stick to AF mode !
There have been a lot of improvements with MF in CHDK 1.3.0 

Attach the script here and I'll see if I can translate it for you.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Manual Focus @ Infinity not working
« Reply #75 on: 05 / November / 2014, 15:53:20 »
you'll find script joined. probably too much work to tranlate it.
Apologizes for poor scripting/commenting capabilities.
some remarks:  this script is made for kap, used in combination with a cam remote system. this is the reason for waiting an usb input value and "gosubing" for several routines for different commands.
as MF was not reliable, i've added an autofocus command after each zoom change to reset focus again. Improving a bit the results, but not always.
please not also that despite bad focus, the get_focus command returns -1.


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Manual Focus @ Infinity not working
« Reply #76 on: 05 / November / 2014, 16:11:40 »
The S100 camera that one of our users on the KAP forum reported as having CHDK MF focus issues at infinity shows a much lower lens mecha position when attempting to MF at infinity (I.e. it's focusing out beyond infinity possibly).

On my G12, the SD and 'mecha' values for infinity vary by zoom settings - there is not one single value for infinity focus.

From memory:
- At wide angle infinity SD ~= 19,000 and mecha ~= 1100
- At full tele infinity SD ~= 190,000 and mecha ~= 315

So the reported lower values may partly be due to difference in zoom.

On the G12, I've also found that the mecha value when CHDK sets focus to -1 is always slightly less than the value set by the Canon firmware when using MF at infinity. The lens SD reported is always -1 in both cases. It does not appear to be enough of a difference to affect image quality; but I haven't done any detailed comparison yet.

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 #77 on: 05 / November / 2014, 16:26:25 »
On my G12, the SD and 'mecha' values for infinity vary by zoom settings - there is not one single value for infinity focus.
That has been my assumption all along.  My more complicated script takes readings at give different zoom settings between 0 and 100 percent for that reason.

Quote
So the reported lower values may partly be due to difference in zoom.
I think all the test value reported have been at full wide angle so far, which actually make things harder due to the extreme DOF.

Edit :  regardless, the test assumes the camera is pointed at infinity and takes three shots in succession  - AF mode first and then AFL and MF with set_focus(-1).  So the zoom setting is the same for all three shots.  And the set_focus(-1) is clearly moving the lens mechanism in past the infinity setting.

Quote
On the G12, I've also found that the mecha value when CHDK sets focus to -1 is always slightly less than the value set by the Canon firmware when using MF at infinity. The lens SD reported is always -1 in both cases. It does not appear to be enough of a difference to affect image quality; but I haven't done any detailed comparison yet.
My testing today shows that Canon MF set to infinity gives exactly the same mecha lens position as the CHDK set_focus -1 command for my S100.   Now I need to find out if that is true on the S100  cameras that show "soft" images under CHDK focus at infinity control.
« Last Edit: 05 / November / 2014, 19:00:12 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Manual Focus @ Infinity not working
« Reply #78 on: 05 / November / 2014, 18:07:52 »
Quote
My testing today shows that Canon MF set to infinity gives exactly the same mecha lens position as the CHDK set_focus -1 command for my S100.   Now I need to find out if that is true on the S100  cameras that show "soft" images under CHDK focus at infinity control.
Please let me know if you want me to test specific script. I'm sure my S100 is one of the tricky one.
by the way, by experience, i've noticed that MF issues
are linked to zoom changes and zoom lower positions. I NEVER noticed  blurred pics ( apart from moving blur) at longer zoom values ( loonger than 60 mm equivalent ie 13 mm if i m correct). and this is quite noticeable in kap pictures because it is usually the opposite that we anticipate.

Re: Manual Focus @ Infinity not working
« Reply #79 on: 05 / November / 2014, 19:04:53 »
I'm glad you appreciate the results ;-) ! unfortunately my camera already showed strange and random results in SDM/CHDK MF script in the past. I will have  to examine if i can transfer my SDM MF script under lua. I'm afraid this is, by far too complex for me. so for the time being, I will probably stick to AF mode !
It certainly is a big script.  You might try simply enabling Canon AFL mode via the Canon buttons prior to launching the script and then your kite. Just make sure the camera is pointed at a distant object and that will lock your focus at infinity until you next power down (or disable Canon AFL mode).

Please let me know if you want me to test specific script. I'm sure my S100 is one of the tricky one.
Okay, here's the test procedure (with the script loaded and ready to go) :

1) Point the camera to something far away ( > 20 m).
2) Run the script once in P mode and let the Canon autofocus (AF) take the first shot, and the script to take the others.
3) Then exit <ALT> and enable Canon MF mode (from the dial on the back of the camera).  Adjust the Canon focus setting to infinity.
4) Reenter <ALT> and run the script again.
5) Post the log file / report the results here.

Here's what the two log file entries look like for my S100 when I test as listed above :



Thanks

Quote
by the way, by experience, i've noticed that MF issues are linked to zoom changes and zoom lower positions. I NEVER noticed  blurred pics ( apart from moving blur) at longer zoom values ( loonger than 60 mm equivalent ie 13 mm if i m correct). and this is quite noticeable in kap pictures because it is usually the opposite that we anticipate.
I think the DOF at wide angle is quite large and in AF mode the camera might have trouble picking the right focus point?
« Last Edit: 05 / November / 2014, 23:12:43 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal