📄 nodevalue.cs
字号:
//视频描述体系的层次:
//帧描述(基于MPEG-7):
namespace MPEG7
{
public class frame
{
public enum ColorSpace //色空间表示
{
RGB, HSV, Monochrome,nothing
};
ColorSpace CS;
public ColorSpace _CS
{
set { CS = value; }
get { return CS; }
}
public int ColorHistogram; //颜色直方图
public enum Homogeneous_Texture //场地材质表示
{
Plastic_Area, Snow_Area, Water_Area, nothing
};
Homogeneous_Texture HT;
public Homogeneous_Texture _HT
{
set { HT = value; }
get { return HT; }
}
public string EdgeHistogram; //边缘直方图
public enum Region_Shape //区域形状(限于体育场地)
{
Rectangle, Square, other_uniformed_playground, nothing
};
Region_Shape RS;
public Region_Shape _RS
{
set { RS = value; }
get { return RS; }
}
public enum Contour_Shape //轮廓形状,包含场地信息
{
Parallel_Line_Number,
Curve_Number, nothing
};
Contour_Shape COS;
public Contour_Shape _COS
{
set { COS = value; }
get { return COS; }
}
public frame()
{
CS = ColorSpace.nothing;
ColorHistogram = 0;
HT = Homogeneous_Texture.nothing;
EdgeHistogram = "";
RS = Region_Shape.nothing;
COS = Contour_Shape.nothing;
}
};
//镜头描述
public class shot
{
//球员识别
public double axis_x_spand;
public double axis_y_spand;
public double axis_x_mid;
public double axis_y_mid;
public string face_feature;
public string duration; //比赛时长
public string shot_type; //镜头种类
//Motion Shot_motion; //镜头变化;
public string location;
public string keyframeno;
public string shot_Importance; //镜头重要度;
public shot()
{
axis_x_spand = 0;
axis_y_spand = 0;
axis_x_mid = 0;
axis_y_mid = 0;
face_feature = "Invalid";
duration = "0";
shot_type = "Invalid";
location = "Invalid";
keyframeno = "0";
shot_Importance = "0";
}
};
//故事实体
public class story
{
public string shot_number; //镜头数目
public string Location; //比赛位置
public shot shots = new shot();
public string story_number;
public string Related_player; //选手
public string Duration_Time; //持续时间
public string Play_type; //比赛类型
public frame Key_Frame = new frame();
public string wholestory;
public story()
{
wholestory = "Invalid";
shot_number = "0";
Location = "Invalid";
story_number = "0";
Related_player = "Invalid";
Duration_Time = "0";
Play_type = "Invalid";
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -