public static PinholeCamera getTestCamera() { var mat = new double[, ] { { 3479.3332725692153, 0, 1499.9382892470603 }, { 0, 3458.5791417359405, 1142.7454458370041 }, { 0, 0, 1 } }; var m = new CameraIntrinsics(mat); var c = new PinholeCamera(m); c.PictureSize = new Size(3072, 2304); c.Cv_DistCoeffs5 = new[] { 0.062813787874286389, -3.0485685802388809, -0.0017951735131834098, -0.00040688209299854, 14.91660690214403 }; return(c); }
/// <summary> /// echt geteste camera Casio EX-Z120 /// </summary> /// <returns></returns> public static PinholeCamera getTestCameraHuawei() { var mat = new double[, ] { { 3441.0667667434618, 0, 2090.8502187520326 }, { 0, 3432.3907417119017, 1561.5316432859202 }, { 0, 0, 1 } }; var m = new CameraIntrinsics(mat); var c = new PinholeCamera(m); c.PictureSize = new Size(4160, 3120); c.Cv_DistCoeffs5 = new[] { 0.24230691691999853, -0.92897577071991688, -0.00073617836680420852, 0.0015104681489398752, 1.0576231378646423 }; return(c); }
public static PinholeCamera FromXML(XmlReader reader, Func <int, CameraIntrinsics> getSensorForID = null) { if (reader.Name == "camera" && reader.NodeType == XmlNodeType.Element) { var r = new PinholeCamera(); r.ReadXml(reader); if (getSensorForID != null) { r._intrinsics = getSensorForID(r.SensorID); } return(r); } return(null); }
public IObservation getObservation(PinholeCamera cam) { throw new NotImplementedException(); }
private Tuple <Marker2d, IMarker3d> this[int index, PinholeCamera cam] { get { throw new NotImplementedException(); } }
public Matrix CalcFMat(PinholeCamera camera2) { throw new NotImplementedException(); }