Offset
Parameter Offset
is an object that defines how the location is offset from the reference object
or the original image. It includes the following child parameters:
"Offset": {
"ReferenceObjectOriginIndex": 0,
"ReferenceObjectType": "ROT_ATOMIC_OBJECT",
"ReferenceXAxis": {},
"ReferenceYAxis": {},
"MeasuredByPercentage" : 1,
"FirstPoint" : [ 0, 0 ],
"SecondPoint" : [ 100, 0 ],
"ThirdPoint" : [ 100, 100 ],
"FourthPoint" : [ 0, 100 ]
}
Name | Description |
---|---|
ReferenceObjectOriginIndex |
Defines which point of the reference object will be set as the origin of the coordinate system. |
ReferenceObjectType |
Defines which coordinate system to use when configuring offset parameters basd on the reference objects. |
ReferenceXAxis |
Defines the x-axis of the coordinate system to use when configuring offset parameters basd on the reference objects. |
ReferenceYAxis |
Defines the y-axis of the coordinate system to use when configuring offset parameters basd on the reference objects. |
MeasuredByPercentage |
Sets whether or not to use percentage to measure the points’ coordinates. |
FirstPoint |
Specifies the top-left vertex of the ROI. |
SecondPoint |
Specifies the top-right vertex of the ROI. |
ThirdPoint |
Specifies the bottom-right vertex of the ROI. |
FourthPoint |
Specifies the bottom-left vertex of the ROI. |