#48 indi gphoto - wrong settings for picture settings and information

1.2.X
open
nobody
None
1
2016-02-11
2014-04-15
BenBetta
No

Using gphoto indi driver to control my canon dslr (20d and 600d).
Cameras are recognized corretly.

But for both cameras:
- image settings: wrong width and height = 1392; not possible to edit
- image information: wrong resolution, pixelsize, bit pro pixel; not possible to edit

The resulting problem is that plate solving with astrometry.net shows errormessage because of wrong calculated FOV.

Discussion

  • Jasem Mutlaq

    Jasem Mutlaq - 2014-04-15

    The image width and height are not possible to edit because you cannot change it, it's whatever the camera reports. The pixel size is set always to a dummy value of 5 microns since it is not possible to query the pixel size from gphoto. The bits per pixel and resolution are also set when an image is captured. What values are you seeing for these values on both cameras? What values it's suppose to be?

     
  • BenBetta

    BenBetta - 2014-04-16

    Hi,
    ah ok thanks. Then it is probably no problem, because gphoto shows a bigger chip than it is in real. The bitdepth is wrong, but that shouldn't have any influence on capturing images...

    For the 20d it shows 3522x2348 pixels and 16bit. It should be 3504x2336 pixels and 12bit.
    For the 600d it shows 5202x3465 pixels and 16bit. It should be 5184x3456 pixels and 14bit.

     
  • BenBetta

    BenBetta - 2014-06-25

    Hey,
    now the problem is real, but only when I use remote control over Raspberry Pi with Raspbian. When I use the camera directly on my Fedora system it gets the right number of pixels ;)

    After updated to newest version of gphoto driver on raspbian:
    After take an (or some more) exposure to get the right number of pixels in x and y direction, these values are updated, but to strange values:
    before exposure: x: 1392 y:1392
    after exposure(s): x:1336 y:3516

    But that's not the only problem. Whe I use "Transfer Format" = FITS in the driver settings, also the pictures are 1336x3516 pixels and not 3456x5184 pixels (canon 600d). When I use "Transfer Format" = Native, the picture are .cr2 style and right sized.

    Because of the problem, that the number of pixels is wrong after one or some test exposures, the plate solver gets wrong fov.

    In the attachment two example exposure.

    Second problem, also when I use remote control:
    In the Tab "Image Info" the Resolution x and y (...) is editable. And the range is only 1 to 40, but it is neccessary to edit this to some values up to thousands... But I don't know what effect this could have, because when I edit this values, it has no effect to the plate solver.

    Greetings!

     
    Last edit: BenBetta 2014-06-25
  • Jasem Mutlaq

    Jasem Mutlaq - 2014-06-29

    I just bought 600d yesterday so I will be able to test this very soon :-)

     
  • Jasem Mutlaq

    Jasem Mutlaq - 2014-07-02

    I just test 600d and it got all the resolutions correctly for both native and FITS versions, raw or jpeg (tested all available sizes). I fixed the range issue, please update libindi and indi-gphoto, but the range issue shouldn't affect the wrong resolutions. At any rate, test to see if there is any difference.

     
  • Jasem Mutlaq

    Jasem Mutlaq - 2014-07-03

    I tested on the RPI and can confirm the same problem you have. It seems dcraw returns wrong dimensions for "Full Size" but oddly enough returns correct size for "thumb"

    Maybe you can file a bug for dcraw on RPI?

    2014-07-03T11:57:29: Driver indi_gphoto_ccd: Starting exposure
    2014-07-03T11:57:29: Driver indi_gphoto_ccd: Mutex locked
    2014-07-03T11:57:29: Driver indi_gphoto_ccd: Using exposure time: 1
    2014-07-03T11:57:29: Driver indi_gphoto_ccd: timeout expired
    2014-07-03T11:57:29: Driver indi_gphoto_ccd: Exposure started
    2014-07-03T11:57:30: Driver indi_gphoto_ccd: Reading exposure
    2014-07-03T11:57:34: Driver indi_gphoto_ccd: Exposure complete
    2014-07-03T11:57:34: Driver indi_gphoto_ccd: You need to specify a folder starting with /store_xxxxxxxxx/
    2014-07-03T11:57:34: Driver indi_gphoto_ccd: Retval: 0
    2014-07-03T11:57:34: Driver indi_gphoto_ccd: Downloading //capt0000.cr2
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Retval: 0
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Deleting.
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Retval: 0
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: dcraw -i -v /tmp/indi_M915TK 2> /dev/null
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Filename: /tmp/indi_M915TK
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Timestamp: Thu Jul 3 14:56:01 2014
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Camera: Canon EOS 600D
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: ISO speed: 2000
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Shutter: 1.0 sec
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Aperture: f/5.7
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Focal length: 27.0 mm
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Embedded ICC profile: no
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Number of raw images: 1
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Thumb size: 5184 x 3456
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Full size: 1336 x 3516
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Image size: 1336 x 3516
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Output size: 1336 x 3516
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Raw colors: 3
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Filter pattern: RGGBRGGBRGGBRGGB
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Daylight multipliers: 2.186432 0.928015 1.023826
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Camera multipliers: 1560.000000 1024.000000 2411.000000 1024.000000
    2014-07-03T11:57:35: Driver indi_gphoto_ccd: Reading exposure 1336 x 3516

     
    Last edit: Jasem Mutlaq 2014-07-03
  • Jasem Mutlaq

    Jasem Mutlaq - 2014-07-03

    Yes upon further investigation it is for CERTAIN a dcraw problem. I saved the temporary image indi_gphoto_ccd creates and ran dcraw in RPI and later on my desktop.

    On Raspberry PI:

    Filename: indiImage
    Timestamp: Thu Jul 3 16:14:32 2014
    Camera: Canon EOS 600D
    ISO speed: 1600
    Shutter: 1.0 sec
    Aperture: f/5.7
    Focal length: 27.0 mm
    Embedded ICC profile: no
    Number of raw images: 1
    Thumb size: 5184 x 3456
    Full size: 1336 x 3516
    Image size: 1336 x 3516
    Output size: 1336 x 3516
    Raw colors: 3
    Filter pattern: RGGBRGGBRGGBRGGB
    Daylight multipliers: 2.186432 0.928015 1.023826
    Camera multipliers: 1558.000000 1024.000000 2405.000000 1024.000000

    On Kubuntu 14.04 Desktop:

    Filename: indiImage
    Timestamp: Thu Jul 3 16:14:32 2014
    Camera: Canon EOS 600D
    ISO speed: 1600
    Shutter: 1.0 sec
    Aperture: f/5.7
    Focal length: 27.0 mm
    Embedded ICC profile: no
    Number of raw images: 1
    Thumb size: 5184 x 3456
    Full size: 5344 x 3516
    Image size: 5202 x 3465
    Output size: 5202 x 3465
    Raw colors: 3
    Filter pattern: RGGBRGGBRGGBRGGB
    Daylight multipliers: 2.339939 0.935795 1.311823
    Camera multipliers: 1558.000000 1024.000000 2405.000000 1024.000000

     
  • BenBetta

    BenBetta - 2014-07-11

    Hey,
    thanks for your time on testing. If you can tell me where I have to file the bug, I can do this, but my time is very scarce at the moment because tests at university.

    Greetings

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks