MATLAB: Reference to non-existent field solidity

digital image processingimage processingMATLAB

hi I have error message in matlab 2017
reference to non-existent field 'solidity'
Error in Tumor(line denisty={stats.solidity};
how can I add reference
what did i miss ?

Best Answer

If stats was created by calling regionprops, then the field name should be Solidity with a capital S.
Related Question