documentation
.HELP!
RLL Computer Vision Documentation
RLL Computer Vision Code: code/image_preprocessor.h 源文件
RLL Computer Vision
previous page
next page
RLL Computer Vision Code
1.0
江苏科技大学HLL战队机器视觉代码
code
image_preprocessor.h
浏览该文件的文档.
1
/*****************************************************************************
2
* HLL Computer Vision Code *
3
* Copyright (C) 2017 HLL
[email protected]
. *
4
* *
5
* This file is part of HCVC. *
6
* *
7
* @file image_preprocessor.h *
8
* @brief Preprocess image to detect the armour zone and track it *
9
* Details. *
10
* *
11
* @author HLL *
12
* @email
[email protected]
*
13
* @version 1.0.0.0 *
14
* @date 2017.11.10 *
15
* *
16
*----------------------------------------------------------------------------*
17
* Remark : Description *
18
*----------------------------------------------------------------------------*
19
* Change History : *
20
* <Date> | <Version> | <Author> | <Description> *
21
*----------------------------------------------------------------------------*
22
* 2017/11/10 | 1.0.0.0 | Zhu Min | Create file *
23
*----------------------------------------------------------------------------*
24
* *
25
*****************************************************************************/
26
27
#ifndef IMAGE_PREPROCESSOR_H
28
#define IMAGE_PREPROCESSOR_H
29
30
/*C++标准库*/
31
#include "algorithm"
32
#include "iostream"
33
#include "string"
34
35
/*opencv库*/
36
#include "opencv2/opencv.hpp"
37
#include "opencv2/video/tracking.hpp"
38
#include "tracking.hpp"
39
40
/*自定义库*/
41
#include "
tool.h
"
42
43
using namespace
std
;
44
using namespace
cv
;
45
46
namespace
HCVC
47
{
50
55
class
ImagePreprocessor
56
{
57
public
:
62
ImagePreprocessor
();
63
70
Mat preprocess(
const
Mat& srcImage);
71
79
void
setThreshod(
int
channel,
int
minOrMax,
int
value);
80
87
int
getThreshod(
int
channel,
int
minOrMax)
const
;
88
89
private
:
91
vector<int> thresholds[3];
92
101
Mat rangeThreshold(
const
Mat& srcImage,
const
int
& channel);
102
};
104
}
105
106
#endif // IMAGE_PREPROCESSOR_H
std
cv
HCVC
HLL Computer Vision Code namepace.
Definition:
armour_detector.cpp:3
HCVC::ImagePreprocessor
图像预处理模块
Definition:
image_preprocessor.h:55
tool.h
制作者
1.8.13
previous page
start
next page
Menu
Homepage
Table of contents
模块
装甲板识别模块组
ArmourDetector
OptimalArmourBlock
OptimalArmourBlock
operator<
block
grade
Params
angleRange
maxAngleDiff
maxHeightGapRat
maxHeightRat
maxHeightWidthRat
maxWidthRat
minArea
minHeightGapRat
minHeightWidthRat
ArmourDetector
calcBlocksInfo
cutEdgeOfRect
detect
drawBlocks
extracArmourBlocks
fillLampBlock
getBestArmourBlock
markArmourBlocks
searchBlocks
optimalArmourBlocks
params
ArmourTracker
ArmourTracker
init
sobelExtractor
track
tracker
ImagePreprocessor
ImagePreprocessor
getThreshod
preprocess
rangeThreshold
setThreshod
thresholds
总控制模块组
MainControl
DETECTING
TRACKING
MainControl
readSrcFile
run
armourDetector
armourTracker
srcFile
srcFilePath
status
调试模块组
Tool
ESC
PAUSE
MOVE_BACK
MOVE_FORWARD
Tool
addKeyboardControl
addTrackBar
getTimeCount
onTrackBarCallback
setTrackBarFollow
g_trackBarLocation
命名空间
命名空间列表
HCVC
Ui
命名空间成员
全部
变量
类
类列表
HCVC
ArmourDetector
OptimalArmourBlock
OptimalArmourBlock
operator<
block
grade
Params
angleRange
maxAngleDiff
maxHeightGapRat
maxHeightRat
maxHeightWidthRat
maxWidthRat
minArea
minHeightGapRat
minHeightWidthRat
ArmourDetector
calcBlocksInfo
cutEdgeOfRect
detect
drawBlocks
extracArmourBlocks
fillLampBlock
getBestArmourBlock
markArmourBlocks
searchBlocks
optimalArmourBlocks
params
ArmourTracker
ArmourTracker
init
sobelExtractor
track
tracker
ImagePreprocessor
ImagePreprocessor
getThreshod
preprocess
rangeThreshold
setThreshod
thresholds
MainControl
DETECTING
TRACKING
MainControl
readSrcFile
run
armourDetector
armourTracker
srcFile
srcFilePath
status
Tool
ESC
PAUSE
MOVE_BACK
MOVE_FORWARD
Tool
addKeyboardControl
addTrackBar
getTimeCount
onTrackBarCallback
setTrackBarFollow
MainWindow
MainWindow
~MainWindow
on_angleRange_valueChanged
on_horizontalScrollBar_blueMax_valueChanged
on_horizontalScrollBar_blueMin_valueChanged
on_horizontalScrollBar_greenMax_valueChanged
on_horizontalScrollBar_greenMin_valueChanged
on_horizontalScrollBar_redMax_valueChanged
on_horizontalScrollBar_redMin_valueChanged
on_maxAngleDiff_valueChanged
on_maxHeightGapRat_valueChanged
on_maxHeightRat_valueChanged
on_maxHeightWidthRat_valueChanged
on_maxWidthRat_valueChanged
on_minArea_valueChanged
on_minHeightGapRat_valueChanged
on_minHeightWidthRat_valueChanged
ui
类索引
类继承关系
HCVC::ArmourTracker
HCVC::ImagePreprocessor
HCVC::ArmourDetector
HCVC::MainControl
MainWindow
HCVC::ArmourDetector::OptimalArmourBlock
HCVC::ArmourDetector::Params
QMainWindow
MainWindow
HCVC::Tool
类成员
全部
函数
变量
枚举值
文件
文件列表
code
armour_detector.cpp
armour_detector.h
Params
angleRange
maxAngleDiff
maxHeightGapRat
maxHeightRat
maxHeightWidthRat
maxWidthRat
minArea
minHeightGapRat
minHeightWidthRat
OptimalArmourBlock
OptimalArmourBlock
operator<
block
grade
armour_tracker.cpp
armour_tracker.h
image_preprocessor.cpp
image_preprocessor.h
main.cpp
main
main_control.cpp
main_control.h
mainwindow.cpp
mainwindow.h
MainWindow
MainWindow
~MainWindow
on_angleRange_valueChanged
on_horizontalScrollBar_blueMax_valueChanged
on_horizontalScrollBar_blueMin_valueChanged
on_horizontalScrollBar_greenMax_valueChanged
on_horizontalScrollBar_greenMin_valueChanged
on_horizontalScrollBar_redMax_valueChanged
on_horizontalScrollBar_redMin_valueChanged
on_maxAngleDiff_valueChanged
on_maxHeightGapRat_valueChanged
on_maxHeightRat_valueChanged
on_maxHeightWidthRat_valueChanged
on_maxWidthRat_valueChanged
on_minArea_valueChanged
on_minHeightGapRat_valueChanged
on_minHeightWidthRat_valueChanged
ui
tool.cpp
g_trackBarLocation
tool.h
文件成员
全部
函数
Get in touch
Submit feedback about this site to:
[email protected]