Croydon Astronomical Society

Updated

CCD User Guide - Software

13th January 2008

Author Roy Easto

version 1.5 Date: 10/12/1998
Introduction

Installation

Menu Structure

Taking Better images

Other programs

Colour Programs


Introduction

The CCD software was written by Roy Easto of the Croydon Astronomical Society for use at its observatory near the Kenley Aerodrome, Kenley, Surrey, UK. The Society owns an 18-inch telescope and a CCD camera built by Terry Platt. Anyone may use this software without restrictions.

The software was written for a rather under powered computer. The requirements were to produce a program the would run as fast as possible on a DOS computer with a 33mhz 386 PC with 4Mb of RAM. For speed it was written in the C programming language. Single keystrokes are used for most functions. The windows interface was not used - this would have made the program intolerably slow. The routine to capture images from the frame store has been highly optimised. The program also automates many boring functions such as continuous downloading and flat field accumulation. A separate program has been provided for the processing and alignment of a number of images, dark fields and flat frames. The program should work under Windows 3.11 and Windows 95.


Software & Installation

release: the software consists of two files, ccd.exe and ccd.ini. Create a directory C:\PICFILE and place all files therein. Edit the file CCD.INI using a text editor.

All the required files as well as a copy of this manual can be downloaded here as a .ZIP file

smooth=1
tp_directory=C:\PICFILE
fits_directory=C:\PICFILE
ps_directory=C:\PICFILE
tiff_directory=C:\PICTIFF
bmp_directory=C:\PICFILE
sb4_directory=C:\PICFILE
bmp_xpixels=1024
bmp_ypixels=768
disk_save_type=5
disk_load_type=5
The parameters can be changed to suit your system. The parameters ??_directory are the locations for the various types of load and save files. The bmp_xpixels and bmp_ypixels lines determine the size of a bitmap file that may be generated within the program. The disk_load_type and disk_save_type fields inform the program which file format to use as the default load and save file format. The smooth parameter refers to the Show Image routine. The image may be shown with smoothed pixels (if set to 1) or blocked pixels (if set to 0).

running the program. run the program ccd.EXE from DOS or Windows. You may supply an optional filename, if the program can open this file as an image file then the program will go straight into display mode with this image.

note: the ccd.ini file must be placed either in the current directory or in the directory 'C:\WINDOWS'. If the file cannot be found then default values will be assumed.

Documentation

This file 'CCDUSER.HTM' can be read by any Web browser. There are three embedded images which need to be in the same directory as this file.


Menu structure

Kenley Observatory CCD System 
Disk Menu -------------------------------------- :D
Flat Field Menu -------------------------------- :F
Contrast Stretch ------------------------------- :C
Miscellaneous Menu ----------------------------- :M
Histogram -------------------------------------- :H
Show Image ------------------------------------- :S
Exit program ----------------------------------- :X

Disk Menu

Used for loading/saving images to or from disk. Also used for loading images from the frame store and sending images to the frame store.

Flat Field Menu

Used for subtracting dark frames, performing flat fields and various dark frame and continuous functions.

Contrast Stretch Menu

Menu for performing various contrast stretch functions to make details within the image more apparent. Also used for displaying the brightness values of pixels in either rows or columns.

Miscellaneous Menu

Used for various tasks such as focussing, rescaling an image and showing statistics on an image. 

Histogram

A simple function to display the numbers of pixels at each brightness level. Many imaging programs have histogram functions - often these are far too small to be useful, this one is full screen. The graph provides the number of pixels at each brightness level. If the brightness levels in the image range from 600 to 1560 then the bottom axis will read from 0 to 2048. The left most part of the axis will always start at zero, the right most part of the axis will be the power of two greater than the brightest pixel in the field, in this case 2048 is the smallest power of two greater than 1560. The vertical axis shows the number of pixels with this brightness value, this scale is a logarithmic scale to make it more useful, if a brightness value has a count of 1.00 then there are 10 pixels of this brightness. If a brightness value has a count of 4 then there are 10,000 pixels of this brightness.

The title on the top of the graph shows the filename (if applicable), the max, min and average value of all pixels in the area being measured. This area is not the entire image but the square from (128, 64) at top left to (384,192) at bottom right - this is the middle half of the image.

Histogram of M87 ImageThe screen capture above shows the histogram of an unprocessed image of the Virgo galaxy M87. The X axis is labelled with brightness values from 0 to 4095. The peak value on the graph at around 400 corresponds to the average sky brightness - the most common brightness value on the image. The section of the graph to the right of this peak shows the object part of the image.

Show Image

This option will display the image that is in the current memory to the computer's screen.


Disk Menu

Load File -------------------------------------- :L
Save File -------------------------------------- :S
Erase File ------------------------------------- :E
Fetch from Framestore -------------------------- :F
Push to Framestore ----------------------------- :P
Change Directory ------------------------------- :D
Change Load File Type -------------------------- :C
Change Save File Type -------------------------- :T
Exit Menu -------------------------------------- :X

Load File

Lists all files of the current file type in the current directory. Files are displayed without their prefixes of suffixes, i.e. pixwin format files are called '~file' but will be displayed as 'file', a bitmap file called 'filename.bmp' would simply be listed as 'filename'. You are then prompted to enter the name of the file to load - again without prefixes or suffixes. The file is loaded from the hard disk into memory replacing anything that was already there. 

Save File

Saves the image that is currently in the computer's memory to the hard disk. The file is saved in the 'current save file' format. Similarly to the load facility no prefixes or suffixes should be given to files, the program will supply this. 

Erase File

This option allows you to remove images from the hard disk. It is important to do this on the night of the observation so that useless files do not clog up the listings and fill up the disk. At present only files beginning with '~' are displayed and can be erased. This option should really list all files in the current 'save file type'. 

Fetch from Framestore

This is the main option that is used to copy images from the Framestore to the computer. Any image in the computer is replaced by the image from the Framestore. The algorithm to download the image has been highly optimised to perform this operation as fast as possible.

Note: if this option is run at the same time that another image arrives from the CCD head into the Framestore then the two operations interfere with each other resulting in a corrupted image. 

Push image to Framestore

This option sends the currently loaded image from the computer back into the Framestore. This option is also highly optimised for speed. 

Change Directory

This option has not been implemented. Directories of large numbers of files will become a problem for some users. This option for the future will allow you to store different images in different directories. 

Change Load File Type

The program can read 5 different file formats and write 7 different file formats. Rather than prompting for the file type to be loaded the program has a current load file type and a current file save type, you may alter these on a one-time basis rather than every time. Select this option and the load file types are listed:

Change Save File Type

there are two file types in addition to the load file types. These are:

Flat Field Menu

Flat Field Menu 
Subtract Dark Frame ---------------------------- :S
Flat Field Image ------------------------------- :F
Add Images ------------------------------------- :A
Mask Image ------------------------------------- :M
Integrate Dark Frame --------------------------- :D
Integrate Image Frame -------------------------- :I
Continuous Capture ----------------------------- :C
Exit Menu -------------------------------------- :X

Subtract Dark Frame

Before using this option ensure that you have your image file loaded into memory. This option subtracts a file from the current  image. The program prompts you to enter a filename this file is loaded and subtracted from the current image. Note: only files of the current file type are displayed for loading, if you have files to be subtracted of another type then you will need to use the 'Change Load File Type' option in the Disk menu before calling this routine.

this option is normally used in the following way. Take your object image and save onto disk, take or locate a dark frame at a similar temperature and identical gain and exposure settings. For more hints on taking better images follow this link. 

Flat Field Image

When working to taking better images you will find that subtracting dark frames is not enough. After stacking multiple images and subtracting averaged dark frames you will see unevenness in the sky background. This is due to the non-uniformity of sensitivities of the individual pixels and even of lines on the CCD. These effects can be removed by flat fielding.

Before calling the routine load the image file and subtract the dark frame. The routine will prompt for the name of a flat file. The flat file is divided into the image to flatten the field.

How is it done? A good flat field file will have pixel values somewhere in the range 2048 to 4095, one of my fields has a max of 2770 a min of 2553 and an average of 2673 brightness. The noise of the image is measured by the Statistics program at 0.337 percent - fairly smooth, the range in pixel brightnesses is 223 over the average brightness of 2673, thus pixels in the flat field can differ by as must as ten percent so this correction is certainly worthwhile. To speed up processing the calculations are performed using integer arithmetic, to prevent clipping the calculations we use integers that can store from 0 to 4 billion. The image file pixel value is multiplied by 4096 and then divided by the flat field pixel value. In our example file an image pixel value of 3000 would be multiplied by 4096 and then divided by say 2673 giving a value of 4597. The effect of flat fielding is to brighten the image as well as giving a uniform sky background. If you wish to reduce the brightness back below 4096 then you can use the Multiply image facility. 

Add Images

You are prompted for a filename. This file is loaded and added to the image already in the computer. Adding pixel values may cause the image to exceed the original 12 bit format, this is fine images can be added together until the maximum brightness value of 65535 is reached. This option is often used for adding images together for averaging two images to reduce noise. 

Mask Image

This option arose out of a desire to show aspects of an object that had a huge dynamic range. It has been used to show 6 satellites of Saturn at the same time as a correctly exposed image of the planet. It has also been used to show the trapezium at the same time as the outer lying areas of M42. Normally two exposures are taken of an object, a very deep exposure where many areas are over exposed and a short exposure where the brightest details alone are shown. The longer exposure is then used to create a mask. Use the 'Row Display' in the 'Contrast Stretch' menu to display the brightness values along one line. Select a value at which perhaps half the pixels are brighter than this value and half are fainter - lets say a brightness value of 50. Perform a Normal Contrast Stretch from 50 to 51. This should produce a mask image with just black and white pixels.

Next load the long exposure image from the disk menu, use this mask option and enter the mask filename. Use 'Show Image' to look at the resulting image, the brighter parts of the long exposure should have been set to black. Finally use the 'Add Images' option mentioned above to add in the short exposure and look at the results. 

Integrate Dark Frame

This is an invaluable tool for automatically generating smooth dark frames. If you subtract a dark frame from another taken immediately afterwards you will find a difference caused by the random nature of the CCD camera, this is called noise and it cannot be eliminated. A single dark frame can be subtracted from image files, if this is done the noise in the dark frame is added to the noise in the image and the resulting image is quite noisy. A better solution is to take 4, 8 or even 16 dark frame images and average them together to reduce the effect of this noise. Capturing, adding together and averaging a large number of dark frames is a needlessly boring task. This option automates the process.

Run the option, enter a filename such as d22a123 (for perhaps dark, 22 degrees below, a for averaged, 12 for exposure of 12 (80 seconds) and 3 for a gain setting of 3). Do not enter more than seven characters. Then enter the number of dark frames that you wish to capture. Then hit return when the display is showing a good dark frame. The program will then continually read the images as they appear on the frame store and add them together into the current image stored in the computer. The program remembers the statistics for the first image. With each frame capture the statistics of the image are measured and displayed, if the average pixel brightness differs from the first image by more than 6 percent then the message 'rejected' is displayed and the computer waits for the next image. Otherwise the image is accepted. The statistics displayed for subsequent images are as follows: the frame number, the average brightness and noise of the last image, the maximum value and noise in percent of the accumulated image. As time progresses the noise, as a percent of the image should fall to around 0.3 percent, beyond a certain number of images little improvement in the noise will be noted. When the correct number of images has been captured or the brightness of the brightest pixel has reached 60000 the program will exit the loop.

You are now prompted with the question: 'Do you wish to store average or sum of the frames? (A/S):'. If you enter 'A' the computer will divide the brightness of each pixel by the number of frames successfully captured. This stores a smooth dark frame that can be directly subtracted from an image taken at the same settings. You may sometimes wish to store the sum of the frames by entering 'S' - you will do this when trying for the best quality images where you do not wish to have any rounding errors. 

Integrate Image Frame

image integrating program. This program will continue until you hit a key to stop it or the brightest pixel approaches the value of 65000, the max the program store (at least 20 frames). The program needs to be given a dark frame that it subtracts from each image before aligning each image and stacking on top of the rest of the image. Images that do not sufficiently match the first are rejected.

The program is not good at detecting bad frames (clouds, car headlights or tracking errors). And so is not recommended. If you wish to try it then follow the instructions on the screen.

There is a better option to this program: use the continuous capture program to store image files in consecutive files, delete any images that are not suitable for integration. Use the same option to store flat fields. Use the integrate dark frame routine to store an averaged dark frame. Process the flat fields with the dark frame to get a smooth flat field. Finally use the separate 'offset' program to generate the final image file offsetting images where required. 

Continuous Capture

This is one of the most useful options of the program. This option prompts you for a part filename, lets say you enter 'GH'. It then asks you to hit return when the first good image appears on the screen (usually it will already be there). Hit return and the computer reads the Framestore and saves it to file 'GH1'. The computer will detect the next time an image has been loaded from the CCD head into the Framestore and store it in 'GH2' and so on. Each time an image is stored statistics on the image are displayed on the screen. Hit any key to stop the continuous capture routine. All of the images are now stored on the hard disk for further processing. This routine is typically used for storing image files for later processing with the 'offset' program.

The program will not work for exposures of 4 seconds or less - there is not enough time to detect the new image and download it before the next image comes down from the CCD.

How does the program now that a new image has been loaded from the CCD into the Framestore? Once an image has been downloaded a pixel on the bottom of the image is marked (set to another value). Periodically this pixel is checked to see if it has been overwritten. Once it has been overwritten the program assumes that a new image has arrived and it begins to copy it into the computer. 


Contrast Stretch Menu

Contract Stretch menu 
Normal Stretch --------------------------------- :N
Auto Stretch ----------------------------------- :A
Log Stretch ------------------------------------ :L
Power Stretch ---------------------------------- :P
Unsharp Mask ----------------------------------- :U
Row Display ------------------------------------ :R
Column Display --------------------------------- :C
Exit Menu -------------------------------------- :X
Enter Command: 

Normal Stretch

This routine takes a lower brightness level, a higher brightness level and stretches this range to the range 0 to 4095. For example, if we measure the darkest pixel in the field to have a value of 1200 and the brightest to be 2600 then we enter these values as the lowest and highest values and the image is stretched linearly to fill the values from 0 to 4095. Any values less than 1200 will be clipped and set to 0. Any values higher than 2600 will be clipped at the upper level and set to 4095. At the end of the stretching a histogram is displayed to show the new pixel values. 

Autoscale

This is a very useful option. Like the Normal stretch above the image is linearly stretched. However, the computer calculates its own lowest and highest bounds and performs the stretch.

The computer cannot use the entire CCD image to calculate the highest and lowest pixel values because there may be borders on the image. Instead it uses the area from (128,64) to (384,192) which is approximately the center half of the image.

Note: this routine does not work too well when the image has a faint object but a bright star. Generally the star saturates at 4095 and the routine just stretches the sky background down to black.

A histogram is shown at the end of the stretch. 

Log Stretch

Again the image is stretched by this function. Prior to using log stretch you should have removed the sky background. This is another stretch for 12 bit cameras. Pixels at light level 0 are unaffected, as are pixels at light level 4095. The pixels in between, however, will all change in value. Entering a value of 1 will be almost a linear stretch, a value of 8 or 10 will stretch the low light levels greatly whilst compressing the high light levels into the higher levels. This stretching method is ideal for enhancing faint objects without clipping the bright field objects too much. 

