필터 지우기
필터 지우기

Determine approximate shapes of detected objects in a binary image

조회 수: 2 (최근 30일)
RANADEER
RANADEER 2012년 3월 16일
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).
my gray scale image is <http://tinypic.com/view.php?pic=k4z0x5&s=5> thanks in advance...

답변 (0개)

카테고리

Help CenterFile 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!

Translated by