View Single Post
  #5  
Old 10-02-2020, 11:45 PM
Astrofriend's Avatar
Astrofriend (Lars)
Registered User

Astrofriend is offline
 
Join Date: Aug 2017
Location: Stockholm, Sweden
Posts: 494
Hi,
It was long time ago since I updated my macros I use to pre process my Canon .CR2 raw format files. I have started to rewrite it and make it more user friendly, from very uggly to only uggly user inter face :-) . I also added more functions to make it more practical to use. It will also be possible to batch read Nikon and Sony raw files, with a little extra line of code whatever camera you have as long DCRaw can read them. I have only seen this over scan region on Canon raw files, if not in the raw file you can disable the reading of the over scan region. I will post the new macro on my homepage soon.

But until then I have made a small test tool, "Frame Selection test". With that tool you can test your camera's raw file if it has an over scan region which I use in my Canon raw files to do a bias and dark calibration without any dark and bias files.

The over scan region width on my three different Canon cameras are:

Canon 350D, column width = 42 pixels
Canon 5D (Mk I), column width = 90 pixels
Canon 6D, column width = 72 pixels

It's placed on the left side. There is also an over scan region on top of the image, but I don't use that.

To make my macro work with all my Canon camera raw files I have set the reading of the over scan region from column 5 to column 32. And the rows with a margin at top and bottom of 10 pixels.

I will come back with an update of my tutorial as soon the new version of my macro is functioning.

Here at the middle of the page you can download my "Frame Selection test" tool:
http://www.astrofriend.eu/astronomy/...wn-macros.html

There are comments in the file how to use it.

Note:
You use it on your own risk, back up your files before using it !

/Lars

Last edited by Astrofriend; 11-02-2020 at 12:09 AM.
Reply With Quote