Commit 55db2045 authored by Kurnianggoro's avatar Kurnianggoro

Fixing some indentations

parent ab3015d4
......@@ -230,16 +230,14 @@ namespace cv{
compress(proj_mtx,x,x);
compress(proj_mtx,z,zc);
denseGaussKernel(params.sigma,x,zc,k);
}else{
}else
denseGaussKernel(params.sigma,x,z,k);
}
// calculate filter response
if(params.splitCoeff){
if(params.splitCoeff)
calcResponse(alphaf,alphaf_den,k,response);
}else{
else
calcResponse(alphaf,k,response);
}
// extract the maximum response
minMaxLoc( response, &minVal, &maxVal, &minLoc, &maxLoc );
......@@ -256,11 +254,10 @@ namespace cv{
//update the training data
new_z=x.clone();
if(frame==0){
if(frame==0)
z=x.clone();
}else{
else
z=(1.0-params.interp_factor)*z+params.interp_factor*new_z;
}
if(params.compressFeature){
// feature compression
......
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