📄 segmentationbymodel.h
字号:
// SegmentationbyModel.h: interface for the CSegmentationbyModel class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SEGMENTATIONBYMODEL_H__83C52CB9_7EA1_4B42_A31B_E0996EF2EA45__INCLUDED_)
#define AFX_SEGMENTATIONBYMODEL_H__83C52CB9_7EA1_4B42_A31B_E0996EF2EA45__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Location.h"
class CSegmentationbyModel : public CSegmentation
{
public:
CSegmentationbyModel();
virtual ~CSegmentationbyModel();
public:
BOOL GetRCutLine1(CImage &imTwo,int nLine[2]);
int Max(int * pBPoint,int nPos,int nNum);
int Max(int a,int b,int c);
BOOL GetCCutLine(CImage &imTwo,int nLine[10],BOOL IsEnter,BOOL &m_bBlack);//得到垂直分割线
BOOL GetRCutLine(CImage &imTwo,int nLine[2]);//得到水平分割线
BOOL Segment(CList<CImage,CImage &> &ImgOutList,CImage &ImgVLP,CRect rcVLP, CImage &ImgOrg,BOOL &m_bBlack,BOOL IsEnter);
};
#endif // !defined(AFX_SEGMENTATIONBYMODEL_H__83C52CB9_7EA1_4B42_A31B_E0996EF2EA45__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -