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
41获取具有spacific后处理执行模式的流程会话的Coucurrency任务计数。
42
43**起始版本:** 4.1
44
45**参数:**
46
47| 名称 | 描述 |
48| -------- | -------- |
49| mode | 执行模式。  |
50| taskCount | coucurrency任务计数。 |
51
52
53### GetPendingImages()
54
55```
56IImageProcessSession::GetPendingImages ([out] List< String > imageIds)
57```
58**描述**
59
60获取未处理的挂起图像的ID。
61
62**起始版本:** 4.1
63
64**参数:**
65
66| 名称 | 描述 |
67| -------- | -------- |
68| imageIds | 待处理图像的 ID。 |
69
70
71### Interrupt()
72
73```
74IImageProcessSession::Interrupt ()
75```
76**描述**
77
78中断进程会话。
79
80**起始版本:** 4.1
81
82
83### ProcessImage()
84
85```
86IImageProcessSession::ProcessImage ([in] String imageId)
87```
88**描述**
89
90按镜像ID处理特定镜像。
91
92**起始版本:** 4.1
93
94**参数:**
95
96| 名称 | 描述 |
97| -------- | -------- |
98| imageId | 图像ID。 |
99
100
101### RemoveImage()
102
103```
104IImageProcessSession::RemoveImage ([in] String imageId)
105```
106**描述**
107
108按映像ID删除特定映像。
109
110**起始版本:** 4.1
111
112**参数:**
113
114| 名称 | 描述 |
115| -------- | -------- |
116| imageId | 图像ID。 |
117
118
119### Reset()
120
121```
122IImageProcessSession::Reset ()
123```
124**描述**
125
126重置进程会话。
127
128**起始版本:** 4.1
129
130
131### SetExecutionMode()
132
133```
134IImageProcessSession::SetExecutionMode ([in] ExecutionMode mode)
135```
136**描述**
137
138设置处理后执行模式。
139
140**起始版本:** 4.1
141
142**参数:**
143
144| 名称 | 描述 |
145| -------- | -------- |
146| mode | 执行模式。 |
147