Detecting centroid and orientation of capsules
Ältere Kommentare anzeigen
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?
Antworten (1)
Anton Semechko
am 29 Mai 2018
1 Stimme
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 Kommentare
matnewbie
am 1 Jun. 2018
Anton Semechko
am 1 Jun. 2018
It would help if you posted on here a sample 3D stack that you want to segment (make sure to include voxel dimensions). It is difficult to say what approach will or will not work just by looking at a single slice.
Anton Semechko
am 1 Jun. 2018
The sample you uploaded is a raw grayscale image that is extremely noisy compared to the relatively clean segmentation shown in your thumbnail. Segmentation of the raw image into foreground and background is the first step towards identifying individual capsules, and given the nature of the data, it will require a non-trivial solution that goes far beyond simple threholding. So, if you already figured-out how to segment the raw image data while suppressing noise, upload the segmented image. Otherwise, I suggest you revise your question.
matnewbie
am 1 Jun. 2018
Anton Semechko
am 1 Jun. 2018
It seems to me that your problem is a bit more challenging than you think. For example, see if you can use thresholding to separate foreground from background in xy-slices 61 to 68.
Anton Semechko
am 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.
Kategorien
Mehr zu k-Means and k-Medoids Clustering finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!