How can I measure how many indentation or foldings are present in the three objects presented below?
http://s20.postimage.org/s1zoc1r8t/indent.png
Hi,
Maybe you can perform an analisys over the "Shape signature" like here http://basic-eng.blogspot.com.es/2006/01/signature-of-binary-objects.html
Once you have the signature, you can characterize each object (signature) and identify it by training a classifier as ANN or something like this.
If there are many features, they can be reduced using a PCA
Good luck
You can try convex polygon
Approach 1:
Find the difference between binary image and its convex hull & apply morphology to remove small regions & count the remaining no. of indents or foldings
____________________________________________________
%% Matlab program to check indents or foldings in binary image
clc;close all; clear all; warning off;
I=imread('indent.png');
BW=im2bw(I);
BW=imclearborder(BW);
figure,imshowpair(I,BW,'montage');
BW_convhull=bwconvhull(BW,'objects');
indent=xor(BW,BW_convhull);
figure,imshowpair(BW_convhull,indent,'montage')
indent_final=bwareaopen(indent,100); % remove small regions
figure,imshowpair(I,indent_final,'montage');
L=labelmatrix(bwconncomp(BW_convhull));
s=regionprops(L,'BoundingBox');
L1=bwlabel(imcrop(indent_final,s(1).BoundingBox));
L2=bwlabel(imcrop(indent_final,s(2).BoundingBox));
L3=bwlabel(imcrop(indent_final,s(3).BoundingBox));
disp('No. of indents in three objects respectively are:')
disp([max(L1(:)),max(L2(:)),max(L3(:))]);
_____________________________________________________
Result
No. of indents in three objects respectively are:
2 1 1
Approach 2:
Check http://syntacticsalt.com/2013/01/11/finding-dents-in-an-blobby-shape/
Found some useful blogs for you - http://mathminers.com/2016/05/27/image-analysis-using-tensor-flow/
http://mathminers.com/2016/05/18/face-recognition-analysis-using-python/
How can I find the confusion matrix for a three class problem and then find specificity, sensitivity and accuracy from them.
01 February 2013 447 6 View
I have a problem of counting objects. Suppose I have the below image (below link) http://s20.postimage.org/bah41jkml/test1.jpg which I got after segmentation. How can I count the small circles...
31 December 2012 8,006 14 View
Is cross validation necessary in neural network training and testing.
09 October 2012 6,214 8 View
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I have reverse sequences (AB1 format), can I base on reverse DNA sequences to perform nucleotide alignment, convert nucleotides to amino acids and deposit the sequence in GenBank database?
11 August 2024 5,138 1 View
Hello, Why do i see this baseline drift when i compare my blank (black) to the sample (blue)? Any suggestions as to why this happened? Thank you!
11 August 2024 3,770 4 View
Willett, Shenoy et al. (2021) have developed a brain computer interface (BCI) that used neural signal collected from the hand area of the motor cortex (area M1) of a paralyzed patient. The...
10 August 2024 7,180 0 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
How can I use the cif data obtained from rietveld refinement extracted via gsas2, for microstructural analysis using ETEX software?
09 August 2024 7,718 0 View
Let's say we have a standard, regular hexagonal honeycomb with a 3-arm primitive unit cell (something like the figure attached; the figure is only representative and not drawn to scale). The...
07 August 2024 1,937 1 View
A fungal strain was treated with nanoparticles. We want to do an environmental SEM analysis. So could anyone share your views on preparing the sample? Thank you.
07 August 2024 5,307 1 View
Hi, I have a question about normalizing the MTT OD values for doing the statistical analysis. So, if we have 3 different plates and we call them 3 different replicates, so, first we would...
07 August 2024 8,106 4 View
Hi! So i attempted to understand a novel protein behavior towards heat application by analyzing its secondary structure change. I subjected the protein to a thermal denaturation analysis using...
06 August 2024 1,989 3 View