Skip to content
Snippets Groups Projects
Commit 242bbfd7 authored by ac's avatar ac
Browse files

Merge branch 'log_seg' of git-bioimage.coe.drexel.edu:bioimage/leverjs into log_seg

parents 62ef1e1f 17a57b02
Branches
No related tags found
No related merge requests found
......@@ -2,11 +2,15 @@
% ERK_CHANNEL = 1;
% AKT_CHANNEL = 2;
% VELOCITY_CHANNEL = 4;
function res = channel_distances(flist,classList,channel1,channel2,clipLimits)
function res = channel_distances(flist,classList,channel1,channel2,clipLimits,tClip)
res=table();
if ~exist('tClip','var')
tClip = [];
end
if ~exist('clipLimits','var') || isempty(clipLimits)
clipLimits = SSF.getClipLimits(flist,[channel1,channel2]);
clipLimits = SSF.getClipLimits(flist,[channel1,channel2],0,tClip);
end
parfor ff = 1:length(flist)
......@@ -15,8 +19,8 @@ parfor ff = 1:length(flist)
nr = table();
strDB = fullfile(flist(ff).folder,flist(ff).name);
im1 = SSF.loadImage(strDB,channel1);
im2= SSF.loadImage(strDB,channel2);
im1 = SSF.loadImage(strDB,channel1,0,tClip);
im2= SSF.loadImage(strDB,channel2,0,tClip);
im1 = SSF.quantize8(im1,clipLimits{ff,1});
im2 = SSF.quantize8(im2,clipLimits{ff,2});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment