嗨,我是matlab的新手……我想要检测图像中的病态细胞。
首先,我用下面的代码分割图像:现在我想提取它的特征...我该怎么办?请给我引路好吗?谢谢
he = imread('hestain.png');
imshow(he), title('H&E image');
text(size(he,2),size(he,1)+15,...
'Image courtesy of Alan Partin, Johns Hopkins University', ...
'FontSize',7,'HorizontalAlignment','right');
cform = makecform('srgb2lab');
lab_he = applycform(he,cform);
ab = double(lab_he(:,:,2:3));
nrows = size(ab,1);
ncols = size(ab,2);
ab = reshape(ab,nrows*ncols,2);
nColors = 3;
% repeat the clustering 3 times to avoid local minima
[cluster_idx cluster_center] = kmeans(ab,nColors,'distance','sqEuclidean', ...
'Replicates',3);
pixel_labels = reshape(cluster_idx,nrows,ncols);
imshow(pixel_labels,[]), title('image labeled by cluster index');
segmented_images = cell(1,3);
rgb_label = repmat(pixel_labels,[1 1 3]);
for k = 1:nColors
color = he;
color(rgb_label ~= k) = 0;
segmented_images{k} = color;
end
imshow(segmented_images{1}), title('objects in cluster 1');
imshow(segmented_images{2}), title('objects in cluster 2');
imshow(segmented_images{3}), title('objects in cluster 3');如下图所示:

现在我想提取它的特征...我该怎么办?请给我引路好吗?谢谢
发布于 2012-08-10 23:42:24
区域blobs matlab中的函数会提取不同属性的检测到的斑点,这里有一个链接regionsprops
发布于 2012-08-24 14:15:31
通过查找每个簇的特征值和特征向量来查找每个簇的属性。这些将表明你的细胞的“土性”。你也可以计算每个单元格的矩。
我不知道你的“病态”细胞是什么样子的,所以如果没有人知道“病态”细胞是什么样子,那么想出一个区分健康和病态细胞的方法是不可能的。发布另一张病态细胞的图片。
您可以学习每个细胞的tubeness和moments的属性,并存储它们。然后使用支持向量机对健康细胞和疾病细胞进行分类。使用SVM-Light。http://svmlight.joachims.org/
安库尔
https://stackoverflow.com/questions/11891141
复制相似问题