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
openapi: 3.0.0 | |
info: | |
title: AI Annotation Assistance server API | |
description: >- | |
NVIDIA Deep Learning for Medical Imaging. Artificial Intelligence | |
Annotation Assistance server API specification. This specification defines | |
the inferencing and smart polygon API. | |
version: '0.1' | |
paths: | |
/v1/models: |
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
import qupath.lib.scripting.QP | |
import qupath.lib.geom.Point2 | |
import qupath.lib.roi.PolygonROI | |
import qupath.lib.objects.PathAnnotationObject | |
import qupath.lib.images.servers.ImageServer | |
def server = QP.getCurrentImageData().getServer() | |
def hierarchy = QP.getCurrentHierarchy() |