@@ -149,22 +149,6 @@ class BlockMeanHash extends CvStruct<cvg.BlockMeanHash> implements ImgHashBase {
149149 });
150150 }
151151
152- /// STATIC Compare compares the hash value between a and b using BlockMeanHash.
153- ///
154- /// For further information, see:
155- /// https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#a444a3e9ec792cf029385809393f84ad5
156- static double compareS (
157- InputArray hashOne,
158- InputArray hashTwo, [
159- int mode = 0 ,
160- ]) {
161- return using <double >((arena) {
162- final p = arena< ffi.Double > ();
163- cvRun (() => CFFI .blockMeanHashCompare (hashOne.ref, hashTwo.ref, mode, p));
164- return p.value;
165- });
166- }
167-
168152 /// Compute computes hash of the input image using BlockMeanHash.
169153 ///
170154 /// For further information, see:
@@ -176,16 +160,6 @@ class BlockMeanHash extends CvStruct<cvg.BlockMeanHash> implements ImgHashBase {
176160 return outputArr ?? Mat .fromPointer (p);
177161 }
178162
179- /// STATIC Compute computes hash of the input image using BlockMeanHash.
180- ///
181- /// For further information, see:
182- /// https://docs.opencv.org/master/de/d29/classcv_1_1img__hash_1_1ImgHashBase.html#ae2d9288db370089dfd8aab85d5e0b0f3
183- static Mat computeS (InputArray inputArr, {OutputArray ? outputArr, int mode = 0 }) {
184- final p = outputArr? .ptr ?? calloc< cvg.Mat > ();
185- cvRun (() => CFFI .blockMeanHashCompute (inputArr.ref, p, mode));
186- return outputArr ?? Mat .fromPointer (p);
187- }
188-
189163 /// https://docs.opencv.org/4.x/df/d55/classcv_1_1img__hash_1_1BlockMeanHash.html#ad5aef85f58315551cac14bcabe05f0c3
190164 List <double > getMean () {
191165 return using <List <double >>((arena) {
@@ -208,21 +182,6 @@ class BlockMeanHash extends CvStruct<cvg.BlockMeanHash> implements ImgHashBase {
208182 doubleCompleter,
209183 );
210184
211- Future <double > compareSAsync (
212- InputArray hashOne,
213- InputArray hashTwo, [
214- int mode = 0 ,
215- ]) async =>
216- cvRunAsync <double >(
217- (callback) => CFFI .BlockMeanHash_Compare_Async (
218- ref,
219- hashOne.ref,
220- hashTwo.ref,
221- callback,
222- ),
223- doubleCompleter,
224- );
225-
226185 @override
227186 Future <Mat > computeAsync (InputArray inputArr) async => cvRunAsync1 <Mat >(
228187 (callback) => CFFI .BlockMeanHash_Compute_Async (
@@ -233,15 +192,6 @@ class BlockMeanHash extends CvStruct<cvg.BlockMeanHash> implements ImgHashBase {
233192 matCompleter,
234193 );
235194
236- Future <Mat > computeSAsync (InputArray inputArr, [int mode = 0 ]) async => cvRunAsync <Mat >(
237- (callback) => CFFI .BlockMeanHash_Compute_Async (
238- ref,
239- inputArr.ref,
240- callback,
241- ),
242- matCompleter,
243- );
244-
245195 Future <VecDouble > getMeanAsync () async => cvRunAsync <VecDouble >(
246196 (callback) => CFFI .BlockMeanHash_GetMean_Async (ref, callback),
247197 vecDoubleCompleter,
0 commit comments