Diff of /ColourBrightness.h [4b9372] .. [3b87e4] Maximize Restore

  Switch to unified view

a/ColourBrightness.h b/ColourBrightness.h
...
...
64
  magnolia_struct *magnolia;  // This looks like a pointer to  array of counterImages * magnolia_struct,    
64
  magnolia_struct *magnolia;  // This looks like a pointer to  array of counterImages * magnolia_struct,    
65
  // returned by Initialize_Magnolia
65
  // returned by Initialize_Magnolia
66
} calla_struct;
66
} calla_struct;
67
67
68
68
69
histograms_struct*ReadHistograms (fullPath *fullPathImages, int counterImages);
69
PANO13_IMPEX histograms_struct*ReadHistograms (fullPath *fullPathImages, int counterImages);
70
int               ComputeColourBrightnessCorrection(calla_struct *calla);
70
PANO13_IMPEX int               ComputeColourBrightnessCorrection(calla_struct *calla);
71
int               CorrectFileColourBrightness(fullPath *inPath, fullPath *outPath, magnolia_struct *magnolia, int parm3);
71
PANO13_IMPEX int               CorrectFileColourBrightness(fullPath *inPath, fullPath *outPath, magnolia_struct *magnolia, int parm3);
72
int               FindNextCandidate(int candidates[], calla_struct *calla);
72
PANO13_IMPEX int               FindNextCandidate(int candidates[], calla_struct *calla);
73
73
74
magnolia_struct   *InitializeMagnolia(int numberImages, int size, calla_function parm2);
74
PANO13_IMPEX magnolia_struct   *InitializeMagnolia(int numberImages, int size, calla_function parm2);
75
void              ColourBrightness(  fullPath *fullPathImages, fullPath *outFullPathImages, int counterImages, int indexReferenceImage, int parm3,int createCurvesType);
75
PANO13_IMPEX void              ColourBrightness(  fullPath *fullPathImages, fullPath *outFullPathImages, int counterImages, int indexReferenceImage, int parm3,int createCurvesType);
76
void              CorrectImageColourBrigthness(Image *image, magnolia_struct *magnolia, int parm3);
76
PANO13_IMPEX void              CorrectImageColourBrigthness(Image *image, magnolia_struct *magnolia, int parm3);
77
void              FreeHistograms(histograms_struct *ptrHistograms, int count);
77
PANO13_IMPEX void              FreeHistograms(histograms_struct *ptrHistograms, int count);
78
void              RemapHistogram(int *histogram, double *array, magnolia_struct *magnolia, int channel);
78
PANO13_IMPEX void              RemapHistogram(int *histogram, double *array, magnolia_struct *magnolia, int channel);
79
void              ComputeAdjustmentCurve(double *sourceHistogram, double *targetHistogram, double *curve) ;
79
PANO13_IMPEX void              ComputeAdjustmentCurve(double *sourceHistogram, double *targetHistogram, double *curve) ;
80
unsigned char Unknown47(unsigned char parm0, unsigned char parm1, unsigned char parm2);
80
unsigned char Unknown47(unsigned char parm0, unsigned char parm1, unsigned char parm2);
81
unsigned char Unknown48(unsigned char parm0, unsigned char parm1, unsigned char parm2);
81
unsigned char Unknown48(unsigned char parm0, unsigned char parm1, unsigned char parm2);
82
unsigned char Unknown49(unsigned char parm0, unsigned char parm1, unsigned char parm2);
82
unsigned char Unknown49(unsigned char parm0, unsigned char parm1, unsigned char parm2);
83
83
84
double            MapFunction(double p[], double x, int n);
84
PANO13_IMPEX double            MapFunction(double p[], double x, int n);
85
int               RemapPoint(int value, double mapTable[]) ;
85
PANO13_IMPEX int               RemapPoint(int value, double mapTable[]) ;
86
86
87
unsigned char panoColourComputeHue(unsigned char red, unsigned char green, unsigned char blue);
87
PANO13_IMPEX unsigned char panoColourComputeHue(unsigned char red, unsigned char green, unsigned char blue);
88
unsigned char panoColourComputeIntensity(unsigned char red, unsigned char green, unsigned char blue);
88
PANO13_IMPEX unsigned char panoColourComputeIntensity(unsigned char red, unsigned char green, unsigned char blue);
89
unsigned char panoColourComputeSaturation (unsigned char red, unsigned char green, unsigned char blue);
89
PANO13_IMPEX unsigned char panoColourComputeSaturation (unsigned char red, unsigned char green, unsigned char blue);
90
90
91
91
92
/* The parameter createCurvesType indicates the type of output format: arbitrary map (.amp) or smooth map (.acv).
92
/* The parameter createCurvesType indicates the type of output format: arbitrary map (.amp) or smooth map (.acv).
93
   if zero no map is output
93
   if zero no map is output
94
*/
94
*/