nndeploy C++ API
0.2.0
nndeploy C++ API
plugin
include
nndeploy
matting
result.h
Go to the documentation of this file.
1
#ifndef _NNDEPLOY_MATTING_MATTING_RESULT_H_
2
#define _NNDEPLOY_MATTING_MATTING_RESULT_H_
3
4
#include "
nndeploy/base/any.h
"
5
#include "
nndeploy/base/common.h
"
6
#include "
nndeploy/base/glic_stl_include.h
"
7
#include "
nndeploy/base/log.h
"
8
#include "
nndeploy/base/macro.h
"
9
#include "
nndeploy/base/object.h
"
10
#include "
nndeploy/base/param.h
"
11
#include "
nndeploy/base/status.h
"
12
#include "
nndeploy/base/string.h
"
13
#include "
nndeploy/base/type.h
"
14
#include "
nndeploy/device/buffer.h
"
15
#include "
nndeploy/device/device.h
"
16
#include "
nndeploy/device/memory_pool.h
"
17
#include "
nndeploy/device/tensor.h
"
18
19
namespace
nndeploy
{
20
namespace
matting {
21
22
class
NNDEPLOY_CC_API
MattingResult
:
public
base::Param
{
23
public
:
24
MattingResult
(){};
25
~MattingResult
(){};
26
27
std::vector<float>
alpha
;
28
std::vector<float>
foreground
;
29
std::vector<int64_t>
shape
;
30
bool
contain_foreground =
false
;
31
};
32
33
}
// namespace matting
34
}
// namespace nndeploy
35
36
#endif
// _NNDEPLOY_MATTING_MATTING_RESULT_H_
any.h
buffer.h
nndeploy::base::Param
Definition:
param.h:37
nndeploy::matting::MattingResult
Definition:
result.h:22
nndeploy::matting::MattingResult::foreground
std::vector< float > foreground
Definition:
result.h:28
nndeploy::matting::MattingResult::shape
std::vector< int64_t > shape
Definition:
result.h:29
nndeploy::matting::MattingResult::alpha
std::vector< float > alpha
Definition:
result.h:25
nndeploy::matting::MattingResult::MattingResult
MattingResult()
Definition:
result.h:24
nndeploy::matting::MattingResult::~MattingResult
~MattingResult()
Definition:
result.h:25
common.h
device.h
type.h
glic_stl_include.h
log.h
macro.h
NNDEPLOY_CC_API
#define NNDEPLOY_CC_API
api
Definition:
macro.h:29
memory_pool.h
nndeploy
Definition:
common.h:10
object.h
param.h
status.h
string.h
tensor.h
Generated by
1.9.1