10 #pragma comment(lib,"DexImage-d.lib")
12 #pragma comment(lib,"DexImage.lib")
18 #include <boost/shared_ptr.hpp>
22 #pragma warning(disable: 4251)
31 boost::shared_ptr<BaseImage> baseIm;
37 void operator =(
const DexImage &input);
40 void ReadImage(
const char* filename);
41 void WriteImage(
const char* filename);
42 void WriteImage(
const char* filename,
int iZ);
43 void Build(
int iWidth,
int iHeight,
int iDepth,
pType iPxType);
44 void Build(
int model,
bins binFmt,
int iDepth);
46 void* GetDataPointerToPlane(
int iZ=0);
50 pType GetImagePixelType();
51 float PlaneAvg(
int iZ=0);
53 void FindMedianofPlanes();
54 void FindAverageofPlanes();
57 void FloodCorrection();
58 void DefectCorrection(
int DefectFlags=31);
59 void SubImageDefectCorrection(
int startCol,
int startRow,
int width,
int height,
int CorrectionsFlag=31);
60 void FullCorrection();
61 void UnscrambleImage();
64 void LoadDarkImage(
const DexImage &dark);
65 void LoadDarkImage(
const char* filename);
66 void LoadFloodImage(
const DexImage &flood);
67 void LoadFloodImage(
const char* filename);
68 void LoadDefectMap(
const DexImage &defect);
69 void LoadDefectMap(
const char* filename);
79 void SetDarkOffset(
int offset);
82 void SetLinearizationStarts(
unsigned int* msArray,
int msLength);
83 unsigned int* GetLinearizationStarts(
int& msLength);
85 void SetImageParameters(
bins binningMode,
int modelNumber);
88 bins GetImageBinning();
92 void SetScrambledFlag(
bool onOff);
94 void SetROIParameters(
unsigned short usStartColumn,
unsigned short usStartRow,
unsigned short usROIWidth,
unsigned short usROIHeight);
pType
Enumneration of pixel types
Definition: DexDefs.h:205
This class is used to store and handle the images acquired from a detector.
Definition: DexImage.h:27
DexImageTypes
An enumeration of the different image types.
Definition: DexDefs.h:357
bins
An enumeration of the different bin levels available
Definition: DexDefs.h:73