-
Notifications
You must be signed in to change notification settings - Fork 67
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
Requested region is (at least partially) outside the largest possible region. #19
Comments
Dear Panda,
I think you may first check if all the images and labels have the same
header information, i.e. both images and labels have the same spacing,
direction and origin. Otherwise similar errors may be reported.
Regards,
Jacky
…On Fri, 29 Oct 2021 at 20:14, panda ***@***.***> wrote:
***@***.*** <https://github.com/jackyko1991>
Thank you for sharing such a great repo.I'm using this repo to segment
medical grayscale images on a private dataset,but my segmentation target is
very small, so I follow your notes in the NiftiDataset.py,replacing
RandomCrop()with ConfidenceCrop2 in the image preprocessing section.But I
got a problem:
RuntimeError: Exception thrown in SimpleITK
RegionOfInterestImageFilter_Execute:
D:\a\1\sitk-build\ITK\Modules\Core\Common\src\itkDataObject.cxx:393:
Requested region is (at least partially) outside the largest possible
region.
I have also looked up some information, but I still don't know how to
solve it.Could you give me some help?
Looking forward to your reply.
Thanks in advance.
Best.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4BUBYXT6ZRCGCWFCDHPR3UJKF2XANCNFSM5G7GCSRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Dear jackyko1991 Best. |
Hi,@jackyko1991
Thank you for sharing such a great repo.I'm using this repo to segment medical grayscale images on a private dataset,but my segmentation target is very small, so I follow your notes in the NiftiDataset3D.py,replacing RandomCrop()with ConfidenceCrop2 in the image preprocessing section.But I got a problem:
RuntimeError: Exception thrown in SimpleITK RegionOfInterestImageFilter_Execute: D:\a\1\sitk-build\ITK\Modules\Core\Common\src\itkDataObject.cxx:393:
Requested region is (at least partially) outside the largest possible region.
I have also looked up some information, but I still don't know how to solve it.Could you give me some help?
BTW,My segmentation goal is small,the results were poor: the DICE score was low. I don't know how to improve it, Could you give me some hints?
Looking forward to your reply.
Thanks in advance.
Best.
The text was updated successfully, but these errors were encountered: