-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue 53 spline segmentation export #63
Closed
jpdefrutos
wants to merge
18
commits into
smistad:master
from
jpdefrutos:issue_53_spline_segmentation_export
Closed
Issue 53 spline segmentation export #63
jpdefrutos
wants to merge
18
commits into
smistad:master
from
jpdefrutos:issue_53_spline_segmentation_export
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Define the "CopyContentButton" block in those apps that need this functionality. See boundingbox\process_image.html views.py --> removed typo
Removed qoutation marks from CopyContentButton onclick (boundingbox/process_image.py) Added ; to lines in copyToNext function (annotationweb.js)
I noticed that when hovering over the canvas and scrolling, the current frame number incremented/decremented beyond the range of frames (for me, below 0 and above the total number of frames). The same bug happened with key left/right presses. I added an if-statement in annotationweb.js that seems to fix the problem.
…onweb_lung into video_annotation
(cherry picked from commit 3a953c0)
# Conflicts: # annotationweb/models.py # annotationweb/settings.py # annotationweb/urls.py
This reverts commit 5e25cf9.
…xporting anisotropic data. This will happen whenever the metadata of the original image is provided in the new optional argument image_metadata of the method save_segmentation(). Exposed the attribute Offset from the MHD header. This can be used to correctly align the annotations to the frame when exporting the data. When exporting non-mhd images, skip loading the image metadata when saving the segmentations.
Lot of merge conflicts. Need to PR the base first, and then code the fix for issue #53 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rescaled the spline segmentations to match the spacing of the original image (if this is anisotropic).
To correct the alignment, the 'Offset' attribute of MHD images was exposed in the MetaImage class. This is then set in the segmentation image metadata.