CanopyDigi ThresholdChoose

Program Overview
This program shows photographs from the ProcessedBMP folder together with eight false colour images. The user can select one of these false colour images (that which is the best fit to the original) for further processing.

Procedure
By default, each original BMP photograph is shown in the middle of a 3*3 matrix, surrounded by the false colour images that relate to it in ascending sequence from top left to bottom right, so that the most appropriate false colour image may be selected easily. The name of the monochrome photograph can be ascertained by clicking on it, when its name will appear in the information box (top left). A false colour image can be selected by clicking on it, and its name will appear, together with the number of blue pixels it contains as an absolute figure and as a percentage. Selection is effected by clicking on the desired false colour image and then on the PictureWanted button, which saves the image selected to a folder for later use. The legend on the PictureWanted button then changes to Picture Saved.

Note that if none of the false colour images is considered a good fit, the user should make a manual note of this and re-run the ThresholdSet program with a new set of thresholds until a suitable false colour image is produced.

Buttons
The buttons provided are, in sequence, “PictureWanted”, “Next”, “Previous”, “First”, “Last”, “Specific”, and “End”. These do what they say but, to amplify, the “Specific” button uses the numeric entry entered in the box beside it to jump to a particular picture. For example, typing 25 in the box and clicking “Specific” will display the 25th photograph in the folder(or the last available if there are fewer than 25). Note that this is alphamerically the 25th photograph in the source folder – the actual name is irrelevant.

Input
Input is from the ProcessedBMP folder and this is automatic, requiring no user intervention.

Output
Output is to the CalculateToDo folder and again this is automatic. This program will automatically delete the contents of the CalculateToDo folder as it starts, so that only the current run is processed. If the user wishes to retain these files for any reason, they must be copied elsewhere first.

Technical Comments
1. Screen sizes Because there are so many sizes of screen available, it is possible to amend the screen layout by altering the parameters in the text file containing the picture parameter details (CanopyDigiThresholdsChooseInputs.txt), but this is a somewhat tedious task to be undertaken only if really needed. The order of the input file MUST NOT be changed, just the numeric parameters, and a safety copy of the original file is provided in case of problems, together with an alternative file (CanopyDigiThresholdsChoose4Inputs.txt), which forces a 2*2 output, rather than the usual 3*3. (This must be renamed CanopyDigiThresholdsChooseInputs.txt before use - i.e. without the "4".) It should be noted that eight false colour images must be created for each individual photograph in CanopyDigiThresholdSet, even if fewer than eight are displayed (i.e. if the 2*2 layout is used).

2. Erroneous multiple selections There can be no check on multiple selections for the same photograph; if the PictureWanted button is used to select two different thresholds then two records will be stored in the CalculateToDo folder. The erroneous one must be deleted manually.

3. Printing No print facility has been provided, but printing (should it be required) can be achieved by the use of the PrintScreen option, copying the screen display to a suitable host program (e.g. Microsoft Paint) and printing the result.

-End of Help -