Commit 4706d82a authored by Andrew Cohen's avatar Andrew Cohen

Merge remote-tracking branch 'refs/remotes/origin/master'

parents 0005818a ca611fd9
......@@ -782,7 +782,7 @@ function drawHulls(tHulls)
var fmin=gFeatureExtrema[nFeature][0];
// scale so colors go from [0.2,1]
// puts it on [0,1]
var fval=(tHulls[i][CONSTANTS.cellFeatures[0].name] - fmin)/((fmax-fmin));
var fval=1 - (tHulls[i][CONSTANTS.cellFeatures[0].name] - fmin)/((fmax-fmin));
// now put it on [0.1,1]
fval=0.9*fval+0.1;
color = getHTMLcolor([fval,fval,fval]);
......
......@@ -108,4 +108,4 @@ imInner(0==imInner)=[];
if length(imInner)/length(idxInner)<0.1
return
end
ratio=median(imInner)/median(imOuter);
ratio=median(imOuter)/median(imInner);
......@@ -66,7 +66,7 @@ if is3D(im)
% 3D
if USE_CUDA
% imx = medfilt3(im)-HIP.Cuda.Gaussian(im,szFilter,1,[]);
imx=HIP.NLMeans(im,0.1,6,3,[]);
imx=HIP.NLMeans(im,0.2,10,5,[]);
else
imx = medfilt3(im)-imgaussfilt3(im,szFilter);
end
......
Markdown is supported
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