fix smooth distance

This commit is contained in:
JamesEMcclure
2020-07-22 20:31:09 -04:00
parent c9640c46ba
commit dd49031552

View File

@@ -140,7 +140,7 @@ void Minkowski::MeasureObject(){
* 0 - labels the object
* 1 - labels the rest of the
*/
DoubleArray smooth_distance(Nx,Ny,Nz);
//DoubleArray smooth_distance(Nx,Ny,Nz);
for (int k=0; k<Nz; k++){
for (int j=0; j<Ny; j++){
for (int i=0; i<Nx; i++){
@@ -149,8 +149,8 @@ void Minkowski::MeasureObject(){
}
}
CalcDist(distance,id,*Dm);
Mean3D(distance,smooth_distance);
//Eikonal(distance, id, *Dm, 10, {true, true, true});
//Mean3D(distance,smooth_distance);
Eikonal(distance, id, *Dm, 20, {true, true, true});
ComputeScalar(smooth_distance,0.0);
}