×

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

Bi-monthly release with minor bug fixes and improvements

Svbony driver issues

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

I have been using the indigo Svbony driver with some success, but have had no end of difficulties with the indi Svbony driver.
4 weeks 1 day ago #100133

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

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

Rebuilding the INDI Svbony driver from source code on the target machine solved my difficulties.
3 weeks 7 hours ago #100289

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

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

When using the INDI SVBONY driver, my SV405CC is creating 16-bit <strong>mono</strong> FITS images?
When I open the FITS image, using Kstars "fits viewer" , then save the image under a different filename, it becomes RGB, and trebles in size (~24mb to ~75mb)
Any ideas?

I have tried switching between 8-bit, 16-bit, Luma 8-bit and RGB-24 bit modes, but when I switch back to 16-bit mode, I get monochrome FITS files, as reported when opening them in Siril or GIMP.
Last edit: 6 days 9 hours ago by R Dan Nafe.
6 days 9 hours ago #100537

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

  • Posts: 189
  • Thank you received: 28

Replied by tkakura on topic Svbony driver issues

SV405CC supports mono 8 bit format; it does not support mono 16 bit.
When an exposure is made using "Sequence", the data is correctly saved as mono 8 bit data in monochrome FITS format.

If an exposure is made using "Capture a preview" and saved using "FITS Viewer", the data will be saved in RGB.
I do not know if the behavior of FITS Viewer is a spec or a bug.
The following user(s) said Thank You: R Dan Nafe
Last edit: 6 days 8 hours ago by tkakura.
6 days 8 hours ago #100538

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

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

I am trying to capture FITS format images in 16-Bit-RGB, but they are coming in as 16-Bit monochrome.
6 days 8 hours ago #100540

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

  • Posts: 189
  • Thank you received: 28

Replied by tkakura on topic Svbony driver issues

Have you debayer your images?
The BAYERPAT in the FITS Header should be 'GRBG'.
You should be able to get a color image when you Debayer with this pattern.

I have checked all the FITS Header by running a sequence of RAW8, RAW16, Luma 8, RGB24, RAW16 one by one.
The first, second, and fifth images all had a BAYERPAT of 'GRBG'.
This means the images are in color.

Perhaps you should try attaching your FITS and Sequence files?
Last edit: 6 days 7 hours ago by tkakura.
6 days 7 hours ago #100541

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

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

selection from my '.esq' file:
more WASP-48.esq 
<?xml version="1.0" encoding="UTF-8"?>
<SequenceQueue version='2.6'>
[snip]
<Job>
<Exposure>60</Exposure>
<Format>Raw 16 bit</Format>
<Encoding>FITS</Encoding>
[snip]
</Job>
selection from my FITS file:
more WASP-48_Light_240.fits
SIMPLE  =                    T / file does conform to FITS standard             
BITPIX  =                   16 / number of bits per data pixel                  
NAXIS   =                    2 / number of data axes                            
NAXIS1  =                 4144 / length of data axis 1                          
NAXIS2  =                 2822 / length of data axis 2                          
EXTEND  =                    T / FITS dataset may contain extensions            
COMMENT   FITS (Flexible Image Transport System) format is defined in 'Astronomy
COMMENT   and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H 
BZERO   =                32768 / offset data range to that of unsigned short    
BSCALE  =                    1 / default scaling factor                         
ROWORDER= 'TOP-DOWN'           / Row Order                                      
INSTRUME= 'SV405CC '           / Camera Name                                    
EXPTIME =         6.000000E+01 / Total Exposure Time (s)                        
[snip]              
FRAME   = 'Light   '           / Frame Type                                     
IMAGETYP= 'Light Frame'        / Frame Type                                     
XBAYROFF=                    0 / X offset of Bayer array                        
YBAYROFF=                    0 / Y offset of Bayer array                        
BAYERPAT= 'GRBG    '           / Bayer color pattern                            
FOCALLEN=            7.520E+02 / Focal Length (mm)                              
APTDIA  =            1.500E+02 / Telescope diameter (mm)                        
SCALE   =         1.270172E+00 / arcsecs per pixel

I am suspicious of "NAXIS = 2 / number of data axes"
I think there should be a 3rd data axis , the 3rd one being for the color.
6 days 6 hours ago #100549

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

  • Posts: 189
  • Thank you received: 28

Replied by tkakura on topic Svbony driver issues

NAXIS = 2 is correct.
Fits that represent colors in Bayer structure are not a problem.
It is the normal way to color in image processing applications that can Debayer.

No problem for Kstars/Ekos/Indi.
6 days 5 hours ago #100551

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

  • Posts: 189
  • Thank you received: 28

Replied by tkakura on topic Svbony driver issues

A fits file with a Bayer structure stores the luminance transmitted through the 2-dimensional Bayer filter in cmos as it is in a 2-dimensional structure.
This is how fits are generated in an astrophotography application.

Next, the file is converted to RGB using the debayer operation in an image processing application.

For more details, please search the Internet.
6 days 5 hours ago #100552

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

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

So how do I coerce my SV405CC into producing 16 bit <strong>color images</strong> , within the KStars/Indi/Ekos eco-system?
Last edit: 6 days 4 hours ago by R Dan Nafe.
6 days 4 hours ago #100553
Attachments:

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

Replied by Jasem Mutlaq on topic Svbony driver issues

Can you share a link to one of the FITS images?
6 days 4 hours ago #100554

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

  • Posts: 49
  • Thank you received: 4

Replied by R Dan Nafe on topic Svbony driver issues

Ok, I have found a way to do this:
Load all the Ekos produced FITS files into the "Conversion" tab of Siril
Use the "Convert" button, with the "Debayer" box checked to create new FITS files that have R,G, and B channels.
This method changes the FITS header from:

BITPIX = 16 / number of bits per data pixel
NAXIS = 2 / number of data axes
NAXIS1 = 4144 / length of data axis 1
NAXIS2 = 2822 / length of data axis 2

to:

SIMPLE = T / file does conform to FITS standard
BITPIX = 16 / number of bits per data pixel
NAXIS = 3 / number of data axes
NAXIS1 = 4144 / length of data axis 1
NAXIS2 = 2822 / length of data axis 2
NAXIS3 = 3 / length of z axis (mostly colors)
6 days 4 hours ago #100555

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

Time to create page: 0.475 seconds