SX260 HS Porting Thread - page 34 - DryOS Development - CHDK Forum

SX260 HS Porting Thread

  • 642 Replies
  • 234312 Views
*

Online reyalp

  • ******
  • 14128
Re: SX260 HS Porting Thread
« Reply #330 on: 28 / August / 2012, 21:11:54 »
Advertisements

Has anyone used get_hyp_dist() in Lua?
For some reason, this function does not exist in lua.
Don't forget what the H stands for.

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #331 on: 28 / August / 2012, 22:16:02 »
Has anyone used get_hyp_dist() in Lua?
For some reason, this function does not exist in lua.
Yes, that's what I figured. The cross reference is wrong then:
http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page

It says get_focal_length is NOT present in Lua either, so I can't calculate from that either. Too bad, it could be very useful.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX260 HS Porting Thread
« Reply #332 on: 28 / August / 2012, 22:37:41 »
Yes, that's what I figured. The cross reference is wrong then:
Won't be the first time.  Fixed now.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: SX260 HS Porting Thread
« Reply #333 on: 29 / August / 2012, 01:22:43 »
get_focal_length is NOT present in Lua either, so I can't calculate from that either. Too bad, it could be very useful.

In Lua you find all DOF relevant functions in one table function: get_dofinfo()

Code: (lua) [Select]
dof = get_dofinfo()
print(dof.focal_length)

msl
CHDK-DE:  CHDK-DE links

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #334 on: 29 / August / 2012, 03:21:52 »
In Lua you find all DOF relevant functions in one table function: get_dofinfo()

That's great news. It even has hyperfocal distance, which is what I really wanted:

dof=get_dofinfo()
print(dof.hyp_valid,"=valid hyp=",dof.hyp_dist)
  true =valid hyp= 29533
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX260 HS Porting Thread
« Reply #335 on: 29 / August / 2012, 07:28:30 »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SX260 HS Porting Thread
« Reply #336 on: 29 / August / 2012, 09:59:38 »
It even has hyperfocal distance, which is what I really wanted:

As a matter of interest, are you trying to maximise depth-of-field (which is considerable on these cameras anyway) ?

Even at maximum telephoto, do these features provide any benefit ?


*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #337 on: 29 / August / 2012, 11:29:36 »
As a matter of interest, are you trying to maximise depth-of-field (which is considerable on these cameras anyway)?
Even at maximum telephoto, do these features provide any benefit ?
I do a lot of wide angle sunset shots and time lapses with aperture wide open and trees in the frame. Getting both in focus is always tricky, and I'm usually in a hurry setting things up. The hyperfocal distance is probably the best place to set and lock focus. If I can get the script working, I'll try it tonight.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX260 HS Porting Thread
« Reply #338 on: 30 / August / 2012, 12:14:17 »
I do a lot of wide angle sunset shots and time lapses with aperture wide open and trees in the frame. Getting both in focus is always tricky

That is very unusual because at wide-angle the hyperfocal distance is only a few metres.

Will be interesting to see what difference it makes.


David

Re: SX260 HS Porting Thread
« Reply #339 on: 30 / August / 2012, 19:53:04 »
I would like to share some jpeg vs dng test, done with my SX240 with your SX260 firmware running on it:D ).
It needs about 6 seconds to save on the 8GB class10 SanDisk Extreme card (not exactly measured).
It was not easy to find a RAW converter which is capable to work with the DNGs produced by the SX240.
In RawTherapee 4 and Capture One 6 there is a bad colorshift (mostly in the reds) and the jpegs look way better. Is this a general problem of all CHDK DNGs or only at the 240/260?
 
But then I tried lightroom 4 demo on my mothers computer - it likes the CHDK DNGs  :D ( I would buy it, but I have WinXP at home-and it does not run on it-so I will have to look for another RAW converter  :(  ) .
There is much better range and tonality, see the attachment.
The Images are both processed in LR4 with same settings.

I have an additional question about the CHDK exposure functions of the SX260 firmware:
Is it a general problem that -for example- when you set the ISO to 50 in the CHDK menue the exposure will be too dark (the light metering does not know that it is set to 50, it thinks it is 100...and so on with other CHDK aperture and time settings) ? Or will it be fixed in future releases (I really hope future releases of the SX260 firmware will still work on my 240v1.0.0c   ;) ).
(My english is not the best, but I hope you can understand what I meant with the exposure question.)

Thank you very much.  - Tom -
« Last Edit: 30 / August / 2012, 19:54:45 by kleinerFuchs »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal