【发布时间】:2016-10-01 04:21:09
【问题描述】:
我正在运行基本的边缘检测来检测基于此的窗口区域 http://www.mathworks.com/videos/edge-detection-with-matlab-119353.html
edge 成功运行:
final_edge = edge(gray_I,'sobel');
BW_out = bwareaopen(imfill(final_edge,'holes'),20);
figure;
imshow(BW_out);
现在当使用以下这些代码来根据属性过滤图像时,我的 MATLAB R2013a 似乎无法识别这个bwpropfilt 方法。
% imageRegionAnalyzer(BW);
% Filter image based on image properties
BW_out = bwpropfilt(BW_out,'Area', [400, 467]);
BW_out = bwpropfilt(BW_out,'Solidity',[0.5, 1]);
上面写着:
Undefined function 'bwpropfilt' for input arguments of type 'char'.
那么我应该用什么来改变这个bwpropfilt?
【问题讨论】:
标签: image matlab image-processing