Power Law Stretch

This stretch is the opposite of the Log stretch. It is used for obtaining details from the high brightness areas in the image typically planets. The darker areas of the image are compressed. A value of 1 will hardly affect the image, 10 is extreme. 

Unsharp mask

This is 'famous' David Malin technique for creating images with detail in both the light and dark areas of an image where detail exists. A defocused version of the image is created and subtracted from the original image. The brightness ration of the original and defocused image will determine the amount of the effect. At present this ratio cannot be changed. You are prompted to enter the radius of the defocusing. Note: a larger radius means that the computer has to perform a great number of calculations and this process could take a lot of time on an older computer. 

Row Display

Rows on the image are horizontal lines on the screen. These may be displayed as a brightness profile. There are 256 rows on the CCD image. You are prompted for which row you wish to display, enter a number from 0 to 255. The brightness values of each pixel of the row are displayed. The left most pixel on the row is displayed on the left-hand side of the screen.

Image showing pixel counts of one row of M87 imageThis image is an unprocessed image of M87 as used for the histogram and show image descriptions. The Y axis is measured in thousands. The sky background can be measured at around 400 and the peak brightness is around 2100.

Whilst the profile is displayed a number of keys are active to change your view. N and P take you to the next or previous row. Z zooms into the central half of the screen. Left and right arrow keys move the displayed area of the line move (only if already Zoomed). Any other key will drop you back to the stretch menu. 

Column Display

Exactly the same as the row display. There are 512 columns on a standard CCD image. Enter the column number that you wish to be displayed, 0 for the left most column, 511 for the rightmost. The brightness values of the pixels are displayed. The same keys are available in Column display as in Row display. 

Miscellaneous Menu

Miscellaneous Menu 
Auto Focus ------------------------------------- :A 
Multiply Image --------------------------------- :M 
Image Statistics ------------------------------- :S 
Clear TP Header -------------------------------- :H 
Clip Image ------------------------------------- :C 
Edit Image Comments ---------------------------- :E 
Exit Menu -------------------------------------- :X

Auto Focus

Set the camera to taking images of around 5 seconds, preferably use a three hole mask over the full aperture of the telescope. Centre some stars in the field. Select this menu option. The program detects when each new image has been downloaded; the center of the CCD field is read in from the frame store and displayed in close up on the computer monitor. Hitting any key at any time will return you to the menu. 

Multiply Image

Enter any floating-point number to multiply every pixel by the same value. All calculations are done using floating point arithmetic before truncating to an integer; this reduces possible rounding errors although the calculations take longer. Suppose that you have taken 8 dark frame images added into one frame and 6 flat field images added into another frame. By multiplying the flat field frame by 8/6 or 1.3333 the images will be suitable for processing together. As a general rule if you multiply a frame by a number less than 1 you will incur more rounding errors. This is why we did not multiply the dark frame by 6/8 = 0.75 before further processing. 

Image Statistics

This routine produces statistics on the current image in the computer. Statistics are not produced on the entire image - this contains edge pixels and possible titles, the area measures is from pixel (25, 12) to pixel (509, 255). The statistics produced are as follows:

Max - the brightness level of the brightest pixel in the area.

Min - the brightness level of the darkest pixel in the area.

Avg - the average brightness of all the pixels in the area.

Sdx - a measure of the average difference brightness between adjacent pixels.

Sdx2 - a measure of the average of the square of the differences between adjacent pixels - the image sharpness.

Noise - the ratio of the difference between adjacent pixels to the average value of the pixels. If the average difference between adjacent pixels is 4 brightness units and the average brightness of a pixel is 600 then the background noise is 4/600 = 0.67 percent - a good noiseless image. As you take more images for stacking this noise level will decrease. If you are measuring this value after dark framing and flat fielding you will be measuring the true quality of the image and the lower the value the more the image can be stretched to show fainter details. Hit any key to return to the menu. 

