×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Adjust Gain of CCD with PyIndi client

  • Posts: 3
  • Thank you received: 0
Hey guys!, i'm trying interfacing a ZWO ASI120MC-S CCD with Indi and pyIndi client, there is done, but i can't change the gain value yet, and this is a parameter that i need for the application,
If someone could help me with this I would appreciate it!, i'm attached my code.
6 years 2 months ago #27735

Please Log in or Create an account to join the conversation.

You forgot to attach your code.
6 years 2 months ago #27742

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

Because by default CCD_VIDEO_FORMAT is 8bit Luma. Change it to RGB24 or Bayered image
6 years 2 months ago #27769

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
hey!, the image that i attached in .PNG is a screenshoot for a image .fit in RGB24, when I open it with KSTARS I can see the colors, however, I would like to know if it is possible to obtain a real color image in png or jpg from the .fit file, i understand that the fit file is a 3D color cube, but I searched and could not find more information about convert this to RGB image, i gratefull if you can help me.
Last edit: 6 years 1 month ago by Oscar Gallo.
6 years 1 month ago #27791

Please Log in or Create an account to join the conversation.

Well, you can either code it yourself (using libjpeg or libpng, many examples online). Or using ImageMagick or Gimp or KDE's Gwenview to convert it to whatever format you like. All the previous programs support FITS. I recommend Gwenview which is part of KDE.
6 years 1 month ago #27793

Please Log in or Create an account to join the conversation.

Time to create page: 0.600 seconds