1 | initial version |
Thank you @LBerger and @Tetragramm. cv::erode
works fine! Also, I noted the speed difference between images of type CV_64FC3
and CV_8UC3
. So I think it would be computationally better if I keep my images in CV_8UC3
type.