Clip Image

This facility allows you to set any pixels within a box to zero brightness. Enter four numeric integer values separated by spaces. The first two values are the position of the top left-hand pixel of the box and the last two are the x and y coordinates of the lower rightmost pixel of the box. I.e. enter the values '0 0 511 15' to clear out the top 16 lines of the image. Enter '0 0 16 255' to zero the left most 16 lines of the image. 

Invert Image

This is actually a contrast stretch program where a pixel of brightness value 0 is given a brightness value of 4095 and a brightness value of 4095 is set to zero. The effect is to invert the image giving a negative image. 

Clear TP Header

This is the same as clip image with values '0 0 511 15'. This routine was originally used for blanking the headers that had been put into images by the pixcom software. 

Edit Image Contents

To be used for editing FITS headers - not presently implemented. 

Show Image

Images are show on the screen using a 320 x 256 mode using 256 colours set to black, white and shades of grey. This means that not all of the pixels are shown on the screen, pixels will be skipped in the x-axis where 512 pixels need to be displayed on only 320 display pixels. This may be a configurable parameter in the future.

resulting m87 image after processingthis image is a raw image of m87. The sky brightness can be seen as the grey sky background. This is the same image as used for the histogram and row display explanations. The core of the galaxy is visible along with three other galaxies and the active 'jet'.

Once the image has been displayed a number of keys become active to perform various functions. Press the X key to leave the show image function and return to the main menu. To see a list of these keys press the ? key. These functions and keys are described below:

Photometry Routine

This option is used to measure the total brightness of areas of the image. Initially you are given a cursor measuring 9x9 pixels. If you press the Enter key the brightness values of all pixels under the cursor are added together and printed on the screen. You can use the cursor keys to move the cursor around the screen, from one star to a comparison star to an area of dark sky. The size of the cursor can be changed using the Page Up and Page Down keys. By setting the cursor size to 1x1 you can measure the brightness of individual pixels. It is beyond the scope of this document to describe how this facility can be used to measure the magnitudes of stars or of the sky background. It has, however, been done - ask the author.


Taking Better images

A typical night's observing schedule is given below for creating images with very low noise:

Creating a Flat Field Image

This step requires a little extra effort but is worth it for quality images with smooth sky backgrounds. A flat field image needs to be taken for a given CCD setup, once this is done it can be used for all images taken using this CCD - telescope configuration. For example at the observatory at Kenley we have one flat field for the F4 focus, another for F20 and others for 50mm, 200mm etc focal length camera lenses. The temperature at which the flat field was taken, or exposure or gain is not important.

ensure that the ccd's temperature has stabilised. You need to image an evenly illuminated sheet at full aperture. The sheet should be illuminated by white light rather than monochrome light. For small apertures you can fix a tracing paper like mask over the end of the telescope and illuminate it evenly. Setup the CCD to take short exposures (around 10 seconds each) at a gain setting such that the average brightness of the pixels is between 2000 and 3500, this is important to reduce noise in the finished flat field. Use the Continuous capture facility to record perhaps 16 of these fields, lets say called df1, df2 … df16. Now remove the mask and take 16 dark frames using the Integrate Dark field and store the sum of the frames the 'S' option rather than the average of the frames. The background count of these dark frames should be far lower than the 2000 - 3500 of the 'df' frames, store the Integrated dark frame in the filename 'dtemp'.

Now load 'gh1' into memory, from the Flat Field menu use the 'Add image' option to add 'gh2' then 'gh3' and finally 'gh4' and store in filename 'gh1-4'. Repeat this process adding 'gh5' .. 'gh8' together into file 'gh5-8' and likewise create files 'gh9-12' and 'gh13-16' - doing it this way will reduce errors. Finally load 'gh1-4' into memory and add to it images 'gh5-8', 'gh9-12', 'gh13-16' and store the total into 'ghtotal'. Now use the 'Subtract Dark Frame' option to subtract the file 'dtemp'. We now have a flat field file. Run the 'Image Statistics' option on the file to see the average brightness of the file, lets say the average brightness is 34724 (remember we have added up 16 images together). We should really reduce this smooth flat field back down to a 12 bit image and so we now use the 'Miscellaneous menu' option of Multiply image and enter a value of 0.1, this gives us a flat field with average values of around 3470. Save this flat field now as 'flf4' in our example for flat field at F4.

