Overscan processing...
 
Share:
Notifications
Clear all

15th Feb 2024: Astro Pixel Processor 2.0.0-beta29 released - macOS native File Chooser, macOS CMD-Q fixed, read-only Fits on network fixed and other bug fixes

7th December 2023:  added payment option Alipay to purchase Astro Pixel Processor from China, Hong Kong, Macau, Taiwan, Korea, Japan and other countries where Alipay is used.

 

Overscan processing or removal

6 Posts
2 Users
0 Likes
3,196 Views
(@deisenlord)
Brown Dwarf
Joined: 6 years ago
Posts: 4
Topic starter  

I have an FLI proline I use from KStars/Indi/Ekos. The camera images include 2 overscan regions.  Is there a way to have APP process the overscan or skip.  

Thanks David !


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

@deisenlord,

How do you save the overscan? Do you select it as an option in the capture application?

Or is it special metadata in the fits headers? Probably I need to see exactly how it works for your camera to be able to implement this.

Mabula


   
ReplyQuote
(@deisenlord)
Brown Dwarf
Joined: 6 years ago
Posts: 4
Topic starter  

The overscan is always in my FITS file from the Indilib FLI driver which uses the Finger Lakes Instruments Linux driver.   Unfortunately there aren't any keys in the file to describe the overscan region.  I've contributed to this driver for Indi and could reach out to Finger Lakes to see if they know of any "standard" format for adding overscan keys to FITS files.   

I found I could use your  crop tool to remove the overscan , in my case its a 40 pixel wide strip across the top and a 40 pixel wide strip down the left side. I could just set the offset to 40,40 to crop it out.   So I have a workaround that pretty easy to apply.

If you'd be interested in processing the overscan I could reach out to Finger Lakes to get their input on adding FITS header info describing the overscan and look at adding it to the Indilib FLI driver.    Only if you think this is worth it for APP long term as I'm good for now.

Best,

David

 


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi David @deisenlord,

Excellent, yes the offset crop tool is the answer to be able to remove the overscan from your calibrated files before starting with registration etc...

Yes, if they camera maker/capture software maker adds overscan information in the metadata/fits header, it will be very easy to fix in APP 😉

Without the information in the metadata, it will become very cumbersome quickly.

Another way would be to provide the overscan offsets manually in the calibration menu. So then, after calibration APP can automatically remove the overscan based on the supplied offsets. I can implement that fairly quickly I think. Would that be a good option/alternative?

Mabula

 


   
ReplyQuote
(@deisenlord)
Brown Dwarf
Joined: 6 years ago
Posts: 4
Topic starter  

This is the way PI handles it in their Batch Processing Script, a set of fields where you can describe the overscan regions. The documentation is non-existent so it took a little messing around to get it specified correctly.  I researched FITS keys and it seems the BIASEC and  TRIMSEC are commonly used in research environments, but certainly not always, example.

BIASSEC=   [2054:2101,10:2045]) Overscan strip image section
TRIMSEC=     [51:2002,51:2002]) Trim data section

I'm pretty sure this isn't used enough to warrant implementing though, I think your idea of adding options in the calibration menu would be more widely applicable and a better solution.


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi David @deisenlord,

I will study the FITS specification for these tags.

Indeed, providing overscan offsets in 2) calibrate at least should work always then.

This is on my ToDo list to implement.

Thanks for bringing this to my attention 😉

Mabula


   
ReplyQuote
Share: