#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
#include <ctype.h>
#include <limits.h>
#include <getopt.h>
#include "../include/jhead.h"
#include "../include/clens.h"
#include "../include/snip_str.h"
Functions | |
void | display_help () |
Display usage information for clens. | |
void | print_database () |
Display all information read from profile files. | |
int | main (int argc, char **argv) |
main function for clens. Parses command line and controls flow of clens. | |
Variables | |
CamNode * | pCamHdr |
Points to the first camera in the linked list of supported cameras. | |
LnsNode * | pLnsHdr |
Points to the first lens in the linked list of supported lenses. | |
CoefType | coef [] |
Array of lens correction coefficient data types. | |
long | coefIndex |
Next available slot in coef[]. Holds the total number of lens correction coefficients after all profiles are read. | |
prefType | pref |
Data structure to hold program preferences. | |
LnsNode * | thisLens |
Pointer to lens for current correction. | |
CamNode * | thisCamera |
Pointer to camera for current correction. | |
ExifInfo | exif |
Data structure to hold EXIF information. |
clens requires data from several sources to make these corrections. Lens correction data is provided through a collection of files referenced by one main file called "profile.txt". You must tell clens where this file is. In addition to this lens calibration data, clens must know which camera and lens were used to take the picture. The camera used to take the picture is obtained from the EXIF data found in the jpeg file itself. The lens used to take the picture must be supplied by the user.
|
Display usage information for clens.
|
|
main function for clens. Parses command line and controls flow of clens.
|
|
Display all information read from profile files.
|