Powershot SX150 IS Porting Thread - page 19 - General Discussion and Assistance - CHDK Forum  

Powershot SX150 IS Porting Thread

  • 279 Replies
  • 59555 Views
Re: Powershot SX150 IS Porting Thread
« Reply #180 on: 25 / August / 2012, 17:59:27 »
Advertisements
Hi guys,

I'm not sure if this is SX150 problem alone. set_zoom(27) and taking photos results in distortion like this explanatory image: http://en.wikipedia.org/wiki/File:Pincushion_distortion.svg

If I try the same settings, but set zoom manually, photos are OK. Something is not repositioned or recalculated when set_zoom() is issued. Note that picture on the "preview" (before pressing shoot button) looks OK, it is distorted at time of taking the photo.

Please help, I scanned a whole book without noticing this in advance.   :'(

RAW/DNG images or JPG ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 3906
Re: Powershot SX150 IS Porting Thread
« Reply #181 on: 25 / August / 2012, 18:13:25 »
@waterwingz

platform/generic/wrappers.c
lens_set_zoom_point(), SX150 needs to be added to the group which needs _PT_MoveOpticalZoomAt

Re: Powershot SX150 IS Porting Thread
« Reply #182 on: 25 / August / 2012, 18:29:09 »
platform/generic/wrappers.c
lens_set_zoom_point(), SX150 needs to be added to the group which needs _PT_MoveOpticalZoomAt
That one keeps coming back like a bad smell. Do you think it just need to be #ifdef's everywhere the SX130 is ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 3906
Re: Powershot SX150 IS Porting Thread
« Reply #183 on: 25 / August / 2012, 18:41:43 »
platform/generic/wrappers.c
lens_set_zoom_point(), SX150 needs to be added to the group which needs _PT_MoveOpticalZoomAt
That one keeps coming back like a bad smell. Do you think it just need to be #ifdef's everywhere the SX130 is ?
No idea about that...
What I suspect is that many new models may have similar problems with the _MoveZoomLensWithPoint() path, since all(?) of them have a wide angle lens. (Don't forget to try this on the A1200)
« Last Edit: 25 / August / 2012, 18:44:53 by srsa_4c »


Re: Powershot SX150 IS Porting Thread
« Reply #184 on: 25 / August / 2012, 18:45:34 »
No idea about that...
What I suspect is that many new models may have similar problems with the _MoveZoomLensWithPoint() path, since all(?) of them have a wide angle lens. (Don't forget to try this on the A1200)
Never did fix the zoom problems on my ixus120 .. and that was more than a year ago.  Not sure what to do about the sx150 unless someone volunteers to test the change.

Update :  the a1200 barely has a real lens.  Wide angle or otherwise but what do you want for $80 ?
« Last Edit: 25 / August / 2012, 18:48:38 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3107
    • Photos
Re: Powershot SX150 IS Porting Thread
« Reply #185 on: 25 / August / 2012, 21:18:52 »
platform/generic/wrappers.c
lens_set_zoom_point(), SX150 needs to be added to the group which needs _PT_MoveOpticalZoomAt
That one keeps coming back like a bad smell. Do you think it just need to be #ifdef's everywhere the SX130 is ?


I've converted the camera specific '#if defined' tests in lens_set_zoom_point() to use two new #defines in camera.h instead.

You can test this on the SX150 by adding the CAM_USE_ALT_SET_ZOOM_POINT and CAM_USE_ALT_PT_MoveOpticalZoomAt values to platform_camera.h (same as SX130 I would guess).

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)

Re: Powershot SX150 IS Porting Thread
« Reply #186 on: 25 / August / 2012, 23:44:00 »
You can test this on the SX150 by adding the CAM_USE_ALT_SET_ZOOM_POINT and CAM_USE_ALT_PT_MoveOpticalZoomAt values to platform_camera.h (same as SX130 I would guess).

@kempelen : I rebuilt the sx150is with the changes philmoz posted.   If you can test this and report back that it works then we can update the standard svn build.

sx150is-100a-1.1.0-full.zip
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Powershot SX150 IS Porting Thread
« Reply #187 on: 18 / September / 2012, 07:01:39 »
I'm considering selling my SX130IS and upgrading to the SX150IS, if I manage to get a good price for my camera.

I'm interested in some sample DNG images. I would appreciate it if someone would upload some .DNG files. The SX130IS and SX150IS have the same lens, so I know the performance of it. I have also seen many .JPG images on the internet, they are fairly common.

I am interested in the noise levels in the SX150IS, specifically in the original DNG images at various ISO levels from 80 to 1600. Zippyshare is a good file sharing site, in case you were wondering where to upload them.

I also have a few tips to all SX150IS users, if you are interested.
The lens seems to be sharpest between 50mm and 60mm (35mm equiv).
I have made lens correction in Photoshop for images taken at 28mm.
I have downloaded a color correction profile that can be applied to the DNG files, it removes excessive reds. (SX130IS profile someone created, it may or may not be suitable for the SX150IS, you can try and find out).
PM me if you want any more info. :)
« Last Edit: 18 / September / 2012, 07:21:49 by Mr_Speedy »


Re: Powershot SX150 IS Porting Thread
« Reply #188 on: 22 / September / 2012, 03:30:08 »
thank you phil and waterwings - i can verify that the version by waterwings has solved the pincushion problem.
will upload sample pics in a while (my connection is acting up a little)

since we are on the subject i wish to report that SX 150 and also SX 130 shuts down as soon as a ptp command for press ('set') or click ('set') is sent in the VIDEO mode. it also shuts down if a zoom is attempted in VIDEO mode.

these work ok in the P, Auto, M etc modes.

sorry if it is off topic - will post in the ptp thread too.

Re: Powershot SX150 IS Porting Thread
« Reply #189 on: 22 / September / 2012, 06:47:08 »
here are the results

this was the result of the pictures taken via ptp - the pincushion effect



taken via a button press on the camera - no pincushion



finally using the latest binary (sx150is-100a-1.1.0-full.zip) by waterwings

thanks !!



 

Related Topics