Commit 64e90cd1 authored by Vaanathi Sundaresan's avatar Vaanathi Sundaresan
Browse files

Resizing index maps in LOCATE_Voronoi_tessellation.m

parent af3e2d62
......@@ -66,8 +66,8 @@ function [lesionmask, index_mask, index_numbers] = LOCATE_Voronoi_tessellation(
% Resizing the images back to the original dimensions
lesionmask = imresizen(lesionmask,inv_factor);
biancamask = imresizen(single(biancamask),inv_factor);
index_mask = imresizen(index_mask,inv_factor);
index_mask = round(index_mask);
index_mask = imresizen(index_mask,inv_factor,'nearest');
% index_mask = round(index_mask);
index_mask = index_mask.*(biancamask);
index_numbers = setdiff(union(index_mask(:),[]),0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment