필터 지우기
필터 지우기

How to scale mask to the size of the object?

조회 수: 6 (최근 30일)
Struct03
Struct03 2014년 5월 2일
댓글: Image Analyst 2014년 5월 15일
I have imported a point cloud to Matlab and now I have a matrix with x,y,z coordiantes of points. Coordinates are from real object and the distances between points are in milimeters. Then I did a 2D binary mask which is shaped like a cloud projected onto the X-Y plane but it has diffrent dimensions. For now I want to scale the mask to the size of the cloud an make coordinates system of mask and cloud uniform. Anybody now how to do this? I will appreciate every help.

답변 (1개)

Image Analyst
Image Analyst 2014년 5월 2일
How exactly does the shape of your mask match the shape of your object? If it's close, you can use regionprops to get the sizes and then scale the mask so that its area matches that of the object, then use imregister to translate it to align it. Please post both images so I can see them.
  댓글 수: 2
Struct03
Struct03 2014년 5월 15일
Hi, I must to change my question,because my mask isn't good. for now I'm looking for way to make a binary mask for the 2D image which contain an object and a lot of noise in background. i tried to use standard function from matlab but didnt work correctly .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by