Calculate height of object
3 views (last 30 days)
Show older comments
Please find attached my image. I need to find the meniscus height. algorithm so far: 1) k-means clustering 2) 8-neighborhood this gives me a binary image. How do i find the height (NOT length) of the meniscus. Also i have many such images, is there some automated way to find height of all of them with same code. Right now i manually find the height by comparing it to a line of 5-7 pixels.
3 Comments
Accepted Answer
Image Analyst
on 21 Apr 2014
I suggest you look into anisotropic diffusion. It's made for smoothing along lines and sharpening edges and is used in things like fingerprint analysis. See attached demo.
3 Comments
Image Analyst
on 21 Apr 2014
Take the binary image and process it to get rid of the stuff other than the meniscus sliver. Then use regionprops to get it's area. Then skeletonize and get the length. Divide the area by the length to get the average width.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!