24 #ifndef _SLICO_H_INCLUDED_ 25 #define _SLICO_H_INCLUDED_ 42 void PerformSLICO_ForGivenStepSize(
43 const unsigned char* ubuff,
53 void PerformSLICO_ForGivenK(
54 const unsigned char* ubuff,
74 void DrawContoursAroundSegments(
75 unsigned char* segmentedImage,
80 void DrawContoursAroundSegmentsTwoColors(
92 void PerformSuperpixelSegmentation_VariableSandM(
93 vector<double>& kseedsl,
94 vector<double>& kseedsa,
95 vector<double>& kseedsb,
96 vector<double>& kseedsx,
97 vector<double>& kseedsy,
104 void GetLABXYSeeds_ForGivenStepSize(
105 vector<double>& kseedsl,
106 vector<double>& kseedsa,
107 vector<double>& kseedsb,
108 vector<double>& kseedsx,
109 vector<double>& kseedsy,
111 const bool& perturbseeds,
112 const vector<double>& edgemag);
116 void GetLABXYSeeds_ForGivenK(
117 vector<double>& kseedsl,
118 vector<double>& kseedsa,
119 vector<double>& kseedsb,
120 vector<double>& kseedsx,
121 vector<double>& kseedsy,
123 const bool& perturbseeds,
124 const vector<double>& edges);
130 vector<double>& kseedsl,
131 vector<double>& kseedsa,
132 vector<double>& kseedsb,
133 vector<double>& kseedsx,
134 vector<double>& kseedsy,
135 const vector<double>& edges);
145 vector<double>& edges);
150 const unsigned char& sR,
151 const unsigned char& sG,
152 const unsigned char& sB,
160 const unsigned char& sR,
161 const unsigned char& sG,
162 const unsigned char& sB,
169 void DoRGBtoLABConversion(
170 const unsigned char*& ubuff,
177 void DoRGBtoLABConversion(
178 const unsigned char**& ubuff,
186 void EnforceLabelConnectivity(
209 #endif // _SLICO_H_INCLUDED_