Skip to content

Commit

Permalink
Merge branch 'develop' into T285_VesselStructureToTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
kdreher authored May 29, 2024
2 parents f34faef + 16e5a9f commit 9cf3306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_enclosed_indices(self):
1/torch.linalg.norm(y_edge_voxels),
1/torch.linalg.norm(z_edge_voxels)], device=self.torch_device)

filled_mask_bool = (0 <= result) & (result <= 1 - norm_vector)
filled_mask_bool = (0 <= result) & (result + norm_vector <= 1)

volume_fractions = torch.zeros(tuple(self.volume_dimensions_voxels),
dtype=torch.float, device=self.torch_device)
Expand Down

0 comments on commit 9cf3306

Please sign in to comment.