SD 4000 IS / IXUS 300 HS / IXY 30S porting thread - page 16 - DryOS Development - CHDK Forum

SD 4000 IS / IXUS 300 HS / IXY 30S porting thread

  • 322 Replies
  • 189491 Views
*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #150 on: 19 / December / 2010, 16:52:31 »
Advertisements
are the colors correct on your DNG RAW ?
Yes.

On IX 1000 dng RAW colors are wrong.
If your CFAPattern is not correct, colors are messed up in DNG.
This is SD4000:
Code: [Select]
#define cam_CFAPattern 0x02010100            // Red  Green  Green  Blue

Sample DNG from SD4000: http://www.mediafire.com/?2qqeivrj2re7buy

for the overexpose point marker problem, you can avoid when you use 16:9 shooting mode, find out yesterday.
Not shure if it makes any differens on sd4000.

We figured out some time ago PROPCASE_ASPECT_RATIO is different on sd4000 and sx210. Look at my https://github.com/pixeldoc2000/chdk/blob/ixus300_sd4000/include/propset3.h .
Code: [Select]
#define PROPCASE_ASPECT_RATIO                215EDIT: i misunderstood asm1989 post about it, looks like SD4000 don't have PROPCASE_ASPECT_RATIO at all...

Edge Overlay only works correctly with still image capture setting widescreen.
« Last Edit: 07 / January / 2011, 20:24:06 by pixeldoc2000 »

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #151 on: 21 / December / 2010, 11:25:44 »
great that raw on your camera now work, hope it can then work on the IX 1000 too.I can show your DNG testimage correct in picasa 3.

I look and see IX 1000 have too #define PROPCASE_ASPECT_RATIO   215.

I merge now your IX300 camera.h from your git in IX1000 camera.h file, so we can more easy compare.
And i see by comparing that you have a spell error.

 CAM_ZEBRA_ACPECT_ADJUST    

should be CAM_ZEBRA_ASPECT_ADJUST

but to get that working you need also set

#define CAM_ZEBRA_NOBUF

see also the zebra view thread here

I have the spelling not change in the file for Ixus 300.

here i upload camera.h

http://www.zshare.net/download/841776192e2388bb/

I see you have PTP active.i try that too on Ixus 1000 soon, hope it works.
« Last Edit: 21 / December / 2010, 11:48:14 by Bernd R »
Ixus 1000 HS

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #152 on: 22 / December / 2010, 03:11:44 »
Hi! I have bought this camera for my wife few days ago. I am completely new to CHDK but not to git and other developer tools. My first dumb question about the CHDK for the SD4000 is: what can I do with it that is not possible with the regular firmware? All of the CHDK features that I see on the main CHDK page or only a more or less limited subset?

The most important feature I would like to see is remote capture using USB... like it was possible to do with older cameras until Canon disabled this function.

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #153 on: 29 / December / 2010, 18:51:32 »
And i see by comparing that you have a spell error.

CAM_ZEBRA_ACPECT_ADJUST    

should be CAM_ZEBRA_ASPECT_ADJUST
Thanks, fixed it but make not much of a differents.

but to get that working you need also set

#define CAM_ZEBRA_NOBUF
Thanks, added but again make no really differents.

My first dumb question about the CHDK for the SD4000 is: what can I do with it that is not possible with the regular firmware? All of the CHDK features that I see on the main CHDK page or only a more or less limited subset?
Look at http://chdk.wikia.com/wiki/Features and http://chdk.wikia.com/wiki/CHDK_User_Manual for example to get an idea about chdk.

The most important feature I would like to see is remote capture using USB... like it was possible to do with older cameras until Canon disabled this function.
This isn't available on newer (IXUS) cameras, because Canon SDK (like PS-ReC) does not support newer ixus models.
There is some limited PTP support in CHDK. You could do simular like "remote capture" with PTP.
Run scripts and copy pictures with ptpcam. Have a look at http://chdk.wikia.com/wiki/PTP_Extension .
« Last Edit: 29 / December / 2010, 19:01:45 by pixeldoc2000 »


Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #154 on: 30 / December / 2010, 13:25:46 »
@pixeldoc2000
>Thanks, added but again make no really differents.

