how to detect areas within a binary image with vision.BlobAnalysis ?
1 view (last 30 days)
someone could tell me why the following code written as a script gives me, in the Command windows, the error "Unable to resolve the name vision.BlobAnalysis.".
% BW = im2bw(I,level) is a binary image
hBlobAnalysis = vision.BlobAnalysis('MinimumBlobArea',2, 'MaximumBlobArea',50);
[objArea,objCentroid,bboxOut] = step(hBlobAnalysis,BW);
and what to modify / correct to detect more areas within a binary image.