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