Skip to content
Snippets Groups Projects
Commit 527f9d01 authored by Walt Mankowski's avatar Walt Mankowski
Browse files

switched to faster version of Michel code

parent 465c95f3
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ function [objs features] = HematoSubmarineFrameSegmentor(im, t) ...@@ -5,8 +5,8 @@ function [objs features] = HematoSubmarineFrameSegmentor(im, t)
features = []; features = [];
% hemato submarines % hemato submarines
if strcmp(CONSTANTS.cellType, 'Hemato') if strcmp(CONSTANTS.cellType, 'Hemato')
% [sharpImg blurImg bw] = michelContrastEnhance(1-im); [sharpImg blurImg bw] = michelContrastEnhance(1-im);
[bw] = Segmentation.Michel(1-im, [3 3]); % [bw] = Segmentation.Michel(1-im, [3 3]);
[centers, radii, metric] = imfindcircles(bw, [10 20], 'Sensitivity', 0.9); [centers, radii, metric] = imfindcircles(bw, [10 20], 'Sensitivity', 0.9);
[r c] = find(bw >= 0); [r c] = find(bw >= 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment