Warning: Single line Edit Controls can not have multi-line text
11 ビュー (過去 30 日間)
古いコメントを表示
hello all,
In feature extraction, i want to show only the calculated values of area, perimeter, diameter and circularity of pap-smear image. But i am getting above warning. I dont know what to do for this. please suggest me how can i get this solved. It's very urgent.
Thanking you
This is my code:
bin = imbinarize(img_comp_s);
J = imcomplement(bin);
props = regionprops(J,'Area');
allarea = [props.Area];
props = regionprops(J,'Perimeter');
allperim = [props.Perimeter];
props = regionprops(J,'EquivDiameter');
alldiameter = [props.EquivDiameter];
props = regionprops(J,'Eccentricity');
alleccent = [props.Eccentricity];
measurements = regionprops(J, 'Area', 'Perimeter');
allAreas = [measurements.Area];
allPerimeters = [measurements.Perimeter];
circularity = allPerimeters .^ 2 ./ (4 * pi * allAreas);
set(handles.edit16,'string',allarea);
set(handles.edit17,'string',allperim);
set(handles.edit18,'string',alldiameter);
set(handles.edit19,'string',circularity);
set(handles.edit20,'string',alleccent);
0 件のコメント
採用された回答
Steven Lord
2020 年 3 月 15 日
Change the Min and/or Max properties of your edit boxes so the difference between those two property values (Max - Min) is strictly greater than 1. If the difference is greater than 1 the edit box can contain multiple lines of text. Otherwise the edit box can only contain one line of text. The default values are Min = 0, Max = 1 which means by default the edit box can only contain one line of text.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Text Analytics Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!