⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rprc.h

📁 使用BDA实现三维模型相关反馈的算法 注:算法使用的三维模型特征向量是从PSB模型库中自动提取的DESIRE三维模型特征向量
💻 H
字号:
#pragma once
#include <fstream>
#include <string>
#include <math.h>

#define FEATURELENGTH 300
#define ROUNDNUM 3
#define FEADBACKNUM 20

#define DOUBLEMAX 0xffffffffffffffff

//用于标注的一些选项
#define PPPP 2
#define PPP 1
#define PP 0.5
#define MM 0
#define NN -1

#define GAMMA 0.3
#define CEI 3.14

struct labelsample
{
	int train;
	int coarse1;
	int coarse2;
	int coarse3;
};

struct userfeed 
{
	int label;
	double value;
};

class Crprc
{
public:
	Crprc(void);
	~Crprc(void);
	void readlabels(CString infilepath);
	void readfeatures(CString infilepath);
	void firstcomputedistance(int objectnum);
	void userlabelfeedback(int objectnum);
	void newcomputedistance(int objectnum);

	std::ofstream outfile1;
	std::ofstream outfile2;
	std::ofstream outfile3;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -