28 #include "Image/ByteImage.h"
29 #include "Math/Math2d.h"
30 #include "Math/FloatVector.h"
63 void SegmentImageRGB(
const CByteImage* pInputImageRGB, CByteImage* pProbabilityImage);
64 void SegmentImageRGB(
const CByteImage* pInputImageRGB,
float* pProbabilityImage);
65 void SegmentImage(
const CByteImage* pInputImageRGB,
const CByteImage* pInputImageHSV, CByteImage* pProbabilityImage);
66 void SegmentImage(
const CByteImage* pInputImageRGB,
const CByteImage* pInputImageHSV,
float* pProbabilityImage);
72 inline void FillHolesHorVert(
const CByteImage* pInputImage, CByteImage* pOutputImage,
const int nRadius = 20);
73 inline void FillHolesDiag(
const CByteImage* pInputImage, CByteImage* pOutputImage,
const int nRadius = 20);
74 inline void FillHolesHorVertDiag(
const CByteImage* pInputImage, CByteImage* pOutputImage,
const int nRadius = 55);
75 inline double CalcProbOfPixel(
const int nIndex,
const Vec2d vHS_Value);
78 int m_nImageWidth, m_nImageHeight;
80 CByteImage* m_pBackgroundRGB;