摄影测量单片空间后方交会程序《C++》

输入文件形式如下:

摄影测量单片空间后方交会程序《C++》

C++源程序如下:

#include <iostream>

#include <fstream>

#include <cmath>

#include <string>

#include <iomanip>

using namespace std;

const int n=6;

void inverse (double c[n][n]);

template<typename T1,typename T2>void transpose (T1*mat1,T2*mat2,int a,int b); template<typename T1,typename T2>void multi(T1*mat1,T2 * mat2,T2 * result,int a,int b,int c);

template<typename T>void input (T*mat,int a,int b);

template<typename T>void output(T*mat,char*s,int a,int b);

int main()

{

ofstream outFile;

cout.precision(5);

double x0=0.0, y0=0.0; double fk=0.15324; //内方位元素

double m=39689; //估算比例尺

double B[4][5]={0.0},R[3][3],XG[6][1],AT[6][8],ATA[6][6],ATL[6][1];

input (B,4,5); //从文件中读取控制点的影像坐标和地面坐标,存入数组B double Xs=0.0, Ys=0.0, Zs=0.0,Q=0.0,W=0.0,K=0.0;

double X,Y,Z,L[8][1],A[8][6];

//确定未知数的出始值

你可能喜欢

  • 空间后方交会
  • 单片空间后方交会
  • 摄影测量后方交会
  • 空间后方交会编程
  • 空间后方交会程序
  • 后方交会程序

摄影测量单片空间后方交会程序《C++》相关文档

最新文档

返回顶部