-
Notifications
You must be signed in to change notification settings - Fork 68
[AL-5108] Add DICOM polyline annotation kind #999
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
Conversation
vbrodsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments and questions
| >>> ]), | ||
| >>> segment_index=0, | ||
| >>> keyframe=True, | ||
| >>> Group_key=GroupKey.AXIAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you want to be really precise here, add confidence too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VideoObjectAnnotation uses the ConfidenceNotSupportedMixin, so I assume confidence is not supported for this yet.
| data: Union[VideoData, ImageData, TextData, TiledImageData] | ||
| annotations: List[Union[ClassificationAnnotation, ObjectAnnotation, | ||
| VideoObjectAnnotation, | ||
| DICOMObjectAnnotation, VideoObjectAnnotation, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here is my question: for some cases, a type here is a base class, like ObjectAnnotation and I think derived classes are going in, am I right? But now you are adding DICOMObjectAnnotation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I just added DICOMObjectAnnotation for completeness since I saw other video annotation types listed there. But I think just the base classes are enough, so I've removed all Video/DICOM subclasses from here.
d40412f to
13509f2
Compare
13509f2 to
93b169d
Compare
DICOMObjectAnnotationandGroupKeyenum to support annotation import using Python objects.NDJsonConverterto serialize/deserializeDICOMObjectAnnotationto/from the NDJson format.Note: coco tests did not cleanup files written to directory which resulted in only the first execution of these tests working the and subsequent ones failing. These have been updated to cleanup temporary files.