は2値の画像におけるブロブを探索する
BlobImage = SearchBlobs(Image);
2次元の行列で、型はbooleanである
2次元の行列で、型はint32(Scilab 5.2.0が使用されるとき)又はuint32(Scilab 5.2.1が使用されるとき)である
本関数は2値の画像におけるつながれている領域を探索する。同じ領域に所属する画素は同じ整数に写像され、この整数は1以上である。領域に所属しない画素へ0に写像される。
Image = rand(9, 9) // generate random image Threshold = CalculateOtsuThreshold(Image); // calculate a threshold BinaryImage = SegmentByThreshold(Image, Threshold) // segment image BlobImage = SearchBlobs(BinaryImage) | ![]() | ![]() |