morph open connected

This commit is contained in:
James E McClure committed 2019-05-03 20:55:37 -04:00
1 parent 2154095d68
commit 269c10c60d
1 file changed
+1 -1
+1 -1
View File
@@ -877,7 +877,7 @@ double ScaLBL_ColorModel::MorphOpenConnected(double target_volume_change){
n=k*nx*ny+j*nx+i;
// only apply opening to connected component
if ( id_connected[n] == 1){
count_morphopen++;
phase(i,j,k) = 1.0;
}
}
}