git-svn-id: svn://db.shs.com.ru/pip@474 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
10
main.cpp
10
main.cpp
@@ -84,7 +84,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#include "piframe.h"
|
||||
#include "pivector2d.h"
|
||||
int main(int argc, char *argv[]) {
|
||||
/*
|
||||
enum VCO_Aim_Type {VCO_Aim_Type_None, VCO_Aim_Type_Detected, VCO_Aim_Type_New, VCO_Aim_Type_Confirmed, VCO_Aim_Type_Deleted = 127};
|
||||
@@ -151,10 +151,10 @@ int main(int argc, char *argv[]) {
|
||||
for (int j = 0; j < 20; ++j)
|
||||
in[i] << j+i*100;
|
||||
// piCout << in.size() << in[0].size();
|
||||
PIFrame<double> f0;
|
||||
PIFrame<double> f1(30, 40);
|
||||
PIVector2D<double> f0;
|
||||
PIVector2D<double> f1(30, 40);
|
||||
//in.resize(1);
|
||||
PIFrame<double> f2(in);
|
||||
PIVector2D<double> f2(in);
|
||||
f0 = f2;
|
||||
// piCout << f0;
|
||||
// piCout << f1;
|
||||
@@ -165,7 +165,7 @@ int main(int argc, char *argv[]) {
|
||||
piCout << f2.toVectors();
|
||||
PIVector<double> t = f2.toPlainVector();
|
||||
piCout << t;
|
||||
piCout << PIFrame<double>(f2.rows(), f2.cols(), t);
|
||||
piCout << PIVector2D<double>(f2.rows(), f2.cols(), t);
|
||||
return 0;
|
||||
// PIFFTWf fft;
|
||||
// fft.preparePlan(50, PIFFTWf::foReal);
|
||||
|
||||
Reference in New Issue
Block a user