Files
rawTherapee/rtengine/klt/klt_util.h
michael 3a4100e710 Merge with e190c52ab7861c68762aaa552f3dc0f59fe2e225 from default
This revision compiles and runs on Win7x64- but further evaluation is necessary.
There may be an issue with cmake step -After cmake I had to copy rtgui/version.h & config.h into out of source build /rtgui folder.
Additional notes:
- ImProcFunctions::hsv2rgb01   -> this likely need to be added to color.h & color.cc
- Use of array2D should be verified in NR code
- compilation warning for rtengine::RawImageSource::isWBProviderReady()
2012-07-03 23:15:07 -04:00

38 lines
727 B
C

/*********************************************************************
* klt_util.h
*********************************************************************/
#ifndef _KLT_UTIL_H_
#define _KLT_UTIL_H_
typedef struct {
int ncols;
int nrows;
float *data;
} _KLT_FloatImageRec, *_KLT_FloatImage;
_KLT_FloatImage _KLTCreateFloatImage(
int ncols,
int nrows);
void _KLTFreeFloatImage(
_KLT_FloatImage);
void _KLTPrintSubFloatImage(
_KLT_FloatImage floatimg,
int x0, int y0,
int width, int height);
void _KLTWriteFloatImageToPGM(
_KLT_FloatImage img,
const char *filename);
/* for affine mapping */
void _KLTWriteAbsFloatImageToPGM(
_KLT_FloatImage img,
const char *filename,float scale);
#endif