Class: Google::Apis::HealthcareV1beta1::ImageAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ImageAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb
Overview
Image annotation.
Instance Attribute Summary collapse
-
#bounding_polys ⇒ Array<Google::Apis::HealthcareV1beta1::BoundingPoly>
The list of polygons outlining the sensitive regions in the image.
-
#frame_index ⇒ Fixnum
0-based index of the image frame.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageAnnotation
constructor
A new instance of ImageAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageAnnotation
Returns a new instance of ImageAnnotation.
3103 3104 3105 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounding_polys ⇒ Array<Google::Apis::HealthcareV1beta1::BoundingPoly>
The list of polygons outlining the sensitive regions in the image.
Corresponds to the JSON property boundingPolys
3095 3096 3097 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3095 def bounding_polys @bounding_polys end |
#frame_index ⇒ Fixnum
0-based index of the image frame. For example, an image frame in a DICOM
instance.
Corresponds to the JSON property frameIndex
3101 3102 3103 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3101 def frame_index @frame_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3108 3109 3110 3111 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3108 def update!(**args) @bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys) @frame_index = args[:frame_index] if args.key?(:frame_index) end |