FilteredImage = EdgeFilter(Image, FilterType);
2D matrix of type uint8, uint16, uint32 or boolean
scalar of type uint8, can be EDGE_SOBEL, EDGE_LAPLACE, EDGE_PREWITT or EDGE_SCHARR.
2D matrix of the same size and type as Image
This function applies a filter for edge detection to an an image. No threshold for edge detection is calculated and no thresholding takes place. The filter result itself is returned.