0

I am using the function

cv :: adaptiveThreshold (InputArray src,
OutputArray dst,
double maxValue,
int adaptiveMethod,
int thresholdType,
int blockSize,
double C
)

I have to set the blockSize and C values ​​manually. But each image needs unique values. Is it possible to calculate blockSize and C in some way? Or maybe there are similar functions where the parameters are selected automatically?

Christoph Rackwitz
  • 11,317
  • 4
  • 27
  • 36
Alex
  • 21
  • 4
  • pictures please? – Christoph Rackwitz Dec 05 '21 at 13:46
  • The answer is essentially no, because the block size depends on the size of the features you are interested in. Even using advanced semantic segmentation or similar AI miracles, nobody can guess you application. –  Dec 05 '21 at 14:05

0 Answers0