Skip to content
Snippets Groups Projects
Commit 81f8945b authored by Eric Wait's avatar Eric Wait
Browse files

Fixed checkin error in LoGtoColor

parent efa752b3
No related branches found
No related tags found
No related merge requests found
<<<<<<< HEAD
function [ imC ] = LoGtoColor( imLoG )
%LOGTOCOLOR Summary of this function goes here
% Detailed explanation goes here
lclEps = 1e-4;
maskNeg = imLoG<-lclEps;
maskZero = -lclEps<imLoG & imLoG<lclEps;
maskPos = imLoG>lclEps;
imNeg = imLoG;
imNeg(~maskNeg) = 0;
imNeg = abs(imNeg);
imNeg = ImUtils.ConvertType(imNeg,'uint8',true);
imZero = imLoG;
imZero(~maskZero) = 0;
imZero = abs(imZero);
imZero = ImUtils.ConvertType(imZero,'uint8',true);
imPos = imLoG;
imPos(~maskPos) = 0;
imPos = abs(imPos);
imPos = ImUtils.ConvertType(imPos,'uint8',true);
colDim = ndims(imLoG) +1;
imC = cat(colDim,imNeg,imZero,imPos);
=======
function [ imC ] = LoGtoColor( imLoG, localEpsilon)
%LOGTOCOLOR Summary of this function goes here
% Detailed explanation goes here
......@@ -57,5 +27,5 @@ function [ imC ] = LoGtoColor( imLoG, localEpsilon)
colDim = ndims(imLoG) +1;
imC = cat(colDim,imNeg,imZero,imPos);
imC = cat(colDim,imNeg,imPos,imZero);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment