Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tknopp committed Oct 20, 2022
1 parent 9bbe6ca commit ee15c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vessel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function vesselPhantom(N::NTuple{3,Int}; oversampling=2, kargs...)
route, diameter_route = vesselPath(N; kargs...)

obs = [ ellipsoid( Float32.(route[i]), Float32.(ntuple(_->diameter_route[i],3)),
(0,0,0), 1.0f0) for i=1:length(route)]
(0,0), 1.0f0) for i=1:length(route)]
ranges = ntuple(d-> 1:N[d], 3)
img = phantom(ranges..., obs, oversampling)
img[img .> 1] .= 1
Expand Down

0 comments on commit ee15c6e

Please sign in to comment.