Problem saving snapshot with ASI294PRO

User avatar
turfpit
Posts: 1777
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: Problem saving snapshot with ASI294PRO

#11

Post by turfpit »

One of the advantages of being retired ;)

On CN, I found a few references to colour issues with the ASI294 Pro.

There is something going on, Robin will have a better idea now we have some pointers.

Dave
User avatar
admin
Site Admin
Posts: 13122
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Problem saving snapshot with ASI294PRO

#12

Post by admin »

Ok, that's weird - didn't know about that.

I don't have any code to debayer that matrix pattern. If the PNG contains truly raw output from that grid then the answer may be to do a 2x2 bin in PIPP and then debayer the result.

I do have a prototype 294 here from another manufacturer, but I'm still waiting for an SDK update to support it, so I don't have anything to test on.

I would suggest testing with a CS/C lens (meteor lens) and normal images to work out how to handle the output files from the 294 - much easier to tell if you have the colour handling correct!

Robin
LaCasaCorp
Posts: 19
Joined: Wed Nov 08, 2017 5:58 pm

Re: Problem saving snapshot with ASI294PRO

#13

Post by LaCasaCorp »

i can take a couple of terrestrial images and upload them here, would that be ok of you?
robrj
Posts: 62
Joined: Fri Feb 17, 2017 1:03 am

Re: Problem saving snapshot with ASI294PRO

#14

Post by robrj »

From what I've read, it still functions like an RGGB. The pixels in the CN thread are actually sub-pixels that can be arranged via software in the camera for a special HDR mode. But the way that ZWO implements it, it is still RGGB. When I open a fits file in Fitswork, it loads like RGGB. If you read later in the thread, Astrojedi verifies that his understanding of it was mistaken after talking with Sam at ZWO.
robrj
Posts: 62
Joined: Fri Feb 17, 2017 1:03 am

Re: Problem saving snapshot with ASI294PRO

#15

Post by robrj »

I hope you don't mind but I downloaded your image and ran it through Fitswork. One thing I noticed about your image that's different than mine is that the png file has a debayer pattern in it (like it was a fits file). In Fitswork, I opened it and the selected "Processing->Bayer Interpolation->RGB to Bayer Pattern". Then I selected "Processing->Bayer Interpolation->Demosaic Camera Raw Image" and used a RGGB pattern.

That gave me an image without the bayer pattern in it. So I saved it in .TIF format and opened it with Startools. I adjusted use the DEV module and the Color Module to correct a blue tint and cropped it and I got this (I'm storing it in the staging area of my Astrobin account so no one can see it unless I link to it. I can delete it when you say):

Image

It looks right to me so something seems odd in how it's being saved. When I saved a fits file and opened it with Fitswork, my image comes up already debayered.
LaCasaCorp
Posts: 19
Joined: Wed Nov 08, 2017 5:58 pm

Re: Problem saving snapshot with ASI294PRO

#16

Post by LaCasaCorp »

looks like with Fitswork the image is debayered correctly (at least, looks a lot more like what i see on the sharpcap live screen... i never used Fitsworks, nice tool!

In any case, i will take a daytime image, just to provide all the data

F.
User avatar
admin
Site Admin
Posts: 13122
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Problem saving snapshot with ASI294PRO

#17

Post by admin »

I guess what is still confusing me is that it displays OK in SharpCap but doesn't debayer afterwards - SharpCap uses the same debayering algorithms as PIPP etc, expecting a standard bayer grid. I could understand if RGB mode worked OK in SharpCap and RAW looked funny as in RGB mode the debayer happens in the ZWO SDK and they would correctly deal with the weird pixel layout. I'm sure we will get to the bottom of this in the end though.

cheers,

Robin
User avatar
turfpit
Posts: 1777
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: Problem saving snapshot with ASI294PRO

#18

Post by turfpit »

That last image looks more like one would expect - thanks for the Fitswork pointer robrj, it looks a useful tool.

Any money on "a new SDK is belatedly released which exposes a new camera control"?

Dave
LaCasaCorp
Posts: 19
Joined: Wed Nov 08, 2017 5:58 pm

Re: Problem saving snapshot with ASI294PRO

#19

Post by LaCasaCorp »

Here i am.... not the best day for a daylight picture (exceptionally gray and rainy) but i will be traveling the next 2 days.... at least i can give you something to check

http://jmp.sh/hAT3oKi
robrj
Posts: 62
Joined: Fri Feb 17, 2017 1:03 am

Re: Problem saving snapshot with ASI294PRO

#20

Post by robrj »

admin wrote: Thu Mar 01, 2018 7:58 am I guess what is still confusing me is that it displays OK in SharpCap but doesn't debayer afterwards - SharpCap uses the same debayering algorithms as PIPP etc, expecting a standard bayer grid. I could understand if RGB mode worked OK in SharpCap and RAW looked funny as in RGB mode the debayer happens in the ZWO SDK and they would correctly deal with the weird pixel layout. I'm sure we will get to the bottom of this in the end though.

cheers,

Robin
It's confusing to me as well. My ASI294MC Pro saves .png files just fine. They look like they do on the screen. None of them have that debayer pattern in them.
Post Reply