は形態学のボットム・ハット・フィルタを画像に適用する
ResultImage = BottomHat(Image, StructureElement);
2次元の行列で、型はuint8、uint16、uint32、double又はbooleanである
「Width」、「Height」と「Data」という項目を含む構造体で、CreateStructureElementで生成される
行列で、次元と型はImageと同じである
本関数は形態学のボットム・ハット・フィルタを画像に適用する。
Image = 0.8 * ones(9, 9) // generate a light image Image(:, 5) = 0 // draw a dark line StructureElement = CreateStructureElement('square', 3) // create structuring element ResultImage = BottomHat(Image, StructureElement) | ![]() | ![]() |