Skip to content
Snippets Groups Projects
Commit 462267bb authored by ac's avatar ac
Browse files

dark tube threshold ordering

parent e5b73741
Branches
No related tags found
No related merge requests found
...@@ -17,11 +17,10 @@ bw = imbinarize(imn); ...@@ -17,11 +17,10 @@ bw = imbinarize(imn);
bw = bwareaopen(bw,1e3); bw = bwareaopen(bw,1e3);
bw = imdilate(bw,ones(4*thickness)); bw = imdilate(bw,ones(4*thickness));
% imn(~bw) = 0;
imp(~bw) = 0;
imfm = fibermetric(imp); imfm = fibermetric(imp);
% NOTE as with imPreProcess, regional max first, then threshold
imfm = imfm .* imregionalmax(imfm); imfm = imfm .* imregionalmax(imfm);
imfm(~bw) = 0;
imfm = RSF.clipRSF(imfm); imfm = RSF.clipRSF(imfm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment