Determine approximate shapes of detected objects in a binary image
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, i'm doing a project on void detection in concrete structures. in this i am using thermal images, converted them into gray scale. later i need to convert it to binary, but one problem here is i need to see few objects which are brighter than background and sometimes i'll need to see dark objects.
i need a way to choose the threshold interactively, like a sliding button that allows me to select threshold. can any one help me how can i include that in code with example.
second problem is(temporarily i kept threshold at 0.67) in my binary image i need to determine shapes of objects approximately, circle, square,triangle or rectangle. i know a relationship to detect circular shape in terms of area and perimeter."perimeter^2/(4*pi*area)" which will be close to one for near circular shape, close to zero otherwise. also for square it is"perimeter^2/(16*area)" will be between zero and one.
can any one help me with other shapes(triangular and rectangular shapes)??? or even relations including other parameters in 'regionprops'(centroid... etc).
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で 3-D Volumetric Image Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!