Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
nppi_threshold_and_compare_operations.h5416 linesDownload Raw Back to include
1 /* Copyright 2009-2023 NVIDIA CORPORATION & AFFILIATES.  All rights reserved. 
2  * 
3  * NOTICE TO LICENSEE: 
4  * 
5  * The source code and/or documentation ("Licensed Deliverables") are 
6  * subject to NVIDIA intellectual property rights under U.S. and 
7  * international Copyright laws. 
8  * 
9  * The Licensed Deliverables contained herein are PROPRIETARY and 
10  * CONFIDENTIAL to NVIDIA and are being provided under the terms and 
11  * conditions of a form of NVIDIA software license agreement by and 
12  * between NVIDIA and Licensee ("License Agreement") or electronically 
13  * accepted by Licensee.  Notwithstanding any terms or conditions to 
14  * the contrary in the License Agreement, reproduction or disclosure 
15  * of the Licensed Deliverables to any third party without the express 
16  * written consent of NVIDIA is prohibited. 
17  * 
18  * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE 
19  * LICENSE AGREEMENT, NVIDIA MAKES NO REPRESENTATION ABOUT THE 
20  * SUITABILITY OF THESE LICENSED DELIVERABLES FOR ANY PURPOSE.  THEY ARE 
21  * PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. 
22  * NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THESE LICENSED 
23  * DELIVERABLES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, 
24  * NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. 
25  * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE 
26  * LICENSE AGREEMENT, IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY 
27  * SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY 
28  * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
29  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
30  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
31  * OF THESE LICENSED DELIVERABLES. 
32  * 
33  * U.S. Government End Users.  These Licensed Deliverables are a 
34  * "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT 
35  * 1995), consisting of "commercial computer software" and "commercial 
36  * computer software documentation" as such terms are used in 48 
37  * C.F.R. 12.212 (SEPT 1995) and are provided to the U.S. Government 
38  * only as a commercial end item.  Consistent with 48 C.F.R.12.212 and 
39  * 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all 
40  * U.S. Government End Users acquire the Licensed Deliverables with 
41  * only those rights set forth herein. 
42  * 
43  * Any use of the Licensed Deliverables in individual and commercial 
44  * software must include, in the user documentation and internal 
45  * comments to the code, the above Disclaimer and U.S. Government End 
46  * Users Notice. 
47  */ 
48#ifndef NV_NPPI_THRESHOLD_AND_COMPARE_OPERATIONS_H
49#define NV_NPPI_THRESHOLD_AND_COMPARE_OPERATIONS_H
50 
51/**
52 * \file nppi_threshold_and_compare_operations.h
53 * NPP Image Processing Functionality.
54 */
55 
56#include "nppdefs.h"
57
58
59#ifdef __cplusplus
60extern "C" {
61#endif
62
63
64/** 
65 *  \page image_threshold_and_compare_operations Threshold and Compare Operations
66 *  @defgroup image_threshold_and_compare_operations Threshold and Compare Operations
67 *  @ingroup nppi
68 *
69 * Methods for pixel-wise threshold and compare operations.
70 *
71 * @{
72 *
73 * These functions can be found in the nppitc library. Linking to only the sub-libraries that you use can significantly
74 * save link time, application load time, and CUDA runtime startup time when using dynamic libraries.
75 *
76 */
77
78/** 
79 * \section image_thresholding_operations Thresholding Operations
80 * @defgroup image_thresholding_operations Thresholding Operations
81 * Various types of image thresholding operations.
82 *
83 * @{
84 *
85 */
86
87/** 
88 * \section image_threshold_operations Threshold Operations
89 * @defgroup image_threshold_operations Threshold Operations
90 * Threshold image pixels.
91 *
92 * \subsection CommonThresholdParameters Common parameters for nppiThreshold non-inplace and inplace functions:
93 *
94 * \param pSrcDst \ref in_place_image_pointer for inplace functions.
95 * \param nSrcDstStep \ref in_place_image_line_step for inplace functions.
96 * \param pSrc \ref source_image_pointer for non-inplace functions.
97 * \param nSrcStep \ref source_image_line_step for non-inplace functions.
98 * \param pDst \ref destination_image_pointer for non-inplace functions.
99 * \param nDstStep \ref destination_image_line_step for non-inplace functions.
100 * \param oSizeROI \ref roi_specification.
101 * \param nThreshold The threshold value.
102 * \param eComparisonOperation The type of comparison operation to be used. The only valid
103 *      values are: NPP_CMP_LESS and NPP_CMP_GREATER.
104 * \param nppStreamCtx \ref application_managed_stream_context. 
105 * \return \ref image_data_error_codes, \ref roi_error_codes, or NPP_NOT_SUPPORTED_MODE_ERROR if an invalid
106 * comparison operation type is specified.
107 *
108 * @{
109 *
110 */
111
112/** 
113 * 1 channel 8-bit unsigned char threshold.
114 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
115 * to nThreshold, otherwise it is set to sourcePixel.
116 * 
117 * For common parameter descriptions, see \ref CommonThresholdParameters.
118 *
119 */
120NppStatus nppiThreshold_8u_C1R_Ctx(const Npp8u * pSrc, int nSrcStep,
121                                         Npp8u * pDst, int nDstStep, 
122                                   NppiSize oSizeROI, 
123                                   const Npp8u nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
124/** 
125 * 1 channel 8-bit unsigned char threshold.
126 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
127 * to nThreshold, otherwise it is set to sourcePixel.
128 * 
129 * For common parameter descriptions, see \ref CommonThresholdParameters.
130 *
131 */
132NppStatus nppiThreshold_8u_C1R(const Npp8u * pSrc, int nSrcStep,
133                                     Npp8u * pDst, int nDstStep, 
134                               NppiSize oSizeROI, 
135                               const Npp8u nThreshold, NppCmpOp eComparisonOperation); 
136
137/** 
138 * 1 channel 8-bit unsigned char in place threshold.
139 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
140 * to nThreshold, otherwise it is set to sourcePixel.
141 * 
142 * For common parameter descriptions, see \ref CommonThresholdParameters.
143 *
144 */
145NppStatus nppiThreshold_8u_C1IR_Ctx(Npp8u * pSrcDst, int nSrcDstStep, 
146                                    NppiSize oSizeROI, 
147                                    const Npp8u nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
148/** 
149 * 1 channel 8-bit unsigned char in place threshold.
150 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
151 * to nThreshold, otherwise it is set to sourcePixel.
152 * 
153 * For common parameter descriptions, see \ref CommonThresholdParameters.
154 *
155 */
156NppStatus nppiThreshold_8u_C1IR(Npp8u * pSrcDst, int nSrcDstStep, 
157                                NppiSize oSizeROI, 
158                                const Npp8u nThreshold, NppCmpOp eComparisonOperation); 
159
160/** 
161 * 1 channel 16-bit unsigned short threshold.
162 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
163 * to nThreshold, otherwise it is set to sourcePixel.
164 * 
165 * For common parameter descriptions, see \ref CommonThresholdParameters.
166 *
167 */
168NppStatus nppiThreshold_16u_C1R_Ctx(const Npp16u * pSrc, int nSrcStep,
169                                          Npp16u * pDst, int nDstStep, 
170                                    NppiSize oSizeROI, 
171                                    const Npp16u nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
172/** 
173 * 1 channel 16-bit unsigned short threshold.
174 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
175 * to nThreshold, otherwise it is set to sourcePixel.
176 * 
177 * For common parameter descriptions, see \ref CommonThresholdParameters.
178 *
179 */
180NppStatus nppiThreshold_16u_C1R(const Npp16u * pSrc, int nSrcStep,
181                                      Npp16u * pDst, int nDstStep, 
182                                NppiSize oSizeROI, 
183                                const Npp16u nThreshold, NppCmpOp eComparisonOperation); 
184
185/** 
186 * 1 channel 16-bit unsigned short in place threshold.
187 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
188 * to nThreshold, otherwise it is set to sourcePixel.
189 * 
190 * For common parameter descriptions, see \ref CommonThresholdParameters.
191 *
192 */
193NppStatus nppiThreshold_16u_C1IR_Ctx(Npp16u * pSrcDst, int nSrcDstStep, 
194                                     NppiSize oSizeROI, 
195                                     const Npp16u nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
196/** 
197 * 1 channel 16-bit unsigned short in place threshold.
198 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
199 * to nThreshold, otherwise it is set to sourcePixel.
200 * 
201 * For common parameter descriptions, see \ref CommonThresholdParameters.
202 *
203 */
204NppStatus nppiThreshold_16u_C1IR(Npp16u * pSrcDst, int nSrcDstStep, 
205                                 NppiSize oSizeROI, 
206                                 const Npp16u nThreshold, NppCmpOp eComparisonOperation); 
207
208/** 
209 * 1 channel 16-bit signed short threshold.
210 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
211 * to nThreshold, otherwise it is set to sourcePixel.
212 * 
213 * For common parameter descriptions, see \ref CommonThresholdParameters.
214 *
215 */
216NppStatus nppiThreshold_16s_C1R_Ctx(const Npp16s * pSrc, int nSrcStep,
217                                          Npp16s * pDst, int nDstStep, 
218                                    NppiSize oSizeROI, 
219                                    const Npp16s nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
220/** 
221 * 1 channel 16-bit signed short threshold.
222 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
223 * to nThreshold, otherwise it is set to sourcePixel.
224 * 
225 * For common parameter descriptions, see \ref CommonThresholdParameters.
226 *
227 */
228NppStatus nppiThreshold_16s_C1R(const Npp16s * pSrc, int nSrcStep,
229                                      Npp16s * pDst, int nDstStep, 
230                                NppiSize oSizeROI, 
231                                const Npp16s nThreshold, NppCmpOp eComparisonOperation); 
232
233/** 
234 * 1 channel 16-bit signed short in place threshold.
235 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
236 * to nThreshold, otherwise it is set to sourcePixel.
237 * 
238 * For common parameter descriptions, see \ref CommonThresholdParameters.
239 *
240 */
241NppStatus nppiThreshold_16s_C1IR_Ctx(Npp16s * pSrcDst, int nSrcDstStep, 
242                                     NppiSize oSizeROI, 
243                                     const Npp16s nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
244/** 
245 * 1 channel 16-bit signed short in place threshold.
246 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
247 * to nThreshold, otherwise it is set to sourcePixel.
248 * 
249 * For common parameter descriptions, see \ref CommonThresholdParameters.
250 *
251 */
252NppStatus nppiThreshold_16s_C1IR(Npp16s * pSrcDst, int nSrcDstStep, 
253                                 NppiSize oSizeROI, 
254                                 const Npp16s nThreshold, NppCmpOp eComparisonOperation); 
255
256/** 
257 * 1 channel 32-bit floating point threshold.
258 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
259 * to nThreshold, otherwise it is set to sourcePixel.
260 * 
261 * For common parameter descriptions, see \ref CommonThresholdParameters.
262 *
263 */
264NppStatus nppiThreshold_32f_C1R_Ctx(const Npp32f * pSrc, int nSrcStep,
265                                          Npp32f * pDst, int nDstStep, 
266                                    NppiSize oSizeROI, 
267                                    const Npp32f nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
268/** 
269 * 1 channel 32-bit floating point threshold.
270 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
271 * to nThreshold, otherwise it is set to sourcePixel.
272 * 
273 * For common parameter descriptions, see \ref CommonThresholdParameters.
274 *
275 */
276NppStatus nppiThreshold_32f_C1R(const Npp32f * pSrc, int nSrcStep,
277                                      Npp32f * pDst, int nDstStep, 
278                                NppiSize oSizeROI, 
279                                const Npp32f nThreshold, NppCmpOp eComparisonOperation); 
280
281/** 
282 * 1 channel 32-bit floating point in place threshold.
283 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
284 * to nThreshold, otherwise it is set to sourcePixel.
285 * 
286 * For common parameter descriptions, see \ref CommonThresholdParameters.
287 *
288 */
289NppStatus nppiThreshold_32f_C1IR_Ctx(Npp32f * pSrcDst, int nSrcDstStep, 
290                                     NppiSize oSizeROI, 
291                                     const Npp32f nThreshold, NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
292/** 
293 * 1 channel 32-bit floating point in place threshold.
294 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
295 * to nThreshold, otherwise it is set to sourcePixel.
296 * 
297 * For common parameter descriptions, see \ref CommonThresholdParameters.
298 *
299 */
300NppStatus nppiThreshold_32f_C1IR(Npp32f * pSrcDst, int nSrcDstStep, 
301                                 NppiSize oSizeROI, 
302                                 const Npp32f nThreshold, NppCmpOp eComparisonOperation); 
303
304/** 
305 * 3 channel 8-bit unsigned char threshold.
306 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
307 * to nThreshold, otherwise it is set to sourcePixel.
308 * 
309 * For common parameter descriptions, see \ref CommonThresholdParameters.
310 *
311 */
312NppStatus nppiThreshold_8u_C3R_Ctx(const Npp8u * pSrc, int nSrcStep,
313                                         Npp8u * pDst, int nDstStep, 
314                                   NppiSize oSizeROI, 
315                                   const Npp8u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
316/** 
317 * 3 channel 8-bit unsigned char threshold.
318 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
319 * to nThreshold, otherwise it is set to sourcePixel.
320 * 
321 * For common parameter descriptions, see \ref CommonThresholdParameters.
322 *
323 */
324NppStatus nppiThreshold_8u_C3R(const Npp8u * pSrc, int nSrcStep,
325                                     Npp8u * pDst, int nDstStep, 
326                               NppiSize oSizeROI, 
327                               const Npp8u rThresholds[3], NppCmpOp eComparisonOperation); 
328
329/** 
330 * 3 channel 8-bit unsigned char in place threshold.
331 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
332 * to nThreshold, otherwise it is set to sourcePixel.
333 * 
334 * For common parameter descriptions, see \ref CommonThresholdParameters.
335 *
336 */
337NppStatus nppiThreshold_8u_C3IR_Ctx(Npp8u * pSrcDst, int nSrcDstStep, 
338                                    NppiSize oSizeROI, 
339                                    const Npp8u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
340/** 
341 * 3 channel 8-bit unsigned char in place threshold.
342 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
343 * to nThreshold, otherwise it is set to sourcePixel.
344 * 
345 * For common parameter descriptions, see \ref CommonThresholdParameters.
346 *
347 */
348NppStatus nppiThreshold_8u_C3IR(Npp8u * pSrcDst, int nSrcDstStep, 
349                                NppiSize oSizeROI, 
350                                const Npp8u rThresholds[3], NppCmpOp eComparisonOperation); 
351
352/** 
353 * 3 channel 16-bit unsigned short threshold.
354 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
355 * to nThreshold, otherwise it is set to sourcePixel.
356 * 
357 * For common parameter descriptions, see \ref CommonThresholdParameters.
358 *
359 */
360NppStatus nppiThreshold_16u_C3R_Ctx(const Npp16u * pSrc, int nSrcStep,
361                                          Npp16u * pDst, int nDstStep, 
362                                    NppiSize oSizeROI, 
363                                    const Npp16u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
364/** 
365 * 3 channel 16-bit unsigned short threshold.
366 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
367 * to nThreshold, otherwise it is set to sourcePixel.
368 * 
369 * For common parameter descriptions, see \ref CommonThresholdParameters.
370 *
371 */
372NppStatus nppiThreshold_16u_C3R(const Npp16u * pSrc, int nSrcStep,
373                                      Npp16u * pDst, int nDstStep, 
374                                NppiSize oSizeROI, 
375                                const Npp16u rThresholds[3], NppCmpOp eComparisonOperation); 
376
377/** 
378 * 3 channel 16-bit unsigned short in place threshold.
379 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
380 * to nThreshold, otherwise it is set to sourcePixel.
381 * 
382 * For common parameter descriptions, see \ref CommonThresholdParameters.
383 *
384 */
385NppStatus nppiThreshold_16u_C3IR_Ctx(Npp16u * pSrcDst, int nSrcDstStep, 
386                                     NppiSize oSizeROI, 
387                                     const Npp16u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
388/** 
389 * 3 channel 16-bit unsigned short in place threshold.
390 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
391 * to nThreshold, otherwise it is set to sourcePixel.
392 * 
393 * For common parameter descriptions, see \ref CommonThresholdParameters.
394 *
395 */
396NppStatus nppiThreshold_16u_C3IR(Npp16u * pSrcDst, int nSrcDstStep, 
397                                 NppiSize oSizeROI, 
398                                 const Npp16u rThresholds[3], NppCmpOp eComparisonOperation); 
399
400/** 
401 * 3 channel 16-bit signed short threshold.
402 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
403 * to nThreshold, otherwise it is set to sourcePixel.
404 * 
405 * For common parameter descriptions, see \ref CommonThresholdParameters.
406 *
407 */
408NppStatus nppiThreshold_16s_C3R_Ctx(const Npp16s * pSrc, int nSrcStep,
409                                          Npp16s * pDst, int nDstStep, 
410                                    NppiSize oSizeROI, 
411                                    const Npp16s rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
412/** 
413 * 3 channel 16-bit signed short threshold.
414 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
415 * to nThreshold, otherwise it is set to sourcePixel.
416 * 
417 * For common parameter descriptions, see \ref CommonThresholdParameters.
418 *
419 */
420NppStatus nppiThreshold_16s_C3R(const Npp16s * pSrc, int nSrcStep,
421                                      Npp16s * pDst, int nDstStep, 
422                                NppiSize oSizeROI, 
423                                const Npp16s rThresholds[3], NppCmpOp eComparisonOperation); 
424
425/** 
426 * 3 channel 16-bit signed short in place threshold.
427 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
428 * to nThreshold, otherwise it is set to sourcePixel.
429 * 
430 * For common parameter descriptions, see \ref CommonThresholdParameters.
431 *
432 */
433NppStatus nppiThreshold_16s_C3IR_Ctx(Npp16s * pSrcDst, int nSrcDstStep, 
434                                     NppiSize oSizeROI, 
435                                     const Npp16s rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
436/** 
437 * 3 channel 16-bit signed short in place threshold.
438 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
439 * to nThreshold, otherwise it is set to sourcePixel.
440 * 
441 * For common parameter descriptions, see \ref CommonThresholdParameters.
442 *
443 */
444NppStatus nppiThreshold_16s_C3IR(Npp16s * pSrcDst, int nSrcDstStep, 
445                                 NppiSize oSizeROI, 
446                                 const Npp16s rThresholds[3], NppCmpOp eComparisonOperation); 
447
448/** 
449 * 3 channel 32-bit floating point threshold.
450 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
451 * to nThreshold, otherwise it is set to sourcePixel.
452 * 
453 * For common parameter descriptions, see \ref CommonThresholdParameters.
454 *
455 */
456NppStatus nppiThreshold_32f_C3R_Ctx(const Npp32f * pSrc, int nSrcStep,
457                                          Npp32f * pDst, int nDstStep, 
458                                    NppiSize oSizeROI, 
459                                    const Npp32f rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
460/** 
461 * 3 channel 32-bit floating point threshold.
462 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
463 * to nThreshold, otherwise it is set to sourcePixel.
464 * 
465 * For common parameter descriptions, see \ref CommonThresholdParameters.
466 *
467 */
468NppStatus nppiThreshold_32f_C3R(const Npp32f * pSrc, int nSrcStep,
469                                      Npp32f * pDst, int nDstStep, 
470                                NppiSize oSizeROI, 
471                                const Npp32f rThresholds[3], NppCmpOp eComparisonOperation); 
472
473/** 
474 * 3 channel 32-bit floating point in place threshold.
475 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
476 * to nThreshold, otherwise it is set to sourcePixel.
477 * 
478 * For common parameter descriptions, see \ref CommonThresholdParameters.
479 *
480 */
481NppStatus nppiThreshold_32f_C3IR_Ctx(Npp32f * pSrcDst, int nSrcDstStep, 
482                                     NppiSize oSizeROI, 
483                                     const Npp32f rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx); 
484/** 
485 * 3 channel 32-bit floating point in place threshold.
486 * If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set
487 * to nThreshold, otherwise it is set to sourcePixel.
488 * 
489 * For common parameter descriptions, see \ref CommonThresholdParameters.
490 *
491 */
492NppStatus nppiThreshold_32f_C3IR(Npp32f * pSrcDst, int nSrcDstStep, 
493                                 NppiSize oSizeROI, 
494                                 const Npp32f rThresholds[3], NppCmpOp eComparisonOperation); 
495
496/** 
497 * 4 channel 8-bit unsigned char image threshold, not affecting Alpha.
498 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
499 * value is set to nThreshold, otherwise it is set to sourcePixel.
500 * 
501 * For common parameter descriptions, see \ref CommonThresholdParameters.
502 *
503 */
504NppStatus nppiThreshold_8u_AC4R_Ctx(const Npp8u * pSrc, int nSrcStep,
505                                          Npp8u * pDst, int nDstStep, 
506                                    NppiSize oSizeROI, 
507                                    const Npp8u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
508/** 
509 * 4 channel 8-bit unsigned char image threshold, not affecting Alpha.
510 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
511 * value is set to nThreshold, otherwise it is set to sourcePixel.
512 * 
513 * For common parameter descriptions, see \ref CommonThresholdParameters.
514 *
515 */
516NppStatus nppiThreshold_8u_AC4R(const Npp8u * pSrc, int nSrcStep,
517                                      Npp8u * pDst, int nDstStep, 
518                                NppiSize oSizeROI, 
519                                const Npp8u rThresholds[3], NppCmpOp eComparisonOperation);
520
521/** 
522 * 4 channel 8-bit unsigned char in place image threshold, not affecting Alpha.
523 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
524 * value is set to nThreshold, otherwise it is set to sourcePixel.
525 * 
526 * For common parameter descriptions, see \ref CommonThresholdParameters.
527 *
528 */
529NppStatus nppiThreshold_8u_AC4IR_Ctx(Npp8u * pSrcDst, int nSrcDstStep, 
530                                     NppiSize oSizeROI, 
531                                     const Npp8u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
532/** 
533 * 4 channel 8-bit unsigned char in place image threshold, not affecting Alpha.
534 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
535 * value is set to nThreshold, otherwise it is set to sourcePixel.
536 * 
537 * For common parameter descriptions, see \ref CommonThresholdParameters.
538 *
539 */
540NppStatus nppiThreshold_8u_AC4IR(Npp8u * pSrcDst, int nSrcDstStep, 
541                                 NppiSize oSizeROI, 
542                                 const Npp8u rThresholds[3], NppCmpOp eComparisonOperation);
543
544/** 
545 * 4 channel 16-bit unsigned short image threshold, not affecting Alpha.
546 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
547 * value is set to nThreshold, otherwise it is set to sourcePixel.
548 * 
549 * For common parameter descriptions, see \ref CommonThresholdParameters.
550 *
551 */
552NppStatus nppiThreshold_16u_AC4R_Ctx(const Npp16u * pSrc, int nSrcStep,
553                                           Npp16u * pDst, int nDstStep, 
554                                     NppiSize oSizeROI, 
555                                     const Npp16u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
556/** 
557 * 4 channel 16-bit unsigned short image threshold, not affecting Alpha.
558 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
559 * value is set to nThreshold, otherwise it is set to sourcePixel.
560 * 
561 * For common parameter descriptions, see \ref CommonThresholdParameters.
562 *
563 */
564NppStatus nppiThreshold_16u_AC4R(const Npp16u * pSrc, int nSrcStep,
565                                       Npp16u * pDst, int nDstStep, 
566                                 NppiSize oSizeROI, 
567                                 const Npp16u rThresholds[3], NppCmpOp eComparisonOperation);
568
569/** 
570 * 4 channel 16-bit unsigned short in place image threshold, not affecting Alpha.
571 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
572 * value is set to nThreshold, otherwise it is set to sourcePixel.
573 * 
574 * For common parameter descriptions, see \ref CommonThresholdParameters.
575 *
576 */
577NppStatus nppiThreshold_16u_AC4IR_Ctx(Npp16u * pSrcDst, int nSrcDstStep, 
578                                      NppiSize oSizeROI, 
579                                      const Npp16u rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
580/** 
581 * 4 channel 16-bit unsigned short in place image threshold, not affecting Alpha.
582 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
583 * value is set to nThreshold, otherwise it is set to sourcePixel.
584 * 
585 * For common parameter descriptions, see \ref CommonThresholdParameters.
586 *
587 */
588NppStatus nppiThreshold_16u_AC4IR(Npp16u * pSrcDst, int nSrcDstStep, 
589                                  NppiSize oSizeROI, 
590                                  const Npp16u rThresholds[3], NppCmpOp eComparisonOperation);
591
592/** 
593 * 4 channel 16-bit signed short image threshold, not affecting Alpha.
594 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
595 * value is set to nThreshold, otherwise it is set to sourcePixel.
596 * 
597 * For common parameter descriptions, see \ref CommonThresholdParameters.
598 *
599 */
600NppStatus nppiThreshold_16s_AC4R_Ctx(const Npp16s * pSrc, int nSrcStep,
601                                           Npp16s * pDst, int nDstStep, 
602                                     NppiSize oSizeROI, 
603                                     const Npp16s rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
604/** 
605 * 4 channel 16-bit signed short image threshold, not affecting Alpha.
606 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
607 * value is set to nThreshold, otherwise it is set to sourcePixel.
608 * 
609 * For common parameter descriptions, see \ref CommonThresholdParameters.
610 *
611 */
612NppStatus nppiThreshold_16s_AC4R(const Npp16s * pSrc, int nSrcStep,
613                                       Npp16s * pDst, int nDstStep, 
614                                 NppiSize oSizeROI, 
615                                 const Npp16s rThresholds[3], NppCmpOp eComparisonOperation);
616
617/** 
618 * 4 channel 16-bit signed short in place image threshold, not affecting Alpha.
619 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
620 * value is set to nThreshold, otherwise it is set to sourcePixel.
621 * 
622 * For common parameter descriptions, see \ref CommonThresholdParameters.
623 *
624 */
625NppStatus nppiThreshold_16s_AC4IR_Ctx(Npp16s * pSrcDst, int nSrcDstStep, 
626                                      NppiSize oSizeROI, 
627                                      const Npp16s rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
628/** 
629 * 4 channel 16-bit signed short in place image threshold, not affecting Alpha.
630 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
631 * value is set to nThreshold, otherwise it is set to sourcePixel.
632 * 
633 * For common parameter descriptions, see \ref CommonThresholdParameters.
634 *
635 */
636NppStatus nppiThreshold_16s_AC4IR(Npp16s * pSrcDst, int nSrcDstStep, 
637                                  NppiSize oSizeROI, 
638                                  const Npp16s rThresholds[3], NppCmpOp eComparisonOperation);
639
640/** 
641 * 4 channel 32-bit floating point image threshold, not affecting Alpha.
642 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
643 * value is set to nThreshold, otherwise it is set to sourcePixel.
644 * 
645 * For common parameter descriptions, see \ref CommonThresholdParameters.
646 *
647 */
648NppStatus nppiThreshold_32f_AC4R_Ctx(const Npp32f * pSrc, int nSrcStep,
649                                           Npp32f * pDst, int nDstStep, 
650                                     NppiSize oSizeROI, 
651                                     const Npp32f rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
652/** 
653 * 4 channel 32-bit floating point image threshold, not affecting Alpha.
654 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
655 * value is set to nThreshold, otherwise it is set to sourcePixel.
656 * 
657 * For common parameter descriptions, see \ref CommonThresholdParameters.
658 *
659 */
660NppStatus nppiThreshold_32f_AC4R(const Npp32f * pSrc, int nSrcStep,
661                                       Npp32f * pDst, int nDstStep, 
662                                 NppiSize oSizeROI, 
663                                 const Npp32f rThresholds[3], NppCmpOp eComparisonOperation);
664
665/** 
666 * 4 channel 32-bit floating point in place image threshold, not affecting Alpha.
667 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
668 * value is set to nThreshold, otherwise it is set to sourcePixel.
669 * 
670 * For common parameter descriptions, see \ref CommonThresholdParameters.
671 *
672 */
673NppStatus nppiThreshold_32f_AC4IR_Ctx(Npp32f * pSrcDst, int nSrcDstStep, 
674                                      NppiSize oSizeROI, 
675                                      const Npp32f rThresholds[3], NppCmpOp eComparisonOperation, NppStreamContext nppStreamCtx);
676/** 
677 * 4 channel 32-bit floating point in place image threshold, not affecting Alpha.
678 * If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel
679 * value is set to nThreshold, otherwise it is set to sourcePixel.
680 * 
681 * For common parameter descriptions, see \ref CommonThresholdParameters.
682 *
683 */
684NppStatus nppiThreshold_32f_AC4IR(Npp32f * pSrcDst, int nSrcDstStep, 
685                                  NppiSize oSizeROI, 
686                                  const Npp32f rThresholds[3], NppCmpOp eComparisonOperation);
687
688/** @} image_threshold_operations */
689
690/** 
691 * \section image_threshold_greater_than_operations Threshold Greater Than Operations
692 * @defgroup image_threshold_greater_than_operations Threshold Greater Than Operations
693 * Threshold greater than image pixels.
694 *
695 * \subsection CommonThresholdGreaterThanParameters Common parameters for nppiThreshold_GT non-inplace and inplace functions:
696 *
697 * \param pSrcDst \ref in_place_image_pointer for inplace functions.
698 * \param nSrcDstStep \ref in_place_image_line_step for inplace functions.
699 * \param pSrc \ref source_image_pointer for non-inplace functions.
700 * \param nSrcStep \ref source_image_line_step for non-inplace functions.
701 * \param pDst \ref destination_image_pointer for non-inplace functions.
702 * \param nDstStep \ref destination_image_line_step for non-inplace functions.
703 * \param oSizeROI \ref roi_specification.
704 * \param nThreshold The threshold value.
705 * \param nppStreamCtx \ref application_managed_stream_context. 
706 * \return \ref image_data_error_codes, \ref roi_error_codes.
707 *
708 * @{
709 *
710 */
711
712/** 
713 * 1 channel 8-bit unsigned char threshold.
714 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
715 * to nThreshold, otherwise it is set to sourcePixel.
716 * 
717 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
718 *
719 */
720NppStatus nppiThreshold_GT_8u_C1R_Ctx(const Npp8u * pSrc, int nSrcStep,
721                                            Npp8u * pDst, int nDstStep, 
722                                      NppiSize oSizeROI, 
723                                      const Npp8u nThreshold, NppStreamContext nppStreamCtx); 
724/** 
725 * 1 channel 8-bit unsigned char threshold.
726 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
727 * to nThreshold, otherwise it is set to sourcePixel.
728 * 
729 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
730 *
731 */
732NppStatus nppiThreshold_GT_8u_C1R(const Npp8u * pSrc, int nSrcStep,
733                                        Npp8u * pDst, int nDstStep, 
734                                  NppiSize oSizeROI, 
735                                  const Npp8u nThreshold); 
736
737/** 
738 * 1 channel 8-bit unsigned char in place threshold.
739 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
740 * to nThreshold, otherwise it is set to sourcePixel.
741 * 
742 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
743 *
744 */
745NppStatus nppiThreshold_GT_8u_C1IR_Ctx(Npp8u * pSrcDst, int nSrcDstStep, 
746                                       NppiSize oSizeROI, 
747                                       const Npp8u nThreshold, NppStreamContext nppStreamCtx); 
748/** 
749 * 1 channel 8-bit unsigned char in place threshold.
750 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
751 * to nThreshold, otherwise it is set to sourcePixel.
752 * 
753 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
754 *
755 */
756NppStatus nppiThreshold_GT_8u_C1IR(Npp8u * pSrcDst, int nSrcDstStep, 
757                                   NppiSize oSizeROI, 
758                                   const Npp8u nThreshold); 
759
760/** 
761 * 1 channel 16-bit unsigned short threshold.
762 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
763 * to nThreshold, otherwise it is set to sourcePixel.
764 * 
765 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
766 *
767 */
768NppStatus nppiThreshold_GT_16u_C1R_Ctx(const Npp16u * pSrc, int nSrcStep,
769                                             Npp16u * pDst, int nDstStep, 
770                                       NppiSize oSizeROI, 
771                                       const Npp16u nThreshold, NppStreamContext nppStreamCtx); 
772/** 
773 * 1 channel 16-bit unsigned short threshold.
774 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
775 * to nThreshold, otherwise it is set to sourcePixel.
776 * 
777 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
778 *
779 */
780NppStatus nppiThreshold_GT_16u_C1R(const Npp16u * pSrc, int nSrcStep,
781                                         Npp16u * pDst, int nDstStep, 
782                                   NppiSize oSizeROI, 
783                                   const Npp16u nThreshold); 
784
785/** 
786 * 1 channel 16-bit unsigned short in place threshold.
787 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
788 * to nThreshold, otherwise it is set to sourcePixel.
789 * 
790 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
791 *
792 */
793NppStatus nppiThreshold_GT_16u_C1IR_Ctx(Npp16u * pSrcDst, int nSrcDstStep, 
794                                        NppiSize oSizeROI, 
795                                        const Npp16u nThreshold, NppStreamContext nppStreamCtx); 
796/** 
797 * 1 channel 16-bit unsigned short in place threshold.
798 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
799 * to nThreshold, otherwise it is set to sourcePixel.
800 * 
801 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
802 *
803 */
804NppStatus nppiThreshold_GT_16u_C1IR(Npp16u * pSrcDst, int nSrcDstStep, 
805                                    NppiSize oSizeROI, 
806                                    const Npp16u nThreshold); 
807
808/** 
809 * 1 channel 16-bit signed short threshold.
810 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
811 * to nThreshold, otherwise it is set to sourcePixel.
812 * 
813 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
814 *
815 */
816NppStatus nppiThreshold_GT_16s_C1R_Ctx(const Npp16s * pSrc, int nSrcStep,
817                                             Npp16s * pDst, int nDstStep, 
818                                       NppiSize oSizeROI, 
819                                       const Npp16s nThreshold, NppStreamContext nppStreamCtx); 
820/** 
821 * 1 channel 16-bit signed short threshold.
822 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
823 * to nThreshold, otherwise it is set to sourcePixel.
824 * 
825 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
826 *
827 */
828NppStatus nppiThreshold_GT_16s_C1R(const Npp16s * pSrc, int nSrcStep,
829                                         Npp16s * pDst, int nDstStep, 
830                                   NppiSize oSizeROI, 
831                                   const Npp16s nThreshold); 
832
833/** 
834 * 1 channel 16-bit signed short in place threshold.
835 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
836 * to nThreshold, otherwise it is set to sourcePixel.
837 * 
838 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
839 *
840 */
841NppStatus nppiThreshold_GT_16s_C1IR_Ctx(Npp16s * pSrcDst, int nSrcDstStep, 
842                                        NppiSize oSizeROI, 
843                                        const Npp16s nThreshold, NppStreamContext nppStreamCtx); 
844/** 
845 * 1 channel 16-bit signed short in place threshold.
846 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
847 * to nThreshold, otherwise it is set to sourcePixel.
848 * 
849 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
850 *
851 */
852NppStatus nppiThreshold_GT_16s_C1IR(Npp16s * pSrcDst, int nSrcDstStep, 
853                                    NppiSize oSizeROI, 
854                                    const Npp16s nThreshold); 
855
856/** 
857 * 1 channel 32-bit floating point threshold.
858 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
859 * to nThreshold, otherwise it is set to sourcePixel.
860 * 
861 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
862 *
863 */
864NppStatus nppiThreshold_GT_32f_C1R_Ctx(const Npp32f * pSrc, int nSrcStep,
865                                             Npp32f * pDst, int nDstStep, 
866                                       NppiSize oSizeROI, 
867                                       const Npp32f nThreshold, NppStreamContext nppStreamCtx); 
868/** 
869 * 1 channel 32-bit floating point threshold.
870 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
871 * to nThreshold, otherwise it is set to sourcePixel.
872 * 
873 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
874 *
875 */
876NppStatus nppiThreshold_GT_32f_C1R(const Npp32f * pSrc, int nSrcStep,
877                                         Npp32f * pDst, int nDstStep, 
878                                   NppiSize oSizeROI, 
879                                   const Npp32f nThreshold); 
880
881/** 
882 * 1 channel 32-bit floating point in place threshold.
883 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
884 * to nThreshold, otherwise it is set to sourcePixel.
885 * 
886 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
887 *
888 */
889NppStatus nppiThreshold_GT_32f_C1IR_Ctx(Npp32f * pSrcDst, int nSrcDstStep, 
890                                        NppiSize oSizeROI, 
891                                        const Npp32f nThreshold, NppStreamContext nppStreamCtx); 
892/** 
893 * 1 channel 32-bit floating point in place threshold.
894 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
895 * to nThreshold, otherwise it is set to sourcePixel.
896 * 
897 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
898 *
899 */
900NppStatus nppiThreshold_GT_32f_C1IR(Npp32f * pSrcDst, int nSrcDstStep, 
901                                    NppiSize oSizeROI, 
902                                    const Npp32f nThreshold); 
903
904/** 
905 * 3 channel 8-bit unsigned char threshold.
906 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
907 * to nThreshold, otherwise it is set to sourcePixel.
908 * 
909 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
910 *
911 */
912NppStatus nppiThreshold_GT_8u_C3R_Ctx(const Npp8u * pSrc, int nSrcStep,
913                                            Npp8u * pDst, int nDstStep, 
914                                      NppiSize oSizeROI, 
915                                      const Npp8u rThresholds[3], NppStreamContext nppStreamCtx); 
916/** 
917 * 3 channel 8-bit unsigned char threshold.
918 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
919 * to nThreshold, otherwise it is set to sourcePixel.
920 * 
921 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
922 *
923 */
924NppStatus nppiThreshold_GT_8u_C3R(const Npp8u * pSrc, int nSrcStep,
925                                        Npp8u * pDst, int nDstStep, 
926                                  NppiSize oSizeROI, 
927                                  const Npp8u rThresholds[3]); 
928
929/** 
930 * 3 channel 8-bit unsigned char in place threshold.
931 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
932 * to nThreshold, otherwise it is set to sourcePixel.
933 * 
934 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
935 *
936 */
937NppStatus nppiThreshold_GT_8u_C3IR_Ctx(Npp8u * pSrcDst, int nSrcDstStep, 
938                                       NppiSize oSizeROI, 
939                                       const Npp8u rThresholds[3], NppStreamContext nppStreamCtx); 
940/** 
941 * 3 channel 8-bit unsigned char in place threshold.
942 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
943 * to nThreshold, otherwise it is set to sourcePixel.
944 * 
945 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
946 *
947 */
948NppStatus nppiThreshold_GT_8u_C3IR(Npp8u * pSrcDst, int nSrcDstStep, 
949                                   NppiSize oSizeROI, 
950                                   const Npp8u rThresholds[3]); 
951
952/** 
953 * 3 channel 16-bit unsigned short threshold.
954 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
955 * to nThreshold, otherwise it is set to sourcePixel.
956 * 
957 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
958 *
959 */
960NppStatus nppiThreshold_GT_16u_C3R_Ctx(const Npp16u * pSrc, int nSrcStep,
961                                             Npp16u * pDst, int nDstStep, 
962                                       NppiSize oSizeROI, 
963                                       const Npp16u rThresholds[3], NppStreamContext nppStreamCtx); 
964/** 
965 * 3 channel 16-bit unsigned short threshold.
966 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
967 * to nThreshold, otherwise it is set to sourcePixel.
968 * 
969 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
970 *
971 */
972NppStatus nppiThreshold_GT_16u_C3R(const Npp16u * pSrc, int nSrcStep,
973                                         Npp16u * pDst, int nDstStep, 
974                                   NppiSize oSizeROI, 
975                                   const Npp16u rThresholds[3]); 
976
977/** 
978 * 3 channel 16-bit unsigned short in place threshold.
979 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
980 * to nThreshold, otherwise it is set to sourcePixel.
981 * 
982 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
983 *
984 */
985NppStatus nppiThreshold_GT_16u_C3IR_Ctx(Npp16u * pSrcDst, int nSrcDstStep, 
986                                        NppiSize oSizeROI, 
987                                        const Npp16u rThresholds[3], NppStreamContext nppStreamCtx); 
988/** 
989 * 3 channel 16-bit unsigned short in place threshold.
990 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
991 * to nThreshold, otherwise it is set to sourcePixel.
992 * 
993 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
994 *
995 */
996NppStatus nppiThreshold_GT_16u_C3IR(Npp16u * pSrcDst, int nSrcDstStep, 
997                                    NppiSize oSizeROI, 
998                                    const Npp16u rThresholds[3]); 
999
1000/** 
1001 * 3 channel 16-bit signed short threshold.
1002 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1003 * to nThreshold, otherwise it is set to sourcePixel.
1004 * 
1005 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1006 *
1007 */
1008NppStatus nppiThreshold_GT_16s_C3R_Ctx(const Npp16s * pSrc, int nSrcStep,
1009                                             Npp16s * pDst, int nDstStep, 
1010                                       NppiSize oSizeROI, 
1011                                       const Npp16s rThresholds[3], NppStreamContext nppStreamCtx); 
1012/** 
1013 * 3 channel 16-bit signed short threshold.
1014 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1015 * to nThreshold, otherwise it is set to sourcePixel.
1016 * 
1017 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1018 *
1019 */
1020NppStatus nppiThreshold_GT_16s_C3R(const Npp16s * pSrc, int nSrcStep,
1021                                         Npp16s * pDst, int nDstStep, 
1022                                   NppiSize oSizeROI, 
1023                                   const Npp16s rThresholds[3]); 
1024
1025/** 
1026 * 3 channel 16-bit signed short in place threshold.
1027 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1028 * to nThreshold, otherwise it is set to sourcePixel.
1029 * 
1030 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1031 *
1032 */
1033NppStatus nppiThreshold_GT_16s_C3IR_Ctx(Npp16s * pSrcDst, int nSrcDstStep, 
1034                                        NppiSize oSizeROI, 
1035                                        const Npp16s rThresholds[3], NppStreamContext nppStreamCtx); 
1036/** 
1037 * 3 channel 16-bit signed short in place threshold.
1038 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1039 * to nThreshold, otherwise it is set to sourcePixel.
1040 * 
1041 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1042 *
1043 */
1044NppStatus nppiThreshold_GT_16s_C3IR(Npp16s * pSrcDst, int nSrcDstStep, 
1045                                    NppiSize oSizeROI, 
1046                                    const Npp16s rThresholds[3]); 
1047
1048/** 
1049 * 3 channel 32-bit floating point threshold.
1050 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1051 * to nThreshold, otherwise it is set to sourcePixel.
1052 * 
1053 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1054 *
1055 */
1056NppStatus nppiThreshold_GT_32f_C3R_Ctx(const Npp32f * pSrc, int nSrcStep,
1057                                             Npp32f * pDst, int nDstStep, 
1058                                       NppiSize oSizeROI, 
1059                                       const Npp32f rThresholds[3], NppStreamContext nppStreamCtx); 
1060/** 
1061 * 3 channel 32-bit floating point threshold.
1062 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1063 * to nThreshold, otherwise it is set to sourcePixel.
1064 * 
1065 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1066 *
1067 */
1068NppStatus nppiThreshold_GT_32f_C3R(const Npp32f * pSrc, int nSrcStep,
1069                                         Npp32f * pDst, int nDstStep, 
1070                                   NppiSize oSizeROI, 
1071                                   const Npp32f rThresholds[3]); 
1072
1073/** 
1074 * 3 channel 32-bit floating point in place threshold.
1075 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1076 * to nThreshold, otherwise it is set to sourcePixel.
1077 * 
1078 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1079 *
1080 */
1081NppStatus nppiThreshold_GT_32f_C3IR_Ctx(Npp32f * pSrcDst, int nSrcDstStep, 
1082                                        NppiSize oSizeROI, 
1083                                        const Npp32f rThresholds[3], NppStreamContext nppStreamCtx); 
1084/** 
1085 * 3 channel 32-bit floating point in place threshold.
1086 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1087 * to nThreshold, otherwise it is set to sourcePixel.
1088 * 
1089 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1090 *
1091 */
1092NppStatus nppiThreshold_GT_32f_C3IR(Npp32f * pSrcDst, int nSrcDstStep, 
1093                                    NppiSize oSizeROI, 
1094                                    const Npp32f rThresholds[3]); 
1095
1096/** 
1097 * 4 channel 8-bit unsigned char image threshold, not affecting Alpha.
1098 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1099 * value is set to nThreshold, otherwise it is set to sourcePixel.
1100 * 
1101 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1102 *
1103 */
1104NppStatus nppiThreshold_GT_8u_AC4R_Ctx(const Npp8u * pSrc, int nSrcStep,
1105                                             Npp8u * pDst, int nDstStep, 
1106                                       NppiSize oSizeROI, 
1107                                       const Npp8u rThresholds[3], NppStreamContext nppStreamCtx);
1108/** 
1109 * 4 channel 8-bit unsigned char image threshold, not affecting Alpha.
1110 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1111 * value is set to nThreshold, otherwise it is set to sourcePixel.
1112 * 
1113 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1114 *
1115 */
1116NppStatus nppiThreshold_GT_8u_AC4R(const Npp8u * pSrc, int nSrcStep,
1117                                         Npp8u * pDst, int nDstStep, 
1118                                   NppiSize oSizeROI, 
1119                                   const Npp8u rThresholds[3]);
1120
1121/** 
1122 * 4 channel 8-bit unsigned char in place image threshold, not affecting Alpha.
1123 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1124 * value is set to nThreshold, otherwise it is set to sourcePixel.
1125 * 
1126 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1127 *
1128 */
1129NppStatus nppiThreshold_GT_8u_AC4IR_Ctx(Npp8u * pSrcDst, int nSrcDstStep, 
1130                                        NppiSize oSizeROI, 
1131                                        const Npp8u rThresholds[3], NppStreamContext nppStreamCtx);
1132/** 
1133 * 4 channel 8-bit unsigned char in place image threshold, not affecting Alpha.
1134 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1135 * value is set to nThreshold, otherwise it is set to sourcePixel.
1136 * 
1137 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1138 *
1139 */
1140NppStatus nppiThreshold_GT_8u_AC4IR(Npp8u * pSrcDst, int nSrcDstStep, 
1141                                    NppiSize oSizeROI, 
1142                                    const Npp8u rThresholds[3]);
1143
1144/** 
1145 * 4 channel 16-bit unsigned short image threshold, not affecting Alpha.
1146 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1147 * value is set to nThreshold, otherwise it is set to sourcePixel.
1148 * 
1149 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1150 *
1151 */
1152NppStatus nppiThreshold_GT_16u_AC4R_Ctx(const Npp16u * pSrc, int nSrcStep,
1153                                              Npp16u * pDst, int nDstStep, 
1154                                        NppiSize oSizeROI, 
1155                                        const Npp16u rThresholds[3], NppStreamContext nppStreamCtx);
1156/** 
1157 * 4 channel 16-bit unsigned short image threshold, not affecting Alpha.
1158 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1159 * value is set to nThreshold, otherwise it is set to sourcePixel.
1160 * 
1161 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1162 *
1163 */
1164NppStatus nppiThreshold_GT_16u_AC4R(const Npp16u * pSrc, int nSrcStep,
1165                                          Npp16u * pDst, int nDstStep, 
1166                                    NppiSize oSizeROI, 
1167                                    const Npp16u rThresholds[3]);
1168
1169/** 
1170 * 4 channel 16-bit unsigned short in place image threshold, not affecting Alpha.
1171 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1172 * value is set to nThreshold, otherwise it is set to sourcePixel.
1173 * 
1174 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1175 *
1176 */
1177NppStatus nppiThreshold_GT_16u_AC4IR_Ctx(Npp16u * pSrcDst, int nSrcDstStep, 
1178                                         NppiSize oSizeROI, 
1179                                         const Npp16u rThresholds[3], NppStreamContext nppStreamCtx);
1180/** 
1181 * 4 channel 16-bit unsigned short in place image threshold, not affecting Alpha.
1182 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1183 * value is set to nThreshold, otherwise it is set to sourcePixel.
1184 * 
1185 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1186 *
1187 */
1188NppStatus nppiThreshold_GT_16u_AC4IR(Npp16u * pSrcDst, int nSrcDstStep, 
1189                                     NppiSize oSizeROI, 
1190                                     const Npp16u rThresholds[3]);
1191
1192/** 
1193 * 4 channel 16-bit signed short image threshold, not affecting Alpha.
1194 * If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set
1195 * value is set to nThreshold, otherwise it is set to sourcePixel.
1196 * 
1197 * For common parameter descriptions, see \ref CommonThresholdGreaterThanParameters.
1198 *
1199 */
1200NppStatus nppiThreshold_GT_16s_AC4R_Ctx(const Npp16s * pSrc, int nSrcStep,

Showing the first 1,200 of 5416 lines. Download the file for the rest.

codekingpro/portable-devtools · Team Ai