<< DrawBoundingBoxes Image Processing Design ErodeImage >>

Image Processing Design >> Image Processing Design > EdgeFilter

EdgeFilter

はエッジの抽出することのために画像にフィルタを適用する

呼び出し

FilteredImage = EdgeFilter(Image, FilterType);

引数

Image

2次元の行列で、型はuint8、uint16、uint32又はdoubleである

FilterType

定数で、可能のある値はEDGE_SOBEL、EDGE_LAPLACE、EDGE_PREWITT又はEDGE_SCHARRである

FilteredImage

行列で、次元と型はImageと同じである

説明

本関数はエッジの抽出することのために画像にフィルタを適用する。スレショールドは計算されなく、画像はスレショールドに分割されない。フィルタの結果が返される。

global IPD_PATH;

RGB = ReadImage(IPD_PATH + 'demos\teaset.png');

Image = RGB2Gray(RGB);

global EDGE_SOBEL;

Gradient = EdgeFilter(Image, EDGE_SOBEL);

figure(); ShowImage(Gradient, 'Gradient Image');

参考


Report an issue
<< DrawBoundingBoxes Image Processing Design ErodeImage >>