You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
I want to extract the vessels of brain CTA image. But got this error: AttributeError: module 'SimpleITK' has no attribute 'VesselnessMeasureImageFilter'.
My code is:
importSimpleITKassitk# Load the imageimage=sitk.ReadImage(image_path)
# Intensity windowingintensity_filter=sitk.IntensityWindowingImageFilter()
intensity_filter.SetOutputMinimum(0)
intensity_filter.SetOutputMaximum(255)
intensity_filter.SetWindowMinimum(-1000) # lower thresholdintensity_filter.SetWindowMaximum(1000) # upper threshold# Apply the filterpreprocessed_image=intensity_filter.Execute(image)
# Vesselness measure filtervessel_filter=sitk.VesselnessMeasureImageFilter() # this gives me error.vessel_filter.SetSigma(1)
vessel_filter.SetAlpha(0.5)
vessel_filter.SetBeta(0.5)
vessel_filter.SetGamma(10)
vesselness_image=vessel_filter.Execute(preprocessed_image)
Does Simple ITK does not have support to VesselnessMeasureImageFilter for python but it is in C++. Or what else I can use for that. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to extract the vessels of brain CTA image. But got this error:
AttributeError: module 'SimpleITK' has no attribute 'VesselnessMeasureImageFilter'
.My code is:
Does Simple ITK does not have support to
VesselnessMeasureImageFilter
for python but it is in C++. Or what else I can use for that. Thanks in advance.The text was updated successfully, but these errors were encountered: