ORIGINAL WITH EDITS IS HERE: http://maphilli14.multiply.com/journal/item/37/Michael_A._Phillips_Planetary_Processing_Routine_version_7.0
Introduction
This is by no means a replacement to the tutorials I learned the most from such as Mike Salway's (http://www.mikesalway.com.au/2008/08/26/planetary-imaging-and-image-processing) or Paul Haese's (http://paulhaese.net/planetaryprocessing.html). I am simply tuning, tweaking and automating some of the steps to suit my own taste and hope you find some ideas here to use for yourself!
Living document, I do plan in incorporating changes and suggestions over time and will reversion and date accordingly so please send feedback. Please critique, that's how we all get better!
All the routines in this HowTo use applications running on Linux, even the windows only software packages run under Wine (http://www.winehq.org) running under Linux. All of the video screencasts are recorded and produced using applications running on Linux. I am confident that all software and processes detailed in this HowTo can be run on MS Windows with one exception. The capture software I use, Coriander, will run only on Linux. Even some of the bash scripts may be run under Cygwin (http://www.cygwin.com/) although I've not tried myself. Never fear, the main method of this HowTo still applies to users running on MS Windows.
OK, HERE'S the SHORT METHOD!
Run your Planetary captures through ninox (http://acquerra.com.au/astro/software/ppmcentre/)
Move ninox sorted data through Registax
Video Tutorial: Planteary Processing version 7 - Ninox to Registax
Move Registax stacked data to Iris for RGB Combine and processing.
Acquisition
My equipment consists of
I use a Celestron C8i SE (orange tube)
Ubuntu 8.04 Linux and custom coriander (for firewire cameras)
DMK 21AF04 (Firewire)
2.5x PowerMate
Astronomik LRGB filters
True Tek Color Filter Wheel with visu diag and PC serial cable (USB-to-Serial)
some shots here:
http://picasaweb.google.com/maphilli14/MichaelAPhillipsAstronomyEquipment#5244213374458800210
Once everything is connected up I follow the 'custom coriander 1.0.0' modified by Anthony Wesley (aka Bird - http://acquerra.com.au/astro/software/coriander/ ). This document is a work in progress and you may email me for a preview!
After completing your captures you may move onto the next section that moves data from 'transit' to 'sorted'. It is important to note that this coriander outputs a static image stream not a .avi or video file. This saves me a step extracting the movie to images later on!
Ninox
I prepare all captured source images that are really .fit files by passing it through ninox (http://acquerra.com.au/astro/software/ppmcentre/) to sort and crop the images and then output to a new subdirectory called 'sorted' The full script is a bash script and can be found here:
http://www.mediafire.com/?sharekey=2c029c78ccec6d383eb48d43a6cb8a62606ebfa4f4a2d337
I'm working on a newer version of this script that will read the capture directories and use them to create all the sorted, ninox folders. Per these guidelines (http://maphilli14.blogspot.com/2008/01/tips-on-organizing-your-computer.html). When done I will revise this blog per v7.1 :)
The key ninox syntax is:
ninox -width=300 -height=300 -cutx=300 -cuty=300 -qestimator -qrenumber -outdir=Astronomy/Sorted/2-Scratch/Jupiter-$1/$2 /Astronomy/Transit/1-Corianders/$1/$2
This, “-width=300 -height=300 -cutx=300 -cuty=300” crops the images to a square 300x300 pixel size
This “-qestimator -qrenumber” sorts the data and renumbers the images based on quality
This “-outdir=Astronomy/Sorted/2-Scratch/Jupiter-$1/$2 /Astronomy/Transit/1-Corianders/$1/$2” allows me to specify a new folder in a sorted (not transit) folder for safer keeping. The $1 and $2 are the arguments passed to the script at runtime in which $1 is the ISO date that coriander writes ( IE 20081122) and $2 is the UTC time (IE 001122UTC).
Registax
NOTE at as of 2008.12.12 - I was unable to get AviStack to load the .fit files that I work with. A shame too as the batch mode looks VERY promising!
Double Click for widescreen video or press the links below
-
Widescreen version on YouTube is here - http://www.youtube.com/watch?v=GrFcvwTjdbI
Full Resolution AVI (DivX 1280 x 768) version can be found here - http://www.mediafire.com/?sharekey=2c029c78ccec6d383eb48d43a6cb8a62606ebfa4f4a2d337
Drag & Drop into Registax
Switch align mode from “Default (single)” to none. No align, no reference.
Locate a good cutoff point by moving the frame slider at the bottom left and right. Good frames are on the left and bad frames on the right. For example I typically stack the good frames on the 'left', typically 500 of the total 1500.
Now hit the limit button to trim out the bad frames on the 'right' that will not be stacked.
Notice that after hitting the limit button you will skip the Optimize tab and go directly to the stack tab. At the stack tab simply hit the stack button. Ninox has already sorted and aligned the data so there is no reason to have registax do it again. Some folks believe that ninox's alignment is actually better and or more efficient than registax's.
After stacking you are at the wavelet phase. I typically apply 3 schemes much like a Small, Medium and Large drink sizing.
No wavelets or a raw stack. This is my small wavelets scheme, denoted as R0.tif (Where R is the color, like R,G or B)
Mike Salway's scheme (http://www.mikesalway.com.au/2008/08/26/planetary-imaging-and-image-processing) This is my medium wavelets scheme, denoted as R7.tif
3 @ 10.5, 4 @ 15.2, 5 @ 16.5.
And something I call Ice 150% Which is basically about 50% more than the medium scheme listed above. This is my v7 (large) wavelets scheme, denoted as R71.tif
3 @ 15.2, 4 @ 22.6, 5 @ 24.6.
Net net is that you've got to find a sweet spot for your optics, conditions and taste.
If you save the files to the hhmmssUTC name (Up one folder when hitting the save button and has the numbered filter subdirectories under it), with the x7.tif filenames then you can use this bash script (http://www.mediafire.com/?sharekey=2c029c78ccec6d383eb48d43a6cb8a62606ebfa4f4a2d337) to slide the Registax files into Iris and back again in a pretty cool manner. When using this script, first verify the directory locations agree with your Registax and Iris working directories. This step is an optimization when working with many files and not completely necessary, as you can move the files manually.
RGB combining in Iris.
Download Iris (http://www.astrosurf.com/buil/us/iris/iris.htm) and set the Iris scripts and working path locations.
File → Settings:
File Type to PIC
Working Folder → “YOUR FOLDER” (such as C:\astronomy\temp\irisscratch 2000-01-01\)
Loading a test file, File → Open. Find a file processed in Registax .tif format
Load each channel into Iris
Adjust visu levels via the thresholds
Move the top slider right towards 30,000+
Set mono
adjust wavelets (slight)
Processing → Wavelet...
Save as new, R7.PIC in Iris' Working Folder location (C:\astronomy\temp\irisscratch 2000-01-01\)
Iris LRGB (trichro) function to assemble as RGB
View LRGB and set channels to:
Red: R7
Green: G7
Blue: B7
APPLY! COOL!
The section with video below details how to fine tune the alignment of the channels.
Now lets look at how to automate this
PART 1 Introduction
Widescreen version on YouTube is here - http://www.youtube.com/watch?v=tNdst4pfPzY
HD Flash video (1280x768) on Vimeo is here - http://vimeo.com/2385460
Full Resolution AVI (DivX 1280 x 768) version of all Three Parts can be found here - http://www.mediafire.com/?ytwl9t21dyj
PART 2 RGB Combine Options
Widescreen version on YouTube is here - http://www.youtube.com/watch?v=MYO2blmTpHE
HD Flash video (1280x768) on Vimeo is here - N/A
Full Resolution AVI (DivX 1280 x 768) version of all Three Parts can be found here - http://www.mediafire.com/?ytwl9t21dyj
PART 3 Post Processing Options
Widescreen version on YouTube is here - http://www.youtube.com/watch?v=vtnocoWH9jM
HD Flash video (1280x768) on Vimeo is here - N/A
Full Resolution AVI (DivX 1280 x 768) version of all Three Parts can be found here - http://www.mediafire.com/?ytwl9t21dyj
Set the Iris scripts and working path locations.
File → Settings:
File Type to PIC
Script Path → “YOUR FOLDER” (such as C:\astronomy\permanent\scripts\iris\)
Place the planet.pgm (http://www.mediafire.com/?sharekey=2c029c78ccec6d383eb48d43a6cb8a62606ebfa4f4a2d337) file here C:\astronomy\permanent\scripts\iris\
Working Folder → “YOUR FOLDER” (such as C:\astronomy\temp\irisscratch 2000-01-01\)
Copy the file names R7.tif (Red Channel), G7.tif (Green Channel) and B7.tif (Blue Channel) to the Iris “Working Path” folder
Bring up an Iris command prompt by clicking this button
Now type the command, “run planet” VIOLA!!!
Fine tuning of the separate RGB channel alignment:
View LRGB and set channels to:
Red: R7
Green: G7
Blue: B7
Apply
Now set the step to 10
Set the channel you wish to move via the radio button
Use the arrows in the upper right to move the channel around relative to the other channels.
Change the Step value to something smaller or larger based on your needs
When done, click OK
Save as the format you like.
Processing in Iris
Wavelets
Processing → Wavelets...
Typically I apply a very small scheme such as....
Unsharp mask
Processing → Unsharp Mask
This can make the data over processed quickly so be careful. You will have an opportunity to remove noise or oversharpening in the next step
Blur
Processing → Blur Filter...
Sometimes I add the full amount in the 1st run and have to run it again iteratively.
Iris resize and or final visu levels - save as .bmp for sending to gimp (anyone know any gimp/iris compatible formats, let me know!) and .jpg for web
There is a great whitebalance option available by using the mouse to select a portion of the image that 'should be' white. Then in the command window type 'white'. You may also tweak via the "View -> White Balance Adjustment". The same can be done for setting a black background. The video shows this well!
I have another Iris script that runs here to save as a variety of formats. These then get picked up by the bash script waiting for us. The data then returns to the 4-TempStacked folder.
Run iris7 (savejpg “name” 1) etc...
ENJOY and PLEASE COMMENT!!!
MS Windows Addendum:
Carried forward from my v5 routine.
Batch .avi to .bmp conversion:
Use VirtualDub to convert/extract the .avi video to .bmp still images:
Download script here for windows: http://www.ericphelps.com/scripting/samples/VirtualDub/index.html
Load job in Vdub
Now back to Ninox Sorting in section 3
all the Red, Green and Blue files are mixed in the same directory. Here's an example script to sort into subdirectories. My IC Capture filenames might not match yours, but have a look.
Sort by rgb capture via bash script
Bash script that sorts LRGB image series into sub-folders for organization and processing - http://www.mediafire.com/?2jmfkmxmnxe
To be honest, I hate looking at the script now to figure out how to explain what it does.
I recall chaning directories into the mess of RGB files and running this with the variables described in the top of the script!
ENJOY and PLEASE COMMENT!!!
No comments:
Post a Comment