I use:
cvMinMaxLoc (image, @minval, @maxval, minloc, maxloc);
to find @maxval coordinates, but I want to count how many pixels are brighter than the RGB color 80:80:80.
OpenCV is completely incomprehensible to me, so I am asking for a ready example. ;)
there is no delphi wrapper. In c++ you can use > and countnonzero
I use: cvMinMaxLoc (image, @minval, @maxval, minloc, maxloc); to find @maxval coordinates, but I want to count how many pixels are brighter than the RGB color 80:80:80.
OpenCV is completely incomprehensible to me, so I am asking for a ready example. ;)
@mpknap, please do not try like that.
your delphi wrappers use the since long defunkt opencv1.0 c-api, and the devs are removing it, piece by piece now.
please try with c++ or python / java wrappers, NOT delphi.
Thanks for explaining. Or maybe you will provide this instruction in C ++? I will try to translate it myself ...
https://github.com/Laex/Delphi-OpenCV