-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fill_contour does not exist #8
Comments
Hi, I updated the source to no longer need fill_contour. Use get_mask instead that does all the work. It would be great if the original author updated the documentation and would release the python package. This is my sample code:
This will get all masks for the first contour, contour_filename is a full path+filename Marcel |
Hello @marcelvanherk, i tried your workaround but if I do, I get the error: AttributeError: 'FileMetaDataset' object has no attribute 'TransferSyntaxUID' I know this error, usually it can be avoided with setting the metadata yourself by using: contour_file.TransferSyntaxUID = pydicom.uid.ImplicitVRLittleEndian This does not seem to work here, would you happen to know a workaround? BR |
Hi. What dataset are you using? And in what line does the error occur?
…On Sun, 1 Nov 2020, 19:31 TG-Unit, ***@***.***> wrote:
Hello @marcelvanherk <https://github.com/marcelvanherk>, i tried your
workaround but if I do, I get the error:
AttributeError: 'FileMetaDataset' object has no attribute
'TransferSyntaxUID'
I know this error, usually it can be avoided with setting the metadata
yourself by using:
contour_file.TransferSyntaxUID = pydicom.uid.ImplicitVRLittleEndian
This does not seem to work here, would you happen to know a workaround?
BR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVDWJJPIMAJOLBG2KIFH4TSNWZS7ANCNFSM4OMAPIKQ>
.
|
Hi,
in tutorial.ipynb, it mentioned
fill_contour
in FILLING CONTOUR ARRAYS section. This function does not exist in dicom_contour.contour. Is there any alternative function to achieve the same goal?Thanks in advance.
The text was updated successfully, but these errors were encountered: