-
Notifications
You must be signed in to change notification settings - Fork 57
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
RtStruct saved from nifti appears rotated. #102
Comments
Hi @rtdicomexplorer
To explore: #84 I appreciate your comments 😊 @asim-shrestha @awtkns Best, Nilser |
Hi Nils Laines Medina,
I found a workaround that works for me:
I had to rotate the the mask-data-array more times as below:
mask_dataflip = np.flipud(mask_data)
mask_dataflip2 = np.flip(mask_dataflip)
mask_rtdata = np.rot90(mask_dataflip2)
In my case the Patient had a HFS position.
I will test that also for other cases.
Regards..,
Michel
Am Mi., 7. Feb. 2024 um 15:24 Uhr schrieb Nilser Laines Medina <
***@***.***>:
… Hi @rtdicomexplorer <https://github.com/rtdicomexplorer>
I had the same problem:
- anat_image: DICOM native (RAI orientation)
- brain mask: rtstruct file crated from anat_image.nii.gz (using
dcm2niix) (I had test different orientations for input)
image.png (view on web)
<https://github.com/qurit/rt-utils/assets/77469192/6cd39535-c71b-4c4f-a6dc-5109155d2eda>
To explore: #84 <#84>
I appreciate your comments 😊 @asim-shrestha
<https://github.com/asim-shrestha> @awtkns <https://github.com/awtkns>
Best,
Nilser
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXTWLKSHMKUTCILVANCUS3YSOFAXAVCNFSM6AAAAABB5BB4ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGE2TMMBZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Tagging @carluri @qurit-frizi for visibility. Unfortunately @asim-shrestha and I are no longer maintainers of this project. |
Is there a fix? |
I think that as NIFTI will be saved automatically in RAS orientation..
regards 😉
[image: image.png]
Am Do., 6. Juni 2024 um 15:53 Uhr schrieb Fabian Hörst <
***@***.***>:
… Is there a fix?
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXTWLPUGCUFN22DNNR3YZTZGBSXFAVCNFSM6AAAAABB5BB4ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSGU4TSNZXGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone, I'm trying to export a nii segmentation file in a RTSTRUCT-DICOM file.
The ROIs in DICOM appear rotated.
The dataset I have from https://nbia.cancerimagingarchive.net (CT/ Whole Body).
The CTs with the created RTSTRUCT I have loaded into https://dicom-web-viewer-b4139.web.app/ (they must be in the same folder)
I've attached the screenshots and the nii segmentation file.
vertebre.nii.gz
Anyway,
Great Job
Michel
The text was updated successfully, but these errors were encountered: