- C: void cvCanny(const CvArr* image, CvArr* edges, double threshold1, double threshold2, int aperture_size=3 )
Parameters: - image – single-channel 8-bit input image.
- edges – output edge map; it has the same size and type as image .
- threshold1 – first threshold for the hysteresis procedure.
- threshold2 – second threshold for the hysteresis procedure.
- apertureSize – aperture size for the Sobel() operator.
- L2gradient – a flag, indicating whether a more accurate
norm
should be used to calculate the image gradient magnitude ( L2gradient=true ), or whether the default
norm
is enough ( L2gradient=false ).
沒有留言:
張貼留言