• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# IImageProcessSession
2
3
4## 概述
5
6图像处理会话进程。
7
8获取Coucurrency、待处理图像,设置执行模式,处理流程图像,删除图像,执行会话中断,会话重启。
9
10**起始版本:** 4.1
11
12**相关模块:**[Camera](_camera_v12.md)
13
14
15## 汇总
16
17
18### Public 成员函数
19
20| 名称 | 描述 |
21| -------- | -------- |
22| [GetCoucurrency](#getcoucurrency) ([in] enum [ExecutionMode](_camera_v12.md#executionmode) mode, [out] int taskCount) | 获取具有spacific后处理执行模式的流程会话的Coucurrency任务计数。  |
23| [GetPendingImages](#getpendingimages) ([out] List< String > imageIds) | 获取未处理的挂起图像的ID。  |
24| [SetExecutionMode](#setexecutionmode) ([in] [ExecutionMode](_camera_v12.md#executionmode) mode) | 设置处理后执行模式。  |
25| [ProcessImage](#processimage) ([in] String imageId) | 按镜像ID处理特定镜像。  |
26| [RemoveImage](#removeimage) ([in] String imageId) | 按映像ID删除特定映像。  |
27| [Interrupt](#interrupt) () | 中断进程会话。  |
28| [Reset](#reset) () | 重置进程会话。  |
29
30
31## 成员函数说明
32
33
34### GetCoucurrency()
35
36```
37IImageProcessSession::GetCoucurrency ([in] enum ExecutionMode mode, [out] int taskCount )
38```
39**描述**
40获取具有spacific后处理执行模式的流程会话的Coucurrency任务计数。
41
42**起始版本:** 4.1
43
44**参数:**
45
46| 名称 | 描述 |
47| -------- | -------- |
48| mode | 执行模式。  |
49| taskCount | coucurrency任务计数。 |
50
51
52### GetPendingImages()
53
54```
55IImageProcessSession::GetPendingImages ([out] List< String > imageIds)
56```
57**描述**
58获取未处理的挂起图像的ID。
59
60**起始版本:** 4.1
61
62**参数:**
63
64| 名称 | 描述 |
65| -------- | -------- |
66| imageIds | 待处理图像的 ID。 |
67
68
69### Interrupt()
70
71```
72IImageProcessSession::Interrupt ()
73```
74**描述**
75中断进程会话。
76
77**起始版本:** 4.1
78
79
80### ProcessImage()
81
82```
83IImageProcessSession::ProcessImage ([in] String imageId)
84```
85**描述**
86按镜像ID处理特定镜像。
87
88**起始版本:** 4.1
89
90**参数:**
91
92| 名称 | 描述 |
93| -------- | -------- |
94| imageId | 图像ID。 |
95
96
97### RemoveImage()
98
99```
100IImageProcessSession::RemoveImage ([in] String imageId)
101```
102**描述**
103按映像ID删除特定映像。
104
105**起始版本:** 4.1
106
107**参数:**
108
109| 名称 | 描述 |
110| -------- | -------- |
111| imageId | 图像ID。 |
112
113
114### Reset()
115
116```
117IImageProcessSession::Reset ()
118```
119**描述**
120重置进程会话。
121
122**起始版本:** 4.1
123
124
125### SetExecutionMode()
126
127```
128IImageProcessSession::SetExecutionMode ([in] ExecutionMode mode)
129```
130**描述**
131设置处理后执行模式。
132
133**起始版本:** 4.1
134
135**参数:**
136
137| 名称 | 描述 |
138| -------- | -------- |
139| mode | 执行模式。 |
140