From ee15c6ed170342750862522c452d88d1b9362fe4 Mon Sep 17 00:00:00 2001 From: Tobias Knopp Date: Thu, 20 Oct 2022 23:32:23 +0200 Subject: [PATCH] try fix --- src/Vessel.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vessel.jl b/src/Vessel.jl index 98ad848..eaaede9 100644 --- a/src/Vessel.jl +++ b/src/Vessel.jl @@ -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