does this mean when you have the W 16:9 shooting mode, zebra look too wrong ?
maybe you have not done a full recompile.

I set on my camera Zebra underexpose threshold and overexpose threshhold to 10, because very dark and very bright range of the Sensor is not easy reach.
Ixus 1000 HS

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #155 on: 01 / January / 2011, 08:52:27 »
I was wondering, does scripting work at the moment?  I only really use intervalometers and motion detection (for astronomy and fireworks), but couldn't find a script for either that would work properly with the SD4000.

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #156 on: 03 / January / 2011, 18:19:12 »
does this mean when you have the W 16:9 shooting mode, zebra look too wrong ?
maybe you have not done a full recompile.
Yes, zebra is wrong in Widescreen too.
I do always make clean before make.

I set on my camera Zebra underexpose threshold and overexpose threshhold to 10, because very dark and very bright range of the Sensor is not easy reach.
Already tinkered with the settings, but 10 looks quite good.

I was wondering, does scripting work at the moment?  I only really use intervalometers and motion detection (for astronomy and fireworks), but couldn't find a script for either that would work properly with the SD4000.
Not all scripts seem to work well (on SD4000).
Please tell me which script(s) does not work, maybe we can find out whats wrong...
« Last Edit: 03 / January / 2011, 18:21:05 by pixeldoc2000 »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #157 on: 03 / January / 2011, 18:30:48 »
does this mean when you have the W 16:9 shooting mode, zebra look too wrong ?
Yes, zebra is wrong in Widescreen too.

Depending on what is wrong with the zebra you may want to look at what I did with the G12 port (changeset 1017).
The G12 has a viewport memory buffer that is wider than the actual viewport (buffer is 720, viewport is 360 wide).
The original code assumed that the buffer was the same width as the viewport so it gave a recognisable; but skewed zebra display (edge overlay, motion detect and histogram are also affected).
The other change I made was to support vertical and horizontal offsets into the viewport for cases when the image aspect ratio does not match the viewport. In addition to the native 4:3 aspect ratio the G12 has 3:2, 1:1, 4:5 and 16:9 aspect ratios. This is also in changeset 1017.

Hope this helps,
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: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #158 on: 04 / January / 2011, 07:47:20 »
I was wondering, does scripting work at the moment?  I only really use intervalometers and motion detection (for astronomy and fireworks), but couldn't find a script for either that would work properly with the SD4000.
Not all scripts seem to work well (on SD4000).
Please tell me which script(s) does not work, maybe we can find out whats wrong...
[/quote]

There's Fudgey's Fast/Slow/Video Motion Detector with masks. For models with no video button.  I tried MDFB-080914 and an older 080205 version (Fudgey lightning script).  Both work fine on my G11, but on the SD4000, they just continuously take photos, even if mounted on a tripod and facing a still image.

For the intervalometer, I tried Ultra Intervalometer, the lua yet another accurate intervalometer (20080805
version) and the lua Minimalistic Intervalometer.  Ultra Intervalometer just takes one shot and stops with a preview on the screen.  Both lua scripts just cause the screen to go blank, shutting down the camera with the lens barrel still extended.

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #159 on: 07 / January / 2011, 20:21:55 »
Depending on what is wrong with the zebra you may want to look at what I did with the G12 port (changeset 1017).
The G12 has a viewport memory buffer that is wider than the actual viewport (buffer is 720, viewport is 360 wide).
The original code assumed that the buffer was the same width as the viewport so it gave a recognisable; but skewed zebra display (edge overlay, motion detect and histogram are also affected).
The other change I made was to support vertical and horizontal offsets into the viewport for cases when the image aspect ratio does not match the viewport. In addition to the native 4:3 aspect ratio the G12 has 3:2, 1:1, 4:5 and 16:9 aspect ratios. This is also in changeset 1017.
Thanks for the hint!
I alread read your post somewhere else about SX30. Looks like SX30 variable viewport stuff might fit.
Trouble is it looks like SD4000 dont have PROPCASE_ASPECT_RATIO at all.
« Last Edit: 07 / January / 2011, 20:38:37 by pixeldoc2000 »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal