Quote:
Originally Posted by iceman
What's the command line version of this called? (for windows)
Thanks
|
It's part of the pnmnlfilt program (PNM non-linear filter). I ran the frames through ppmcentre first just to cut down the size and do the centering stuff, then I ran them through a script that did these steps for each frame:
"fitstopnm" (converts my FITS format to PNM internal format)
"pnmnlfilt 1.3 1" (optimal estimation filter)
"pamscale 1.5 -filter=mitchell" ( 150% resizing. and smoothing)
"pnmtofits" (rewrite the files back as FITS format)
These programs are meant to work as a pipeline, so you chain them together:
fitstopnm infile | pnmnlfilt | pamscale | pnmtofits > outfile
If you want to see a UNIX-style shellscript for this then I've put the script I used on my website here:
http://www.acquerra.com.au/astro/software/fitsnlfilt
When I run this script it excpects the alpha and radius parameters on the commandline, that's what the $1 and $2 are - the first and second parameters.
The next step is to load all the frames into registax and processed from there.
If your data is in BMP format then you'd use the "bmptoppm" and "ppmtobmp" converters in the first&last steps instead.
The netpbm package has been around forever (I remember using it in about 1990) and has been ported to just about every platform. It's a standard part of any linux installation.
Here's the website:
http://netpbm.sf.net/
and here's the documentation:
http://netpbm.sourceforge.net/doc/
Bird