public CameraInfoMessage(HeaderMessage header, uint height, uint width, string distortion_model, double[] D, double[] K, double[] R, double[] P, uint binning_x, uint binning_y, RegionOfInterestMessage 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 CameraInfoMessage() { this.header = new HeaderMessage(); this.height = 0; this.width = 0; this.distortion_model = "plumb_bob"; 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 RegionOfInterestMessage(); }