Detecting centroid and orientation of capsules

1 view (last 30 days)
matnewbie
matnewbie on 29 May 2018
Edited: matnewbie on 18 Jun 2018
I have a stack of 128 binary images like this one:
I want to detect centroid and orientation of capsules in 3D but, as you can see, many capsules have regions connected to other objects that I want to exclude from the detection procedure. I tried to use regionprops3, but I am not sure if this is the right MATLAB function to be used in this case. I think that, if I am able to impose the detection of my shape, I could get the expected results. Do you know if there is a method suitable for this task?

Answers (1)

Anton Semechko
Anton Semechko on 29 May 2018
If your capsules have parametric a representation (e.g., ellipsoid), you can use Hough transform (HG). Description of a HG variant designed specifically for detecting ellipsoids can be found here: Partitioned Hough transform for ellipsoid detection
Alternatively, if you are able to segment-out individual objects from your image, you can compute for each object a set of features invariant to rigid motion (e.g., aspect-ratio, surface area, volume, etc.). You can then use these features to discriminate between capsules and other objects present in your data.
  7 Comments
Anton Semechko
Anton Semechko on 4 Jun 2018
To get started, I suggest you look into nonlinear filters (e.g., nonlocal means, diffusion, bilateral, median, etc.) so you can remove as much noise from the data as possible prior to segmentation.
matnewbie
matnewbie on 7 Jun 2018
Edited: matnewbie on 18 Jun 2018
I solved the problem by applying in 3D the procedure reported here: https://blogs.mathworks.com/steve/2013/11/19/watershed-transform-question-from-tech-support/
Then I applied regionprops3 and I got object properties.

Sign in to comment.

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!