Exemple #1
0
 public DisparityImage(std_msgs.Header header, sensor_msgs.Image image, float f, float T, sensor_msgs.RegionOfInterest valid_window, float min_disparity, float max_disparity, float delta_d)
 {
     this.header        = header;
     this.image         = image;
     this.f             = f;
     this.T             = T;
     this.valid_window  = valid_window;
     this.min_disparity = min_disparity;
     this.max_disparity = max_disparity;
     this.delta_d       = delta_d;
 }
Exemple #2
0
 public DisparityImage()
 {
     this.header        = new std_msgs.Header();
     this.image         = new sensor_msgs.Image();
     this.f             = 0.0f;
     this.T             = 0.0f;
     this.valid_window  = new sensor_msgs.RegionOfInterest();
     this.min_disparity = 0.0f;
     this.max_disparity = 0.0f;
     this.delta_d       = 0.0f;
 }
 public CameraInfoForSIGVerseBridge(std_msgs.Header header, System.UInt32 height, System.UInt32 width, string distortion_model, double[] D, double[]  K, double[]  R, double[]  P, System.UInt32 binning_x, System.UInt32 binning_y, sensor_msgs.RegionOfInterest roi)
 {
     this.header           = header;
     this.height           = height;
     this.width            = width;
     this.distortion_model = distortion_model;
     this.D         = D;
     this.K         = K;
     this.R         = R;
     this.P         = P;
     this.binning_x = binning_x;
     this.binning_y = binning_y;
     this.roi       = roi;
 }
 public CameraInfoForSIGVerseBridge()
 {
     this.header           = new std_msgs.Header();
     this.height           = 0;
     this.width            = 0;
     this.distortion_model = "";
     this.D         = new double[0];
     this.K         = new double[9];
     this.R         = new double[9];
     this.P         = new double[12];
     this.binning_x = 0;
     this.binning_y = 0;
     this.roi       = new sensor_msgs.RegionOfInterest();
 }
Exemple #5
0
 public CameraInfo()
 {
     header = new std_msgs.Header();
     height = 0;
     width = 0;
     distortion_model = "";
     D = new double[] { };
     K = new double[9];
     R = new double[9];
     P = new double[12];
     binning_x = 0;
     binning_y = 0;
     roi = new sensor_msgs.RegionOfInterest();
 }
Exemple #6
0
 public CameraInfo()
 {
     header = new std_msgs.Header();
     height = 0;
     width = 0;
     distortion_model = "";
     D = new List<double>();
     K = new double[9];
     R = new double[9];
     P = new double[12];
     binning_x = 0;
     binning_y = 0;
     roi = new sensor_msgs.RegionOfInterest();
 }
 public CameraInfo(std_msgs.Header header, System.UInt32 height, System.UInt32 width, string distortion_model, System.Collections.Generic.List <double> D, double[]  K, double[]  R, double[]  P, System.UInt32 binning_x, System.UInt32 binning_y, sensor_msgs.RegionOfInterest roi)
 {
     this.header           = header;
     this.height           = height;
     this.width            = width;
     this.distortion_model = distortion_model;
     this.D         = D;
     this.K         = K;
     this.R         = R;
     this.P         = P;
     this.binning_x = binning_x;
     this.binning_y = binning_y;
     this.roi       = roi;
 }
 public CameraInfo()
 {
     this.header           = new std_msgs.Header();
     this.height           = 0;
     this.width            = 0;
     this.distortion_model = "";
     this.D         = new System.Collections.Generic.List <double>();
     this.K         = new double[9];
     this.R         = new double[9];
     this.P         = new double[12];
     this.binning_x = 0;
     this.binning_y = 0;
     this.roi       = new sensor_msgs.RegionOfInterest();
 }
Exemple #9
0
 public CameraInfo(std_msgs.Header _header, System.UInt32 _height, System.UInt32 _width, string _distortion_model, System.Collections.Generic.List <double> _D, double[]  _K, double[]  _R, double[]  _P, System.UInt32 _binning_x, System.UInt32 _binning_y, sensor_msgs.RegionOfInterest _roi)
 {
     header           = _header;
     height           = _height;
     width            = _width;
     distortion_model = _distortion_model;
     D         = _D;
     K         = _K;
     R         = _R;
     P         = _P;
     binning_x = _binning_x;
     binning_y = _binning_y;
     roi       = _roi;
 }
Exemple #10
0
 public CameraInfo()
 {
     header           = new std_msgs.Header();
     height           = 0;
     width            = 0;
     distortion_model = "";
     D         = new System.Collections.Generic.List <double>();
     K         = new double[9];
     R         = new double[9];
     P         = new double[12];
     binning_x = 0;
     binning_y = 0;
     roi       = new sensor_msgs.RegionOfInterest();
 }
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            sensor_msgs.RegionOfInterest other = (Messages.sensor_msgs.RegionOfInterest)____other;

            ret &= x_offset == other.x_offset;
            ret &= y_offset == other.y_offset;
            ret &= height == other.height;
            ret &= width == other.width;
            ret &= do_rectify == other.do_rectify;
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }