Field reference for multiple structure elements that is followed by more reference blocks is an error. How can i solve this?

2 ビュー (過去 30 日間)
Hello, I attached a file that I used to centralized alphabets in images (view attached file). The problem is when I run it it gives me error "Field reference for multiple structure elements that is followed by more reference blocks is an error". How to remove this error?
Your help is highly appreciated. Thanks.

採用された回答

Walter Roberson
Walter Roberson 2018 年 4 月 16 日
When you calculate measure_image you need to double() what you pass to regionprops or otherwise it will analyze each disconnected region.

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by