zen_api/lm/acquisition/v1/region_contour.proto#
Version: 2026.5.1
Package: zen_api.lm.acquisition.v1
Message RegionContour#
General data contract for all region contour types.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
region_ellipse |
1 | zen_api.lm.acquisition.v1.RegionEllipse | oneof subtype |
|
region_rectangle |
2 | zen_api.lm.acquisition.v1.RegionRectangle | oneof subtype |
|
region_polygon |
3 | zen_api.lm.acquisition.v1.RegionPolygon | oneof subtype |
Message RegionEllipse#
Represents an elliptical region defined by a bounding rectangle.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
bounding_box |
1 | zen_api.lm.acquisition.v1.RegionRect | singular | The rectangle that defines the bounding box of the ellipse. The ellipse is fully contained within this rectangle. The ZenApi.LM.Acquisition.V1.RegionRect specifies the position and size of the bounding rectangle using four values: X (left), Y (top), Width, and Height. For example, a rectangle with X = 10, Y = 20, Width = 100, and Height = 50 defines an ellipse centered at (60, 45) with a horizontal radius of 50 and a vertical radius of 25. |
Message RegionPolygon#
Represents a polygonal region defined by an ordered list of vertices.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
points |
1 | zen_api.lm.acquisition.v1.RegionPoint | repeated | The ordered list of ZenApi.LM.Acquisition.V1.RegionPoint instances that define the vertices of the polygon. Each point specifies an (X, Y) coordinate in the region's coordinate space. The polygon is formed by connecting each consecutive point in the list, and finally connecting the last point back to the first to close the shape. |
Message RegionRectangle#
Represents a rectangular region within the slide scan area.
| Field | Number | Type | Presence | Description |
|---|---|---|---|---|
rectangle |
1 | zen_api.lm.acquisition.v1.RegionRect | singular | The ZenApi.LM.Acquisition.V1.RegionRect that defines the position and size of the rectangular region within the slide scan area. |