chicam is successor to hmecam, which I developed in Nov/Dec 2005. The first thing to do is to get the current application and library code into an SVN repository under the new package name. In late 2005 I had experimented with CVS on this project, but some time after the software worked I went off that idea and used the much simpler RCS instead. We transfer no history into chicam SVN, just the current version.
Next, we copy the "documentation" into the chicam SVN repository. This is a single HTML file and a bunch of figures. The test is a "note to self" style document and not for release. But it contains useful information for development and for starting user and installation documentation.
We need to do a quick review of all the source code to rename files and change wordings so that it is called chicam and not hmecam. While doing that we should collect a bit of user documentation.
It would be good to be able to stack FITS data and not be tied down to PPM for input. This requires some not too difficult changes to newreg.sh, regist and stack.
The falsec utility gets its name from an A task I had to turn a grey image into a combination of grey and false-colour graphic. The colour lookup table was hard-coded. We should make falsec emulate the old one.
It is also a bit of a nuisance that we cannot make logarthimic stretches of grey images. All it would need is for truec to accept grey input.
The package is tagged as version 1.1.0 and tar balls are made for source, Debian 4.0 build and Cygwin build. It works ok on Cygwin, but there are a few issues.
We may encounter frames or images with upper-case file name extensions, especially on Windows where the case is consistently presented as mixed, but is in fact case-insensitive. But on Linux it may be good, too, to allow upper-case extensions. So the utilities now accept .PPM, .PGM, .FIT and .FITS as equivalent to the lower-case versions. .fitc is different, because only chicam makes these and we can be sure they are always lower-case.
Most programmes do not work in a basic Cygwin environment. This is because the linking is dynamic again. The Cygwin executables are bigger because cfitsio is built by myself as just a .a. So to run a binary distribution in Cygwin the user needs:
To build from source they also need to build cfitsio and perhaps a package for netpbm development. (And they need a compiler, of course.)
On Linux it's the same, to use a binary distribution they need compatible shareables for cfitsio, netpbm and fftw3. To build from source they need the libraries, having to build what is not in their distro.
The new fourier utility calculates the auto-correlation or power spectrum of a FITs image (or the green channel of a FITc image).
Merge the application and library source code into a single directory with a single Makefile. Build into the new bin directory.
Remove the old hmecam documentation, move the user documentation to the top directory and extend it to cover installation. Move the LICENCE up to the top and copy it to the bin directory.
Tag this as version 1.3.0.
Tar balls are made thus (trunk or tags/1.3.0 as working directory):
rm -rf /tmp/chicam-1.3.0 rsync -av ./ /tmp/chicam-1.3.0 --exclude .svn cd /tmp tar zcf chicam-1.3.0-source.tgz chicam-1.3.0 cd chicam-1.3.0/src make cd .. cp index.html chi.css bin mv bin chicam-1.3.0 tar zcf ../chicam-1.3.0-amd64.tgz chicam-1.3.0 tar zcf ../chicam-1.3.0-i386.tgz chicam-1.3.0 tar zcf ../chicam-1.3.0-cygwin.tgz chicam-1.3.0
Use one of "amd64", "i386" or "cygwin" in naming the binary tar ball.
Add optional parameters to truec so that each colour channel can be scaled with a different positive factor before the common - logarithmic or linear - scaling takes place. We need this, because the colour channels may contains original pixel values that do not take account of the fact that the red and blue filters allow only 50% and 70%, resp., as much light through than the green filters.
Add the utility degamma
.
Add the utility mosaic
.
Add the utilities gamma
, hdrfill
and
hdrtone
.