The last and important step is to delete all of the temporary image files 'gh1' .. 'gh16', 'gh1-4' etc. This good housekeeping is essential.

Use the Image Statistics to examine the noise of the flat field - it should be around 0.3 or 0.4 percent. Look at the image with 'Show Image' it should seem very even, perform an Auto Contrast stretch on the image by hitting 'C'. Your should now see in great detail the patches on your CCD setup as well as the vertical lines of differing sensitivities. 


Other programs

Offset.exe: Used for stacking large numbers of image files on top of each other to reduce noise and producing smoother images where subtle detail is more apparent.

usage: offset.exe output_file dark_frame flat file1 file2...

All files are assumed to be in the new 'pixwin' format i.e. begin with a '~'. The output file is the file to be created as the sum of all the image files. The dark_frame is a dark frame taken at the same settings as the image file, this should be an averaged dark frame, if you do not use an averaged dark frame the output file will be very noisy. If you do not have a dark field you may substitute the word 'null' for this parameter. The flat file is a flat field image, if you do not have a flat field image you may substitute the word 'null' for this parameter. All of the remaining parameters are files to be added together.

At present the program assumes that all files are to be found in the directory C:\PICFILE . This is a bit of a nasty assumption which should be changed in a future version.

offset2.exe: similar to offset.exe but with a different algorithm for aligning the images.

convall.exe: This program converts all Old Terry Platt format files: #file in the current directory into the new ~file format files.

You must ensure that you have sufficient disk space before running the program, you will need free space equal to the amount of files in the directory.

Note: the date and time of last file modification are unchanged by the program. You are prompted to hit 'Y' before the conversion proceeds. The program does not remove the old format files from the directory, to do so would be extremely presumptious, you will feel more confident doing this yourself.

push.exe: Used for displaying a number of images on both the computer screen and the frame store monitor. The first parameter is the interval in seconds between displaying files. The files to be displayed must all be in the new 'pixwin' format, i.e. beginning with a '~'. Once the last image has been displayed the program goes back to displaying the first image once again. The program can be aborted by hitting the 'Q' or 'X' keys. All image files must be in the directory c:\picfile.

usage: push.exe interval m1 m15 m74 m31 ng7331c etc… 


Colour Programs

The software above does not allow for colour images. The CCD program can be used to take three images through three coloured filters. Other programs, such as MIPS can merge the three files into one colour image. The author has also written a program for doing this although its not yet ready for release, just ask me to hurry it up. The process is to store the three images, processing them but not stretching them. It is also a good idea to take three images of a Dulux colour chart to allow for colour balancing. This can be done during the day by fitting the CCD to a camera lens and focussing on the nearby colour chart.

Ensuring a correct colour balance is far more difficult than it might be thought. It is important to ensure that the flat fields were taken using white light and not sky or clouds illuminated by orange sodium lights.

The sky background is normally subtracted from images. The sky background will be dominated by the orange glow from local lights, the background will therefore appear differently on each filtered image. After the images have been processed for dark frames and flat fields, measure the background sky brightness on each image. Lets say the sky background has a value of 200 on the red image and only 130 on the green image. We need to stretch the red image using the normal stretch using a low value of 200 and a high value of 4095+200=4295. The green image is similarly stretched from 130 to 4095+130=4225, this means that we have allowed for differing sky backgrounds without increasing the brightness of one colour against the next.

The next procedure will be to use the 'Multiply Image' to alter the brightnesses of the various images before collating all three images.