Class RegionOfInterestMessage
This message is used to specify a region of interest within an image.
When used to specify the ROI setting of the camera when the image was
taken, the height and width fields should either match the height and
width fields for the associated image; or height = width = 0
indicates that the full resolution image was captured.
http://docs.ros.org/api/sensor_msgs/html/msg/RegionOfInterest.html
Inheritance
System.Object
RegionOfInterestMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Unity.ZeroSim.dll
Syntax
public class RegionOfInterestMessage : ZOROSMessageInterface
Constructors
|
Improve this Doc
View Source
RegionOfInterestMessage()
Declaration
public RegionOfInterestMessage()
|
Improve this Doc
View Source
RegionOfInterestMessage(UInt32, UInt32, UInt32, UInt32, Boolean)
Declaration
public RegionOfInterestMessage(uint x_offset, uint y_offset, uint height, uint width, bool do_rectify)
Parameters
Type |
Name |
Description |
System.UInt32 |
x_offset |
|
System.UInt32 |
y_offset |
|
System.UInt32 |
height |
|
System.UInt32 |
width |
|
System.Boolean |
do_rectify |
|
Properties
|
Improve this Doc
View Source
do_rectify
True if a distinct rectified ROI should be calculated from the "raw"
ROI in this message. Typically this should be False if the full image
is captured (ROI not used), and True if a subwindow is captured (ROI
used).
Declaration
public bool do_rectify { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
height
Declaration
public uint height { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
MessageType
Declaration
[JsonIgnore]
public string MessageType { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Type
Declaration
[JsonIgnore]
public static string Type { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
width
Declaration
public uint width { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
x_offset
Leftmost pixel of the ROI
(0 if the ROI includes the left edge of the image)
Declaration
public uint x_offset { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
y_offset
Topmost pixel of the ROI
(0 if the ROI includes the top edge of the image)
Declaration
public uint y_offset { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
Implements