How to scale mask to the size of the object?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (1)
Image Analyst
am 2 Mai 2014
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 Kommentare
Image Analyst
am 15 Mai 2014
OK, how can I help?
How can you help us to help you? Read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!