00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00024
00025 #include <qvipp/macros.h>
00026 #include <qvipp/qvippfunctions.h>
00027
00028
00029 void Convert(
00030 const QVImage<uChar, 1> & qvimage_pSrc,
00031 QVImage<uShort, 1> & qvimage_pDst,
00032 const QPoint &destROIOffset)
00033 {
00034 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00035
00036 IPP_DEBUG(Convert, ippiConvert_8u16u_C1R,
00037 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00038 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00039 IMAGE_ROISIZE(qvimage_pDst));
00040 }
00041
00042
00043 void Convert(
00044 const QVImage<uChar, 1> & qvimage_pSrc,
00045 QVImage<sShort, 1> & qvimage_pDst,
00046 const QPoint &destROIOffset)
00047 {
00048 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00049
00050 IPP_DEBUG(Convert, ippiConvert_8u16s_C1R,
00051 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00052 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00053 IMAGE_ROISIZE(qvimage_pDst));
00054 }
00055
00056
00057 void Convert(
00058 const QVImage<uChar, 1> & qvimage_pSrc,
00059 QVImage<sInt, 1> & qvimage_pDst,
00060 const QPoint &destROIOffset)
00061 {
00062 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00063
00064 IPP_DEBUG(Convert, ippiConvert_8u32s_C1R,
00065 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00066 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00067 IMAGE_ROISIZE(qvimage_pDst));
00068 }
00069
00070
00071 void Convert(
00072 const QVImage<uChar, 1> & qvimage_pSrc,
00073 QVImage<sFloat, 1> & qvimage_pDst,
00074 const QPoint &destROIOffset)
00075 {
00076 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00077
00078 IPP_DEBUG(Convert, ippiConvert_8u32f_C1R,
00079 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00080 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00081 IMAGE_ROISIZE(qvimage_pDst));
00082 }
00083
00084
00085 void Convert(
00086 const QVImage<uChar, 3> & qvimage_pSrc,
00087 QVImage<uShort, 3> & qvimage_pDst,
00088 const QPoint &destROIOffset)
00089 {
00090 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00091
00092 IPP_DEBUG(Convert, ippiConvert_8u16u_C3R,
00093 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00094 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00095 IMAGE_ROISIZE(qvimage_pDst));
00096 }
00097
00098
00099 void Convert(
00100 const QVImage<uChar, 3> & qvimage_pSrc,
00101 QVImage<sShort, 3> & qvimage_pDst,
00102 const QPoint &destROIOffset)
00103 {
00104 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00105
00106 IPP_DEBUG(Convert, ippiConvert_8u16s_C3R,
00107 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00108 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00109 IMAGE_ROISIZE(qvimage_pDst));
00110 }
00111
00112
00113 void Convert(
00114 const QVImage<uChar, 3> & qvimage_pSrc,
00115 QVImage<sInt, 3> & qvimage_pDst,
00116 const QPoint &destROIOffset)
00117 {
00118 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00119
00120 IPP_DEBUG(Convert, ippiConvert_8u32s_C3R,
00121 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00122 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00123 IMAGE_ROISIZE(qvimage_pDst));
00124 }
00125
00126
00127 void Convert(
00128 const QVImage<uChar, 3> & qvimage_pSrc,
00129 QVImage<sFloat, 3> & qvimage_pDst,
00130 const QPoint &destROIOffset)
00131 {
00132 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00133
00134 IPP_DEBUG(Convert, ippiConvert_8u32f_C3R,
00135 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00136 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00137 IMAGE_ROISIZE(qvimage_pDst));
00138 }
00139
00140
00141 void Convert(
00142 const QVImage<uShort, 1> & qvimage_pSrc,
00143 QVImage<uChar, 1> & qvimage_pDst,
00144 const QPoint &destROIOffset)
00145 {
00146 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00147
00148 IPP_DEBUG(Convert, ippiConvert_16u8u_C1R,
00149 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00150 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00151 IMAGE_ROISIZE(qvimage_pDst));
00152 }
00153
00154
00155 void Convert(
00156 const QVImage<uShort, 1> & qvimage_pSrc,
00157 QVImage<sInt, 1> & qvimage_pDst,
00158 const QPoint &destROIOffset)
00159 {
00160 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00161
00162 IPP_DEBUG(Convert, ippiConvert_16u32s_C1R,
00163 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00164 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00165 IMAGE_ROISIZE(qvimage_pDst));
00166 }
00167
00168
00169 void Convert(
00170 const QVImage<uShort, 1> & qvimage_pSrc,
00171 QVImage<sFloat, 1> & qvimage_pDst,
00172 const QPoint &destROIOffset)
00173 {
00174 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00175
00176 IPP_DEBUG(Convert, ippiConvert_16u32f_C1R,
00177 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00178 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00179 IMAGE_ROISIZE(qvimage_pDst));
00180 }
00181
00182
00183 void Convert(
00184 const QVImage<uShort, 3> & qvimage_pSrc,
00185 QVImage<uChar, 3> & qvimage_pDst,
00186 const QPoint &destROIOffset)
00187 {
00188 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00189
00190 IPP_DEBUG(Convert, ippiConvert_16u8u_C3R,
00191 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00192 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00193 IMAGE_ROISIZE(qvimage_pDst));
00194 }
00195
00196
00197 void Convert(
00198 const QVImage<uShort, 3> & qvimage_pSrc,
00199 QVImage<sInt, 3> & qvimage_pDst,
00200 const QPoint &destROIOffset)
00201 {
00202 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00203
00204 IPP_DEBUG(Convert, ippiConvert_16u32s_C3R,
00205 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00206 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00207 IMAGE_ROISIZE(qvimage_pDst));
00208 }
00209
00210
00211 void Convert(
00212 const QVImage<uShort, 3> & qvimage_pSrc,
00213 QVImage<sFloat, 3> & qvimage_pDst,
00214 const QPoint &destROIOffset)
00215 {
00216 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00217
00218 IPP_DEBUG(Convert, ippiConvert_16u32f_C3R,
00219 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00220 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00221 IMAGE_ROISIZE(qvimage_pDst));
00222 }
00223
00224
00225 void Convert(
00226 const QVImage<sShort, 1> & qvimage_pSrc,
00227 QVImage<uChar, 1> & qvimage_pDst,
00228 const QPoint &destROIOffset)
00229 {
00230 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00231
00232 IPP_DEBUG(Convert, ippiConvert_16s8u_C1R,
00233 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00234 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00235 IMAGE_ROISIZE(qvimage_pDst));
00236 }
00237
00238
00239 void Convert(
00240 const QVImage<sShort, 1> & qvimage_pSrc,
00241 QVImage<sInt, 1> & qvimage_pDst,
00242 const QPoint &destROIOffset)
00243 {
00244 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00245
00246 IPP_DEBUG(Convert, ippiConvert_16s32s_C1R,
00247 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00248 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00249 IMAGE_ROISIZE(qvimage_pDst));
00250 }
00251
00252
00253 void Convert(
00254 const QVImage<sShort, 1> & qvimage_pSrc,
00255 QVImage<sFloat, 1> & qvimage_pDst,
00256 const QPoint &destROIOffset)
00257 {
00258 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00259
00260 IPP_DEBUG(Convert, ippiConvert_16s32f_C1R,
00261 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00262 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00263 IMAGE_ROISIZE(qvimage_pDst));
00264 }
00265
00266
00267 void Convert(
00268 const QVImage<sShort, 3> & qvimage_pSrc,
00269 QVImage<uChar, 3> & qvimage_pDst,
00270 const QPoint &destROIOffset)
00271 {
00272 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00273
00274 IPP_DEBUG(Convert, ippiConvert_16s8u_C3R,
00275 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00276 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00277 IMAGE_ROISIZE(qvimage_pDst));
00278 }
00279
00280
00281 void Convert(
00282 const QVImage<sShort, 3> & qvimage_pSrc,
00283 QVImage<sInt, 3> & qvimage_pDst,
00284 const QPoint &destROIOffset)
00285 {
00286 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00287
00288 IPP_DEBUG(Convert, ippiConvert_16s32s_C3R,
00289 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00290 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00291 IMAGE_ROISIZE(qvimage_pDst));
00292 }
00293
00294
00295 void Convert(
00296 const QVImage<sShort, 3> & qvimage_pSrc,
00297 QVImage<sFloat, 3> & qvimage_pDst,
00298 const QPoint &destROIOffset)
00299 {
00300 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00301
00302 IPP_DEBUG(Convert, ippiConvert_16s32f_C3R,
00303 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00304 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00305 IMAGE_ROISIZE(qvimage_pDst));
00306 }
00307
00308
00309 void Convert(
00310 const QVImage<sInt, 1> & qvimage_pSrc,
00311 QVImage<uChar, 1> & qvimage_pDst,
00312 const QPoint &destROIOffset)
00313 {
00314 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00315
00316 IPP_DEBUG(Convert, ippiConvert_32s8u_C1R,
00317 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00318 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00319 IMAGE_ROISIZE(qvimage_pDst));
00320 }
00321
00322
00323 void Convert(
00324 const QVImage<sInt, 3> & qvimage_pSrc,
00325 QVImage<uChar, 3> & qvimage_pDst,
00326 const QPoint &destROIOffset)
00327 {
00328 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00329
00330 IPP_DEBUG(Convert, ippiConvert_32s8u_C3R,
00331 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00332 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00333 IMAGE_ROISIZE(qvimage_pDst));
00334 }
00335
00336
00337 void Convert(
00338 const QVImage<sFloat, 1> & qvimage_pSrc,
00339 QVImage<uChar, 1> & qvimage_pDst,
00340 const IppRoundMode roundMode,
00341 const QPoint &destROIOffset)
00342 {
00343 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00344
00345 IPP_DEBUG(Convert, ippiConvert_32f8u_C1R,
00346 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00347 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00348 IMAGE_ROISIZE(qvimage_pDst),
00349 roundMode);
00350 }
00351
00352
00353 void Convert(
00354 const QVImage<sFloat, 1> & qvimage_pSrc,
00355 QVImage<uShort, 1> & qvimage_pDst,
00356 const IppRoundMode roundMode,
00357 const QPoint &destROIOffset)
00358 {
00359 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00360
00361 IPP_DEBUG(Convert, ippiConvert_32f16u_C1R,
00362 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00363 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00364 IMAGE_ROISIZE(qvimage_pDst),
00365 roundMode);
00366 }
00367
00368
00369 void Convert(
00370 const QVImage<sFloat, 1> & qvimage_pSrc,
00371 QVImage<sShort, 1> & qvimage_pDst,
00372 const IppRoundMode roundMode,
00373 const QPoint &destROIOffset)
00374 {
00375 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00376
00377 IPP_DEBUG(Convert, ippiConvert_32f16s_C1R,
00378 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00379 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00380 IMAGE_ROISIZE(qvimage_pDst),
00381 roundMode);
00382 }
00383
00384
00385 void Convert(
00386 const QVImage<sFloat, 3> & qvimage_pSrc,
00387 QVImage<uChar, 3> & qvimage_pDst,
00388 const IppRoundMode roundMode,
00389 const QPoint &destROIOffset)
00390 {
00391 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00392
00393 IPP_DEBUG(Convert, ippiConvert_32f8u_C3R,
00394 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00395 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00396 IMAGE_ROISIZE(qvimage_pDst),
00397 roundMode);
00398 }
00399
00400
00401 void Convert(
00402 const QVImage<sFloat, 3> & qvimage_pSrc,
00403 QVImage<uShort, 3> & qvimage_pDst,
00404 const IppRoundMode roundMode,
00405 const QPoint &destROIOffset)
00406 {
00407 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00408
00409 IPP_DEBUG(Convert, ippiConvert_32f16u_C3R,
00410 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00411 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00412 IMAGE_ROISIZE(qvimage_pDst),
00413 roundMode);
00414 }
00415
00416
00417 void Convert(
00418 const QVImage<sFloat, 3> & qvimage_pSrc,
00419 QVImage<sShort, 3> & qvimage_pDst,
00420 const IppRoundMode roundMode,
00421 const QPoint &destROIOffset)
00422 {
00423 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00424
00425 IPP_DEBUG(Convert, ippiConvert_32f16s_C3R,
00426 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00427 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00428 IMAGE_ROISIZE(qvimage_pDst),
00429 roundMode);
00430 }
00431
00432
00433 void Scale(
00434 const QVImage<uChar, 1> & qvimage_pSrc,
00435 QVImage<uShort, 1> & qvimage_pDst,
00436 const QPoint &destROIOffset)
00437 {
00438 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00439
00440 IPP_DEBUG(Scale, ippiScale_8u16u_C1R,
00441 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00442 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00443 IMAGE_ROISIZE(qvimage_pDst));
00444 }
00445
00446
00447 void Scale(
00448 const QVImage<uChar, 1> & qvimage_pSrc,
00449 QVImage<sShort, 1> & qvimage_pDst,
00450 const QPoint &destROIOffset)
00451 {
00452 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00453
00454 IPP_DEBUG(Scale, ippiScale_8u16s_C1R,
00455 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00456 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00457 IMAGE_ROISIZE(qvimage_pDst));
00458 }
00459
00460
00461 void Scale(
00462 const QVImage<uChar, 1> & qvimage_pSrc,
00463 QVImage<sInt, 1> & qvimage_pDst,
00464 const QPoint &destROIOffset)
00465 {
00466 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00467
00468 IPP_DEBUG(Scale, ippiScale_8u32s_C1R,
00469 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00470 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00471 IMAGE_ROISIZE(qvimage_pDst));
00472 }
00473
00474
00475 void Scale(
00476 const QVImage<uChar, 3> & qvimage_pSrc,
00477 QVImage<uShort, 3> & qvimage_pDst,
00478 const QPoint &destROIOffset)
00479 {
00480 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00481
00482 IPP_DEBUG(Scale, ippiScale_8u16u_C3R,
00483 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00484 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00485 IMAGE_ROISIZE(qvimage_pDst));
00486 }
00487
00488
00489 void Scale(
00490 const QVImage<uChar, 3> & qvimage_pSrc,
00491 QVImage<sShort, 3> & qvimage_pDst,
00492 const QPoint &destROIOffset)
00493 {
00494 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00495
00496 IPP_DEBUG(Scale, ippiScale_8u16s_C3R,
00497 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00498 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00499 IMAGE_ROISIZE(qvimage_pDst));
00500 }
00501
00502
00503 void Scale(
00504 const QVImage<uChar, 3> & qvimage_pSrc,
00505 QVImage<sInt, 3> & qvimage_pDst,
00506 const QPoint &destROIOffset)
00507 {
00508 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00509
00510 IPP_DEBUG(Scale, ippiScale_8u32s_C3R,
00511 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00512 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00513 IMAGE_ROISIZE(qvimage_pDst));
00514 }
00515
00516
00517 void Set(
00518 const uChar value,
00519 QVImage<uChar, 1> & qvimage_pDst)
00520 {
00521 IPP_DEBUG(Set, ippiSet_8u_C1R,
00522 value,
00523 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00524 IMAGE_ROISIZE(qvimage_pDst));
00525 }
00526
00527
00528 void Set(
00529 const uShort value,
00530 QVImage<uShort, 1> & qvimage_pDst)
00531 {
00532 IPP_DEBUG(Set, ippiSet_16u_C1R,
00533 value,
00534 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00535 IMAGE_ROISIZE(qvimage_pDst));
00536 }
00537
00538
00539 void Set(
00540 const sShort value,
00541 QVImage<sShort, 1> & qvimage_pDst)
00542 {
00543 IPP_DEBUG(Set, ippiSet_16s_C1R,
00544 value,
00545 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00546 IMAGE_ROISIZE(qvimage_pDst));
00547 }
00548
00549
00550 void Set(
00551 const sInt value,
00552 QVImage<sInt, 1> & qvimage_pDst)
00553 {
00554 IPP_DEBUG(Set, ippiSet_32s_C1R,
00555 value,
00556 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00557 IMAGE_ROISIZE(qvimage_pDst));
00558 }
00559
00560
00561 void Set(
00562 const sFloat value,
00563 QVImage<sFloat, 1> & qvimage_pDst)
00564 {
00565 IPP_DEBUG(Set, ippiSet_32f_C1R,
00566 value,
00567 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00568 IMAGE_ROISIZE(qvimage_pDst));
00569 }
00570
00571
00572 void Set(
00573 const uChar value[3],
00574 QVImage<uChar, 3> & qvimage_pDst)
00575 {
00576 IPP_DEBUG(Set, ippiSet_8u_C3R,
00577 value,
00578 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00579 IMAGE_ROISIZE(qvimage_pDst));
00580 }
00581
00582
00583 void Set(
00584 const uShort value[3],
00585 QVImage<uShort, 3> & qvimage_pDst)
00586 {
00587 IPP_DEBUG(Set, ippiSet_16u_C3R,
00588 value,
00589 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00590 IMAGE_ROISIZE(qvimage_pDst));
00591 }
00592
00593
00594 void Set(
00595 const sShort value[3],
00596 QVImage<sShort, 3> & qvimage_pDst)
00597 {
00598 IPP_DEBUG(Set, ippiSet_16s_C3R,
00599 value,
00600 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00601 IMAGE_ROISIZE(qvimage_pDst));
00602 }
00603
00604
00605 void Set(
00606 const sInt value[3],
00607 QVImage<sInt, 3> & qvimage_pDst)
00608 {
00609 IPP_DEBUG(Set, ippiSet_32s_C3R,
00610 value,
00611 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00612 IMAGE_ROISIZE(qvimage_pDst));
00613 }
00614
00615
00616 void Set(
00617 const sFloat value[3],
00618 QVImage<sFloat, 3> & qvimage_pDst)
00619 {
00620 IPP_DEBUG(Set, ippiSet_32f_C3R,
00621 value,
00622 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00623 IMAGE_ROISIZE(qvimage_pDst));
00624 }
00625
00626
00627 void Copy(
00628 const QVImage<uChar, 1> & qvimage_pSrc,
00629 QVImage<uChar, 1> & qvimage_pDst,
00630 const QPoint &destROIOffset)
00631 {
00632 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00633
00634 IPP_DEBUG(Copy, ippiCopy_8u_C1R,
00635 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00636 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00637 IMAGE_ROISIZE(qvimage_pDst));
00638 }
00639
00640
00641 void Copy(
00642 const QVImage<uChar, 3> & qvimage_pSrc,
00643 QVImage<uChar, 3> & qvimage_pDst,
00644 const QPoint &destROIOffset)
00645 {
00646 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00647
00648 IPP_DEBUG(Copy, ippiCopy_8u_C3R,
00649 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00650 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00651 IMAGE_ROISIZE(qvimage_pDst));
00652 }
00653
00654
00655 void Copy(
00656 const QVImage<uShort, 1> & qvimage_pSrc,
00657 QVImage<uShort, 1> & qvimage_pDst,
00658 const QPoint &destROIOffset)
00659 {
00660 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00661
00662 IPP_DEBUG(Copy, ippiCopy_16u_C1R,
00663 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00664 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00665 IMAGE_ROISIZE(qvimage_pDst));
00666 }
00667
00668
00669 void Copy(
00670 const QVImage<uShort, 3> & qvimage_pSrc,
00671 QVImage<uShort, 3> & qvimage_pDst,
00672 const QPoint &destROIOffset)
00673 {
00674 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00675
00676 IPP_DEBUG(Copy, ippiCopy_16u_C3R,
00677 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00678 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00679 IMAGE_ROISIZE(qvimage_pDst));
00680 }
00681
00682
00683 void Copy(
00684 const QVImage<sShort, 1> & qvimage_pSrc,
00685 QVImage<sShort, 1> & qvimage_pDst,
00686 const QPoint &destROIOffset)
00687 {
00688 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00689
00690 IPP_DEBUG(Copy, ippiCopy_16s_C1R,
00691 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00692 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00693 IMAGE_ROISIZE(qvimage_pDst));
00694 }
00695
00696
00697 void Copy(
00698 const QVImage<sShort, 3> & qvimage_pSrc,
00699 QVImage<sShort, 3> & qvimage_pDst,
00700 const QPoint &destROIOffset)
00701 {
00702 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00703
00704 IPP_DEBUG(Copy, ippiCopy_16s_C3R,
00705 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00706 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00707 IMAGE_ROISIZE(qvimage_pDst));
00708 }
00709
00710
00711 void Copy(
00712 const QVImage<sInt, 1> & qvimage_pSrc,
00713 QVImage<sInt, 1> & qvimage_pDst,
00714 const QPoint &destROIOffset)
00715 {
00716 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00717
00718 IPP_DEBUG(Copy, ippiCopy_32s_C1R,
00719 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00720 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00721 IMAGE_ROISIZE(qvimage_pDst));
00722 }
00723
00724
00725 void Copy(
00726 const QVImage<sInt, 3> & qvimage_pSrc,
00727 QVImage<sInt, 3> & qvimage_pDst,
00728 const QPoint &destROIOffset)
00729 {
00730 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00731
00732 IPP_DEBUG(Copy, ippiCopy_32s_C3R,
00733 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00734 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00735 IMAGE_ROISIZE(qvimage_pDst));
00736 }
00737
00738
00739 void Copy(
00740 const QVImage<sFloat, 1> & qvimage_pSrc,
00741 QVImage<sFloat, 1> & qvimage_pDst,
00742 const QPoint &destROIOffset)
00743 {
00744 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00745
00746 IPP_DEBUG(Copy, ippiCopy_32f_C1R,
00747 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00748 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00749 IMAGE_ROISIZE(qvimage_pDst));
00750 }
00751
00752
00753 void Copy(
00754 const QVImage<sFloat, 3> & qvimage_pSrc,
00755 QVImage<sFloat, 3> & qvimage_pDst,
00756 const QPoint &destROIOffset)
00757 {
00758 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
00759
00760 IPP_DEBUG(Copy, ippiCopy_32f_C3R,
00761 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
00762 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00763 IMAGE_ROISIZE(qvimage_pDst));
00764 }
00765
00766
00767 void AddRandUniform_Direct(
00768 QVImage<uChar, 1> & qvimage_pSrcDst,
00769 const uChar low,
00770 const uChar high,
00771 unsigned int & pSeed)
00772 {
00773 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_8u_C1IR,
00774 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00775 IMAGE_ROISIZE(qvimage_pSrcDst),
00776 low,
00777 high,
00778 & pSeed);
00779 }
00780
00781
00782 void AddRandUniform_Direct(
00783 QVImage<uShort, 1> & qvimage_pSrcDst,
00784 const uShort low,
00785 const uShort high,
00786 unsigned int & pSeed)
00787 {
00788 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_16u_C1IR,
00789 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00790 IMAGE_ROISIZE(qvimage_pSrcDst),
00791 low,
00792 high,
00793 & pSeed);
00794 }
00795
00796
00797 void AddRandUniform_Direct(
00798 QVImage<sShort, 1> & qvimage_pSrcDst,
00799 const sShort low,
00800 const sShort high,
00801 unsigned int & pSeed)
00802 {
00803 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_16s_C1IR,
00804 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00805 IMAGE_ROISIZE(qvimage_pSrcDst),
00806 low,
00807 high,
00808 & pSeed);
00809 }
00810
00811
00812 void AddRandUniform_Direct(
00813 QVImage<sFloat, 1> & qvimage_pSrcDst,
00814 const sFloat low,
00815 const sFloat high,
00816 unsigned int & pSeed)
00817 {
00818 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_32f_C1IR,
00819 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00820 IMAGE_ROISIZE(qvimage_pSrcDst),
00821 low,
00822 high,
00823 & pSeed);
00824 }
00825
00826
00827 void AddRandUniform_Direct(
00828 QVImage<uChar, 3> & qvimage_pSrcDst,
00829 const uChar low,
00830 const uChar high,
00831 unsigned int & pSeed)
00832 {
00833 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_8u_C3IR,
00834 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00835 IMAGE_ROISIZE(qvimage_pSrcDst),
00836 low,
00837 high,
00838 & pSeed);
00839 }
00840
00841
00842 void AddRandUniform_Direct(
00843 QVImage<uShort, 3> & qvimage_pSrcDst,
00844 const uShort low,
00845 const uShort high,
00846 unsigned int & pSeed)
00847 {
00848 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_16u_C3IR,
00849 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00850 IMAGE_ROISIZE(qvimage_pSrcDst),
00851 low,
00852 high,
00853 & pSeed);
00854 }
00855
00856
00857 void AddRandUniform_Direct(
00858 QVImage<sShort, 3> & qvimage_pSrcDst,
00859 const sShort low,
00860 const sShort high,
00861 unsigned int & pSeed)
00862 {
00863 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_16s_C3IR,
00864 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00865 IMAGE_ROISIZE(qvimage_pSrcDst),
00866 low,
00867 high,
00868 & pSeed);
00869 }
00870
00871
00872 void AddRandUniform_Direct(
00873 QVImage<sFloat, 3> & qvimage_pSrcDst,
00874 const sFloat low,
00875 const sFloat high,
00876 unsigned int & pSeed)
00877 {
00878 IPP_DEBUG(AddRandUniform_Direct, ippiAddRandUniform_Direct_32f_C3IR,
00879 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
00880 IMAGE_ROISIZE(qvimage_pSrcDst),
00881 low,
00882 high,
00883 & pSeed);
00884 }
00885
00886
00887 void Add(
00888 const QVImage<uChar, 1> & qvimage_pSrc1,
00889 const QVImage<uChar, 1> & qvimage_pSrc2,
00890 QVImage<uChar, 1> & qvimage_pDst,
00891 const int scaleFactor,
00892 const QPoint &destROIOffset)
00893 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
00894
00895 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
00896
00897 IPP_DEBUG(Add, ippiAdd_8u_C1RSfs,
00898 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
00899 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
00900 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00901 IMAGE_ROISIZE(qvimage_pDst),
00902 scaleFactor);
00903 }
00904
00905
00906 void Add(
00907 const QVImage<uChar, 3> & qvimage_pSrc1,
00908 const QVImage<uChar, 3> & qvimage_pSrc2,
00909 QVImage<uChar, 3> & qvimage_pDst,
00910 const int scaleFactor,
00911 const QPoint &destROIOffset)
00912 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
00913
00914 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
00915
00916 IPP_DEBUG(Add, ippiAdd_8u_C3RSfs,
00917 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
00918 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
00919 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00920 IMAGE_ROISIZE(qvimage_pDst),
00921 scaleFactor);
00922 }
00923
00924
00925 void Add(
00926 const QVImage<uShort, 1> & qvimage_pSrc1,
00927 const QVImage<uShort, 1> & qvimage_pSrc2,
00928 QVImage<uShort, 1> & qvimage_pDst,
00929 const int scaleFactor,
00930 const QPoint &destROIOffset)
00931 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
00932
00933 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
00934
00935 IPP_DEBUG(Add, ippiAdd_16u_C1RSfs,
00936 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
00937 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
00938 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00939 IMAGE_ROISIZE(qvimage_pDst),
00940 scaleFactor);
00941 }
00942
00943
00944 void Add(
00945 const QVImage<uShort, 3> & qvimage_pSrc1,
00946 const QVImage<uShort, 3> & qvimage_pSrc2,
00947 QVImage<uShort, 3> & qvimage_pDst,
00948 const int scaleFactor,
00949 const QPoint &destROIOffset)
00950 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
00951
00952 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
00953
00954 IPP_DEBUG(Add, ippiAdd_16u_C3RSfs,
00955 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
00956 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
00957 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00958 IMAGE_ROISIZE(qvimage_pDst),
00959 scaleFactor);
00960 }
00961
00962
00963 void Add(
00964 const QVImage<sShort, 1> & qvimage_pSrc1,
00965 const QVImage<sShort, 1> & qvimage_pSrc2,
00966 QVImage<sShort, 1> & qvimage_pDst,
00967 const int scaleFactor,
00968 const QPoint &destROIOffset)
00969 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
00970
00971 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
00972
00973 IPP_DEBUG(Add, ippiAdd_16s_C1RSfs,
00974 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
00975 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
00976 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00977 IMAGE_ROISIZE(qvimage_pDst),
00978 scaleFactor);
00979 }
00980
00981
00982 void Add(
00983 const QVImage<sShort, 3> & qvimage_pSrc1,
00984 const QVImage<sShort, 3> & qvimage_pSrc2,
00985 QVImage<sShort, 3> & qvimage_pDst,
00986 const int scaleFactor,
00987 const QPoint &destROIOffset)
00988 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
00989
00990 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
00991
00992 IPP_DEBUG(Add, ippiAdd_16s_C3RSfs,
00993 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
00994 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
00995 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
00996 IMAGE_ROISIZE(qvimage_pDst),
00997 scaleFactor);
00998 }
00999
01000
01001 void Add(
01002 const QVImage<sFloat, 1> & qvimage_pSrc1,
01003 const QVImage<sFloat, 1> & qvimage_pSrc2,
01004 QVImage<sFloat, 1> & qvimage_pDst,
01005 const QPoint &destROIOffset)
01006 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01007
01008 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01009
01010 IPP_DEBUG(Add, ippiAdd_32f_C1R,
01011 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01012 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01013 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01014 IMAGE_ROISIZE(qvimage_pDst));
01015 }
01016
01017
01018 void Add(
01019 const QVImage<sFloat, 3> & qvimage_pSrc1,
01020 const QVImage<sFloat, 3> & qvimage_pSrc2,
01021 QVImage<sFloat, 3> & qvimage_pDst,
01022 const QPoint &destROIOffset)
01023 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01024
01025 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01026
01027 IPP_DEBUG(Add, ippiAdd_32f_C3R,
01028 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01029 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01030 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01031 IMAGE_ROISIZE(qvimage_pDst));
01032 }
01033
01034
01035 void AddC(
01036 const QVImage<uChar, 1> & qvimage_pSrc,
01037 const uChar value,
01038 QVImage<uChar, 1> & qvimage_pDst,
01039 const int scaleFactor,
01040 const QPoint &destROIOffset)
01041 {
01042 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01043
01044 IPP_DEBUG(AddC, ippiAddC_8u_C1RSfs,
01045 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01046 value,
01047 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01048 IMAGE_ROISIZE(qvimage_pDst),
01049 scaleFactor);
01050 }
01051
01052
01053 void AddC(
01054 const QVImage<uChar, 3> & qvimage_pSrc,
01055 const uChar value[3],
01056 QVImage<uChar, 3> & qvimage_pDst,
01057 const int scaleFactor,
01058 const QPoint &destROIOffset)
01059 {
01060 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01061
01062 IPP_DEBUG(AddC, ippiAddC_8u_C3RSfs,
01063 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01064 value,
01065 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01066 IMAGE_ROISIZE(qvimage_pDst),
01067 scaleFactor);
01068 }
01069
01070
01071 void AddC(
01072 const QVImage<uShort, 1> & qvimage_pSrc,
01073 const uShort value,
01074 QVImage<uShort, 1> & qvimage_pDst,
01075 const int scaleFactor,
01076 const QPoint &destROIOffset)
01077 {
01078 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01079
01080 IPP_DEBUG(AddC, ippiAddC_16u_C1RSfs,
01081 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01082 value,
01083 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01084 IMAGE_ROISIZE(qvimage_pDst),
01085 scaleFactor);
01086 }
01087
01088
01089 void AddC(
01090 const QVImage<uShort, 3> & qvimage_pSrc,
01091 const uShort value[3],
01092 QVImage<uShort, 3> & qvimage_pDst,
01093 const int scaleFactor,
01094 const QPoint &destROIOffset)
01095 {
01096 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01097
01098 IPP_DEBUG(AddC, ippiAddC_16u_C3RSfs,
01099 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01100 value,
01101 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01102 IMAGE_ROISIZE(qvimage_pDst),
01103 scaleFactor);
01104 }
01105
01106
01107 void AddC(
01108 const QVImage<sShort, 1> & qvimage_pSrc,
01109 const sShort value,
01110 QVImage<sShort, 1> & qvimage_pDst,
01111 const int scaleFactor,
01112 const QPoint &destROIOffset)
01113 {
01114 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01115
01116 IPP_DEBUG(AddC, ippiAddC_16s_C1RSfs,
01117 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01118 value,
01119 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01120 IMAGE_ROISIZE(qvimage_pDst),
01121 scaleFactor);
01122 }
01123
01124
01125 void AddC(
01126 const QVImage<sShort, 3> & qvimage_pSrc,
01127 const sShort value[3],
01128 QVImage<sShort, 3> & qvimage_pDst,
01129 const int scaleFactor,
01130 const QPoint &destROIOffset)
01131 {
01132 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01133
01134 IPP_DEBUG(AddC, ippiAddC_16s_C3RSfs,
01135 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01136 value,
01137 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01138 IMAGE_ROISIZE(qvimage_pDst),
01139 scaleFactor);
01140 }
01141
01142
01143 void AddC(
01144 const QVImage<sFloat, 1> & qvimage_pSrc,
01145 const sFloat value,
01146 QVImage<sFloat, 1> & qvimage_pDst,
01147 const QPoint &destROIOffset)
01148 {
01149 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01150
01151 IPP_DEBUG(AddC, ippiAddC_32f_C1R,
01152 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01153 value,
01154 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01155 IMAGE_ROISIZE(qvimage_pDst));
01156 }
01157
01158
01159 void AddC(
01160 const QVImage<sFloat, 3> & qvimage_pSrc,
01161 const sFloat value[3],
01162 QVImage<sFloat, 3> & qvimage_pDst,
01163 const QPoint &destROIOffset)
01164 {
01165 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01166
01167 IPP_DEBUG(AddC, ippiAddC_32f_C3R,
01168 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01169 value,
01170 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01171 IMAGE_ROISIZE(qvimage_pDst));
01172 }
01173
01174
01175 void Mul(
01176 const QVImage<uChar, 1> & qvimage_pSrc1,
01177 const QVImage<uChar, 1> & qvimage_pSrc2,
01178 QVImage<uChar, 1> & qvimage_pDst,
01179 const int scaleFactor,
01180 const QPoint &destROIOffset)
01181 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01182
01183 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01184
01185 IPP_DEBUG(Mul, ippiMul_8u_C1RSfs,
01186 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01187 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01188 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01189 IMAGE_ROISIZE(qvimage_pDst),
01190 scaleFactor);
01191 }
01192
01193
01194 void Mul(
01195 const QVImage<uChar, 3> & qvimage_pSrc1,
01196 const QVImage<uChar, 3> & qvimage_pSrc2,
01197 QVImage<uChar, 3> & qvimage_pDst,
01198 const int scaleFactor,
01199 const QPoint &destROIOffset)
01200 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01201
01202 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01203
01204 IPP_DEBUG(Mul, ippiMul_8u_C3RSfs,
01205 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01206 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01207 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01208 IMAGE_ROISIZE(qvimage_pDst),
01209 scaleFactor);
01210 }
01211
01212
01213 void Mul(
01214 const QVImage<uShort, 1> & qvimage_pSrc1,
01215 const QVImage<uShort, 1> & qvimage_pSrc2,
01216 QVImage<uShort, 1> & qvimage_pDst,
01217 const int scaleFactor,
01218 const QPoint &destROIOffset)
01219 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01220
01221 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01222
01223 IPP_DEBUG(Mul, ippiMul_16u_C1RSfs,
01224 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01225 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01226 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01227 IMAGE_ROISIZE(qvimage_pDst),
01228 scaleFactor);
01229 }
01230
01231
01232 void Mul(
01233 const QVImage<uShort, 3> & qvimage_pSrc1,
01234 const QVImage<uShort, 3> & qvimage_pSrc2,
01235 QVImage<uShort, 3> & qvimage_pDst,
01236 const int scaleFactor,
01237 const QPoint &destROIOffset)
01238 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01239
01240 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01241
01242 IPP_DEBUG(Mul, ippiMul_16u_C3RSfs,
01243 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01244 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01245 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01246 IMAGE_ROISIZE(qvimage_pDst),
01247 scaleFactor);
01248 }
01249
01250
01251 void Mul(
01252 const QVImage<sShort, 1> & qvimage_pSrc1,
01253 const QVImage<sShort, 1> & qvimage_pSrc2,
01254 QVImage<sShort, 1> & qvimage_pDst,
01255 const int scaleFactor,
01256 const QPoint &destROIOffset)
01257 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01258
01259 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01260
01261 IPP_DEBUG(Mul, ippiMul_16s_C1RSfs,
01262 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01263 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01264 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01265 IMAGE_ROISIZE(qvimage_pDst),
01266 scaleFactor);
01267 }
01268
01269
01270 void Mul(
01271 const QVImage<sShort, 3> & qvimage_pSrc1,
01272 const QVImage<sShort, 3> & qvimage_pSrc2,
01273 QVImage<sShort, 3> & qvimage_pDst,
01274 const int scaleFactor,
01275 const QPoint &destROIOffset)
01276 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01277
01278 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01279
01280 IPP_DEBUG(Mul, ippiMul_16s_C3RSfs,
01281 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01282 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01283 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01284 IMAGE_ROISIZE(qvimage_pDst),
01285 scaleFactor);
01286 }
01287
01288
01289 void Mul(
01290 const QVImage<sFloat, 3> & qvimage_pSrc1,
01291 const QVImage<sFloat, 3> & qvimage_pSrc2,
01292 QVImage<sFloat, 3> & qvimage_pDst,
01293 const QPoint &destROIOffset)
01294 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01295
01296 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01297
01298 IPP_DEBUG(Mul, ippiMul_32f_C3R,
01299 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01300 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01301 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01302 IMAGE_ROISIZE(qvimage_pDst));
01303 }
01304
01305
01306 void Mul(
01307 const QVImage<sFloat, 1> & qvimage_pSrc1,
01308 const QVImage<sFloat, 1> & qvimage_pSrc2,
01309 QVImage<sFloat, 1> & qvimage_pDst,
01310 const QPoint &destROIOffset)
01311 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01312
01313 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01314
01315 IPP_DEBUG(Mul, ippiMul_32f_C1R,
01316 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01317 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01318 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01319 IMAGE_ROISIZE(qvimage_pDst));
01320 }
01321
01322
01323 void MulC(
01324 const QVImage<uChar, 1> & qvimage_pSrc,
01325 const uChar value,
01326 QVImage<uChar, 1> & qvimage_pDst,
01327 const int scaleFactor,
01328 const QPoint &destROIOffset)
01329 {
01330 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01331
01332 IPP_DEBUG(MulC, ippiMulC_8u_C1RSfs,
01333 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01334 value,
01335 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01336 IMAGE_ROISIZE(qvimage_pDst),
01337 scaleFactor);
01338 }
01339
01340
01341 void MulC(
01342 const QVImage<uChar, 3> & qvimage_pSrc,
01343 const uChar value[3],
01344 QVImage<uChar, 3> & qvimage_pDst,
01345 const int scaleFactor,
01346 const QPoint &destROIOffset)
01347 {
01348 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01349
01350 IPP_DEBUG(MulC, ippiMulC_8u_C3RSfs,
01351 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01352 value,
01353 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01354 IMAGE_ROISIZE(qvimage_pDst),
01355 scaleFactor);
01356 }
01357
01358
01359 void MulC(
01360 const QVImage<uShort, 1> & qvimage_pSrc,
01361 const uShort value,
01362 QVImage<uShort, 1> & qvimage_pDst,
01363 const int scaleFactor,
01364 const QPoint &destROIOffset)
01365 {
01366 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01367
01368 IPP_DEBUG(MulC, ippiMulC_16u_C1RSfs,
01369 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01370 value,
01371 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01372 IMAGE_ROISIZE(qvimage_pDst),
01373 scaleFactor);
01374 }
01375
01376
01377 void MulC(
01378 const QVImage<uShort, 3> & qvimage_pSrc,
01379 const uShort value[3],
01380 QVImage<uShort, 3> & qvimage_pDst,
01381 const int scaleFactor,
01382 const QPoint &destROIOffset)
01383 {
01384 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01385
01386 IPP_DEBUG(MulC, ippiMulC_16u_C3RSfs,
01387 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01388 value,
01389 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01390 IMAGE_ROISIZE(qvimage_pDst),
01391 scaleFactor);
01392 }
01393
01394
01395 void MulC(
01396 const QVImage<sShort, 1> & qvimage_pSrc,
01397 const sShort value,
01398 QVImage<sShort, 1> & qvimage_pDst,
01399 const int scaleFactor,
01400 const QPoint &destROIOffset)
01401 {
01402 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01403
01404 IPP_DEBUG(MulC, ippiMulC_16s_C1RSfs,
01405 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01406 value,
01407 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01408 IMAGE_ROISIZE(qvimage_pDst),
01409 scaleFactor);
01410 }
01411
01412
01413 void MulC(
01414 const QVImage<sShort, 3> & qvimage_pSrc,
01415 const sShort value[3],
01416 QVImage<sShort, 3> & qvimage_pDst,
01417 const int scaleFactor,
01418 const QPoint &destROIOffset)
01419 {
01420 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01421
01422 IPP_DEBUG(MulC, ippiMulC_16s_C3RSfs,
01423 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01424 value,
01425 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01426 IMAGE_ROISIZE(qvimage_pDst),
01427 scaleFactor);
01428 }
01429
01430
01431 void MulC(
01432 const QVImage<sFloat, 1> & qvimage_pSrc,
01433 const sFloat value,
01434 QVImage<sFloat, 1> & qvimage_pDst,
01435 const QPoint &destROIOffset)
01436 {
01437 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01438
01439 IPP_DEBUG(MulC, ippiMulC_32f_C1R,
01440 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01441 value,
01442 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01443 IMAGE_ROISIZE(qvimage_pDst));
01444 }
01445
01446
01447 void MulC(
01448 const QVImage<sFloat, 3> & qvimage_pSrc,
01449 const sFloat value[3],
01450 QVImage<sFloat, 3> & qvimage_pDst,
01451 const QPoint &destROIOffset)
01452 {
01453 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01454
01455 IPP_DEBUG(MulC, ippiMulC_32f_C3R,
01456 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01457 value,
01458 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01459 IMAGE_ROISIZE(qvimage_pDst));
01460 }
01461
01462
01463 void MulScale(
01464 const QVImage<uChar, 1> & qvimage_pSrc1,
01465 const QVImage<uChar, 1> & qvimage_pSrc2,
01466 QVImage<uChar, 1> & qvimage_pDst,
01467 const QPoint &destROIOffset)
01468 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01469
01470 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01471
01472 IPP_DEBUG(MulScale, ippiMulScale_8u_C1R,
01473 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01474 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01475 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01476 IMAGE_ROISIZE(qvimage_pDst));
01477 }
01478
01479
01480 void MulScale(
01481 const QVImage<uChar, 3> & qvimage_pSrc1,
01482 const QVImage<uChar, 3> & qvimage_pSrc2,
01483 QVImage<uChar, 3> & qvimage_pDst,
01484 const QPoint &destROIOffset)
01485 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01486
01487 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01488
01489 IPP_DEBUG(MulScale, ippiMulScale_8u_C3R,
01490 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01491 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01492 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01493 IMAGE_ROISIZE(qvimage_pDst));
01494 }
01495
01496
01497 void Sub(
01498 const QVImage<uChar, 1> & qvimage_pSrc1,
01499 const QVImage<uChar, 1> & qvimage_pSrc2,
01500 QVImage<uChar, 1> & qvimage_pDst,
01501 const int scaleFactor,
01502 const QPoint &destROIOffset)
01503 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01504
01505 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01506
01507 IPP_DEBUG(Sub, ippiSub_8u_C1RSfs,
01508 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01509 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01510 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01511 IMAGE_ROISIZE(qvimage_pDst),
01512 scaleFactor);
01513 }
01514
01515
01516 void Sub(
01517 const QVImage<uChar, 3> & qvimage_pSrc1,
01518 const QVImage<uChar, 3> & qvimage_pSrc2,
01519 QVImage<uChar, 3> & qvimage_pDst,
01520 const int scaleFactor,
01521 const QPoint &destROIOffset)
01522 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01523
01524 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01525
01526 IPP_DEBUG(Sub, ippiSub_8u_C3RSfs,
01527 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01528 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01529 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01530 IMAGE_ROISIZE(qvimage_pDst),
01531 scaleFactor);
01532 }
01533
01534
01535 void Sub(
01536 const QVImage<uShort, 1> & qvimage_pSrc1,
01537 const QVImage<uShort, 1> & qvimage_pSrc2,
01538 QVImage<uShort, 1> & qvimage_pDst,
01539 const int scaleFactor,
01540 const QPoint &destROIOffset)
01541 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01542
01543 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01544
01545 IPP_DEBUG(Sub, ippiSub_16u_C1RSfs,
01546 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01547 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01548 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01549 IMAGE_ROISIZE(qvimage_pDst),
01550 scaleFactor);
01551 }
01552
01553
01554 void Sub(
01555 const QVImage<uShort, 3> & qvimage_pSrc1,
01556 const QVImage<uShort, 3> & qvimage_pSrc2,
01557 QVImage<uShort, 3> & qvimage_pDst,
01558 const int scaleFactor,
01559 const QPoint &destROIOffset)
01560 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01561
01562 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01563
01564 IPP_DEBUG(Sub, ippiSub_16u_C3RSfs,
01565 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01566 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01567 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01568 IMAGE_ROISIZE(qvimage_pDst),
01569 scaleFactor);
01570 }
01571
01572
01573 void Sub(
01574 const QVImage<sShort, 1> & qvimage_pSrc1,
01575 const QVImage<sShort, 1> & qvimage_pSrc2,
01576 QVImage<sShort, 1> & qvimage_pDst,
01577 const int scaleFactor,
01578 const QPoint &destROIOffset)
01579 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01580
01581 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01582
01583 IPP_DEBUG(Sub, ippiSub_16s_C1RSfs,
01584 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01585 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01586 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01587 IMAGE_ROISIZE(qvimage_pDst),
01588 scaleFactor);
01589 }
01590
01591
01592 void Sub(
01593 const QVImage<sShort, 3> & qvimage_pSrc1,
01594 const QVImage<sShort, 3> & qvimage_pSrc2,
01595 QVImage<sShort, 3> & qvimage_pDst,
01596 const int scaleFactor,
01597 const QPoint &destROIOffset)
01598 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01599
01600 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01601
01602 IPP_DEBUG(Sub, ippiSub_16s_C3RSfs,
01603 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01604 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01605 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01606 IMAGE_ROISIZE(qvimage_pDst),
01607 scaleFactor);
01608 }
01609
01610
01611 void Sub(
01612 const QVImage<sFloat, 1> & qvimage_pSrc1,
01613 const QVImage<sFloat, 1> & qvimage_pSrc2,
01614 QVImage<sFloat, 1> & qvimage_pDst,
01615 const QPoint &destROIOffset)
01616 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01617
01618 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01619
01620 IPP_DEBUG(Sub, ippiSub_32f_C1R,
01621 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01622 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01623 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01624 IMAGE_ROISIZE(qvimage_pDst));
01625 }
01626
01627
01628 void Sub(
01629 const QVImage<sFloat, 3> & qvimage_pSrc1,
01630 const QVImage<sFloat, 3> & qvimage_pSrc2,
01631 QVImage<sFloat, 3> & qvimage_pDst,
01632 const QPoint &destROIOffset)
01633 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01634
01635 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01636
01637 IPP_DEBUG(Sub, ippiSub_32f_C3R,
01638 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01639 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01640 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01641 IMAGE_ROISIZE(qvimage_pDst));
01642 }
01643
01644
01645 void SubC(
01646 const QVImage<uChar, 1> & qvimage_pSrc,
01647 const uChar value,
01648 QVImage<uChar, 1> & qvimage_pDst,
01649 const int scaleFactor,
01650 const QPoint &destROIOffset)
01651 {
01652 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01653
01654 IPP_DEBUG(SubC, ippiSubC_8u_C1RSfs,
01655 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01656 value,
01657 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01658 IMAGE_ROISIZE(qvimage_pDst),
01659 scaleFactor);
01660 }
01661
01662
01663 void SubC(
01664 const QVImage<uChar, 3> & qvimage_pSrc,
01665 const uChar value[3],
01666 QVImage<uChar, 3> & qvimage_pDst,
01667 const int scaleFactor,
01668 const QPoint &destROIOffset)
01669 {
01670 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01671
01672 IPP_DEBUG(SubC, ippiSubC_8u_C3RSfs,
01673 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01674 value,
01675 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01676 IMAGE_ROISIZE(qvimage_pDst),
01677 scaleFactor);
01678 }
01679
01680
01681 void SubC(
01682 const QVImage<uShort, 1> & qvimage_pSrc,
01683 const uShort value,
01684 QVImage<uShort, 1> & qvimage_pDst,
01685 const int scaleFactor,
01686 const QPoint &destROIOffset)
01687 {
01688 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01689
01690 IPP_DEBUG(SubC, ippiSubC_16u_C1RSfs,
01691 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01692 value,
01693 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01694 IMAGE_ROISIZE(qvimage_pDst),
01695 scaleFactor);
01696 }
01697
01698
01699 void SubC(
01700 const QVImage<sShort, 1> & qvimage_pSrc,
01701 const sShort value,
01702 QVImage<sShort, 1> & qvimage_pDst,
01703 const int scaleFactor,
01704 const QPoint &destROIOffset)
01705 {
01706 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01707
01708 IPP_DEBUG(SubC, ippiSubC_16s_C1RSfs,
01709 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01710 value,
01711 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01712 IMAGE_ROISIZE(qvimage_pDst),
01713 scaleFactor);
01714 }
01715
01716
01717 void SubC(
01718 const QVImage<uShort, 3> & qvimage_pSrc,
01719 const uShort value[3],
01720 QVImage<uShort, 3> & qvimage_pDst,
01721 const int scaleFactor,
01722 const QPoint &destROIOffset)
01723 {
01724 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01725
01726 IPP_DEBUG(SubC, ippiSubC_16u_C3RSfs,
01727 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01728 value,
01729 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01730 IMAGE_ROISIZE(qvimage_pDst),
01731 scaleFactor);
01732 }
01733
01734
01735 void SubC(
01736 const QVImage<sShort, 3> & qvimage_pSrc,
01737 const sShort value[3],
01738 QVImage<sShort, 3> & qvimage_pDst,
01739 const int scaleFactor,
01740 const QPoint &destROIOffset)
01741 {
01742 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01743
01744 IPP_DEBUG(SubC, ippiSubC_16s_C3RSfs,
01745 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01746 value,
01747 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01748 IMAGE_ROISIZE(qvimage_pDst),
01749 scaleFactor);
01750 }
01751
01752
01753 void SubC(
01754 const QVImage<sFloat, 1> & qvimage_pSrc,
01755 const sFloat value,
01756 QVImage<sFloat, 1> & qvimage_pDst,
01757 const QPoint &destROIOffset)
01758 {
01759 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01760
01761 IPP_DEBUG(SubC, ippiSubC_32f_C1R,
01762 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01763 value,
01764 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01765 IMAGE_ROISIZE(qvimage_pDst));
01766 }
01767
01768
01769 void SubC(
01770 const QVImage<sFloat, 3> & qvimage_pSrc,
01771 const sFloat value[3],
01772 QVImage<sFloat, 3> & qvimage_pDst,
01773 const QPoint &destROIOffset)
01774 {
01775 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01776
01777 IPP_DEBUG(SubC, ippiSubC_32f_C3R,
01778 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01779 value,
01780 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01781 IMAGE_ROISIZE(qvimage_pDst));
01782 }
01783
01784
01785 void Div(
01786 const QVImage<uChar, 1> & qvimage_pSrc1,
01787 const QVImage<uChar, 1> & qvimage_pSrc2,
01788 QVImage<uChar, 1> & qvimage_pDst,
01789 const int scaleFactor,
01790 const QPoint &destROIOffset)
01791 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01792
01793 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01794
01795 IPP_DEBUG(Div, ippiDiv_8u_C1RSfs,
01796 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01797 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01798 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01799 IMAGE_ROISIZE(qvimage_pDst),
01800 scaleFactor);
01801 }
01802
01803
01804 void Div(
01805 const QVImage<uChar, 3> & qvimage_pSrc1,
01806 const QVImage<uChar, 3> & qvimage_pSrc2,
01807 QVImage<uChar, 3> & qvimage_pDst,
01808 const int scaleFactor,
01809 const QPoint &destROIOffset)
01810 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01811
01812 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01813
01814 IPP_DEBUG(Div, ippiDiv_8u_C3RSfs,
01815 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01816 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01817 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01818 IMAGE_ROISIZE(qvimage_pDst),
01819 scaleFactor);
01820 }
01821
01822
01823 void Div(
01824 const QVImage<uShort, 1> & qvimage_pSrc1,
01825 const QVImage<uShort, 1> & qvimage_pSrc2,
01826 QVImage<uShort, 1> & qvimage_pDst,
01827 const int scaleFactor,
01828 const QPoint &destROIOffset)
01829 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01830
01831 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01832
01833 IPP_DEBUG(Div, ippiDiv_16u_C1RSfs,
01834 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01835 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01836 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01837 IMAGE_ROISIZE(qvimage_pDst),
01838 scaleFactor);
01839 }
01840
01841
01842 void Div(
01843 const QVImage<uShort, 3> & qvimage_pSrc1,
01844 const QVImage<uShort, 3> & qvimage_pSrc2,
01845 QVImage<uShort, 3> & qvimage_pDst,
01846 const int scaleFactor,
01847 const QPoint &destROIOffset)
01848 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01849
01850 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01851
01852 IPP_DEBUG(Div, ippiDiv_16u_C3RSfs,
01853 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01854 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01855 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01856 IMAGE_ROISIZE(qvimage_pDst),
01857 scaleFactor);
01858 }
01859
01860
01861 void Div(
01862 const QVImage<sShort, 1> & qvimage_pSrc1,
01863 const QVImage<sShort, 1> & qvimage_pSrc2,
01864 QVImage<sShort, 1> & qvimage_pDst,
01865 const int scaleFactor,
01866 const QPoint &destROIOffset)
01867 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01868
01869 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01870
01871 IPP_DEBUG(Div, ippiDiv_16s_C1RSfs,
01872 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01873 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01874 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01875 IMAGE_ROISIZE(qvimage_pDst),
01876 scaleFactor);
01877 }
01878
01879
01880 void Div(
01881 const QVImage<sShort, 3> & qvimage_pSrc1,
01882 const QVImage<sShort, 3> & qvimage_pSrc2,
01883 QVImage<sShort, 3> & qvimage_pDst,
01884 const int scaleFactor,
01885 const QPoint &destROIOffset)
01886 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01887
01888 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01889
01890 IPP_DEBUG(Div, ippiDiv_16s_C3RSfs,
01891 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01892 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01893 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01894 IMAGE_ROISIZE(qvimage_pDst),
01895 scaleFactor);
01896 }
01897
01898
01899 void Div(
01900 const QVImage<sFloat, 3> & qvimage_pSrc1,
01901 const QVImage<sFloat, 3> & qvimage_pSrc2,
01902 QVImage<sFloat, 3> & qvimage_pDst,
01903 const QPoint &destROIOffset)
01904 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01905
01906 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01907
01908 IPP_DEBUG(Div, ippiDiv_32f_C3R,
01909 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01910 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01911 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01912 IMAGE_ROISIZE(qvimage_pDst));
01913 }
01914
01915
01916 void Div(
01917 const QVImage<sFloat, 1> & qvimage_pSrc1,
01918 const QVImage<sFloat, 1> & qvimage_pSrc2,
01919 QVImage<sFloat, 1> & qvimage_pDst,
01920 const QPoint &destROIOffset)
01921 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
01922
01923 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
01924
01925 IPP_DEBUG(Div, ippiDiv_32f_C1R,
01926 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
01927 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
01928 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01929 IMAGE_ROISIZE(qvimage_pDst));
01930 }
01931
01932
01933 void DivC(
01934 const QVImage<uChar, 1> & qvimage_pSrc,
01935 const uChar value,
01936 QVImage<uChar, 1> & qvimage_pDst,
01937 const int scaleFactor,
01938 const QPoint &destROIOffset)
01939 {
01940 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01941
01942 IPP_DEBUG(DivC, ippiDivC_8u_C1RSfs,
01943 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01944 value,
01945 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01946 IMAGE_ROISIZE(qvimage_pDst),
01947 scaleFactor);
01948 }
01949
01950
01951 void DivC(
01952 const QVImage<uChar, 3> & qvimage_pSrc,
01953 const uChar value[3],
01954 QVImage<uChar, 3> & qvimage_pDst,
01955 const int scaleFactor,
01956 const QPoint &destROIOffset)
01957 {
01958 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01959
01960 IPP_DEBUG(DivC, ippiDivC_8u_C3RSfs,
01961 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01962 value,
01963 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01964 IMAGE_ROISIZE(qvimage_pDst),
01965 scaleFactor);
01966 }
01967
01968
01969 void DivC(
01970 const QVImage<uShort, 1> & qvimage_pSrc,
01971 const uShort value,
01972 QVImage<uShort, 1> & qvimage_pDst,
01973 const int scaleFactor,
01974 const QPoint &destROIOffset)
01975 {
01976 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01977
01978 IPP_DEBUG(DivC, ippiDivC_16u_C1RSfs,
01979 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01980 value,
01981 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
01982 IMAGE_ROISIZE(qvimage_pDst),
01983 scaleFactor);
01984 }
01985
01986
01987 void DivC(
01988 const QVImage<uShort, 3> & qvimage_pSrc,
01989 const uShort value[3],
01990 QVImage<uShort, 3> & qvimage_pDst,
01991 const int scaleFactor,
01992 const QPoint &destROIOffset)
01993 {
01994 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
01995
01996 IPP_DEBUG(DivC, ippiDivC_16u_C3RSfs,
01997 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
01998 value,
01999 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02000 IMAGE_ROISIZE(qvimage_pDst),
02001 scaleFactor);
02002 }
02003
02004
02005 void DivC(
02006 const QVImage<sShort, 1> & qvimage_pSrc,
02007 const sShort value,
02008 QVImage<sShort, 1> & qvimage_pDst,
02009 const int scaleFactor,
02010 const QPoint &destROIOffset)
02011 {
02012 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02013
02014 IPP_DEBUG(DivC, ippiDivC_16s_C1RSfs,
02015 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02016 value,
02017 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02018 IMAGE_ROISIZE(qvimage_pDst),
02019 scaleFactor);
02020 }
02021
02022
02023 void DivC(
02024 const QVImage<sShort, 3> & qvimage_pSrc,
02025 const sShort value[3],
02026 QVImage<sShort, 3> & qvimage_pDst,
02027 const int scaleFactor,
02028 const QPoint &destROIOffset)
02029 {
02030 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02031
02032 IPP_DEBUG(DivC, ippiDivC_16s_C3RSfs,
02033 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02034 value,
02035 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02036 IMAGE_ROISIZE(qvimage_pDst),
02037 scaleFactor);
02038 }
02039
02040
02041 void DivC(
02042 const QVImage<sFloat, 1> & qvimage_pSrc,
02043 const sFloat value,
02044 QVImage<sFloat, 1> & qvimage_pDst,
02045 const QPoint &destROIOffset)
02046 {
02047 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02048
02049 IPP_DEBUG(DivC, ippiDivC_32f_C1R,
02050 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02051 value,
02052 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02053 IMAGE_ROISIZE(qvimage_pDst));
02054 }
02055
02056
02057 void DivC(
02058 const QVImage<sFloat, 3> & qvimage_pSrc,
02059 const sFloat value[3],
02060 QVImage<sFloat, 3> & qvimage_pDst,
02061 const QPoint &destROIOffset)
02062 {
02063 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02064
02065 IPP_DEBUG(DivC, ippiDivC_32f_C3R,
02066 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02067 value,
02068 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02069 IMAGE_ROISIZE(qvimage_pDst));
02070 }
02071
02072
02073 void Abs(
02074 const QVImage<sShort, 1> & qvimage_pSrc,
02075 QVImage<sShort, 1> & qvimage_pDst,
02076 const QPoint &destROIOffset)
02077 {
02078 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02079
02080 IPP_DEBUG(Abs, ippiAbs_16s_C1R,
02081 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02082 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02083 IMAGE_ROISIZE(qvimage_pDst));
02084 }
02085
02086
02087 void Abs(
02088 const QVImage<sFloat, 1> & qvimage_pSrc,
02089 QVImage<sFloat, 1> & qvimage_pDst,
02090 const QPoint &destROIOffset)
02091 {
02092 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02093
02094 IPP_DEBUG(Abs, ippiAbs_32f_C1R,
02095 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02096 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02097 IMAGE_ROISIZE(qvimage_pDst));
02098 }
02099
02100
02101 void AbsDiff(
02102 const QVImage<uChar, 1> & qvimage_pSrc1,
02103 const QVImage<uChar, 1> & qvimage_pSrc2,
02104 QVImage<uChar, 1> & qvimage_pDst,
02105 const QPoint &destROIOffset)
02106 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02107
02108 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02109
02110 IPP_DEBUG(AbsDiff, ippiAbsDiff_8u_C1R,
02111 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02112 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02113 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02114 IMAGE_ROISIZE(qvimage_pDst));
02115 }
02116
02117
02118
02119 void AbsDiff(
02120 const QVImage<sFloat, 1> & qvimage_pSrc1,
02121 const QVImage<sFloat, 1> & qvimage_pSrc2,
02122 QVImage<sFloat, 1> & qvimage_pDst,
02123 const QPoint &destROIOffset)
02124 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02125
02126 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02127
02128 IPP_DEBUG(AbsDiff, ippiAbsDiff_32f_C1R,
02129 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02130 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02131 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02132 IMAGE_ROISIZE(qvimage_pDst));
02133 }
02134
02135
02136 void Sqr(
02137 const QVImage<sFloat, 1> & qvimage_pSrc,
02138 QVImage<sFloat, 1> & qvimage_pDst,
02139 const QPoint &destROIOffset)
02140 {
02141 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02142
02143 IPP_DEBUG(Sqr, ippiSqr_32f_C1R,
02144 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02145 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02146 IMAGE_ROISIZE(qvimage_pDst));
02147 }
02148
02149
02150 void Ln(
02151 const QVImage<sFloat, 1> & qvimage_pSrc,
02152 QVImage<sFloat, 1> & qvimage_pDst,
02153 const QPoint &destROIOffset)
02154 {
02155 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02156
02157 IPP_DEBUG(Ln, ippiLn_32f_C1R,
02158 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02159 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02160 IMAGE_ROISIZE(qvimage_pDst));
02161 }
02162
02163
02164 void Ln(
02165 const QVImage<sFloat, 3> & qvimage_pSrc,
02166 QVImage<sFloat, 3> & qvimage_pDst,
02167 const QPoint &destROIOffset)
02168 {
02169 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02170
02171 IPP_DEBUG(Ln, ippiLn_32f_C3R,
02172 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02173 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02174 IMAGE_ROISIZE(qvimage_pDst));
02175 }
02176
02177
02178 void And(
02179 const QVImage<uChar, 1> & qvimage_pSrc1,
02180 const QVImage<uChar, 1> & qvimage_pSrc2,
02181 QVImage<uChar, 1> & qvimage_pDst,
02182 const QPoint &destROIOffset)
02183 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02184
02185 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02186
02187 IPP_DEBUG(And, ippiAnd_8u_C1R,
02188 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02189 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02190 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02191 IMAGE_ROISIZE(qvimage_pDst));
02192 }
02193
02194
02195 void And(
02196 const QVImage<uChar, 3> & qvimage_pSrc1,
02197 const QVImage<uChar, 3> & qvimage_pSrc2,
02198 QVImage<uChar, 3> & qvimage_pDst,
02199 const QPoint &destROIOffset)
02200 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02201
02202 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02203
02204 IPP_DEBUG(And, ippiAnd_8u_C3R,
02205 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02206 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02207 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02208 IMAGE_ROISIZE(qvimage_pDst));
02209 }
02210
02211
02212 void And(
02213 const QVImage<uShort, 1> & qvimage_pSrc1,
02214 const QVImage<uShort, 1> & qvimage_pSrc2,
02215 QVImage<uShort, 1> & qvimage_pDst,
02216 const QPoint &destROIOffset)
02217 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02218
02219 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02220
02221 IPP_DEBUG(And, ippiAnd_16u_C1R,
02222 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02223 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02224 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02225 IMAGE_ROISIZE(qvimage_pDst));
02226 }
02227
02228
02229 void And(
02230 const QVImage<uShort, 3> & qvimage_pSrc1,
02231 const QVImage<uShort, 3> & qvimage_pSrc2,
02232 QVImage<uShort, 3> & qvimage_pDst,
02233 const QPoint &destROIOffset)
02234 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02235
02236 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02237
02238 IPP_DEBUG(And, ippiAnd_16u_C3R,
02239 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02240 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02241 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02242 IMAGE_ROISIZE(qvimage_pDst));
02243 }
02244
02245
02246 void And(
02247 const QVImage<sInt, 1> & qvimage_pSrc1,
02248 const QVImage<sInt, 1> & qvimage_pSrc2,
02249 QVImage<sInt, 1> & qvimage_pDst,
02250 const QPoint &destROIOffset)
02251 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02252
02253 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02254
02255 IPP_DEBUG(And, ippiAnd_32s_C1R,
02256 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02257 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02258 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02259 IMAGE_ROISIZE(qvimage_pDst));
02260 }
02261
02262
02263 void And(
02264 const QVImage<sInt, 3> & qvimage_pSrc1,
02265 const QVImage<sInt, 3> & qvimage_pSrc2,
02266 QVImage<sInt, 3> & qvimage_pDst,
02267 const QPoint &destROIOffset)
02268 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02269
02270 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02271
02272 IPP_DEBUG(And, ippiAnd_32s_C3R,
02273 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02274 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02275 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02276 IMAGE_ROISIZE(qvimage_pDst));
02277 }
02278
02279
02280 void Or(
02281 const QVImage<uChar, 1> & qvimage_pSrc1,
02282 const QVImage<uChar, 1> & qvimage_pSrc2,
02283 QVImage<uChar, 1> & qvimage_pDst,
02284 const QPoint &destROIOffset)
02285 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02286
02287 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02288
02289 IPP_DEBUG(Or, ippiOr_8u_C1R,
02290 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02291 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02292 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02293 IMAGE_ROISIZE(qvimage_pDst));
02294 }
02295
02296
02297 void Or(
02298 const QVImage<uChar, 3> & qvimage_pSrc1,
02299 const QVImage<uChar, 3> & qvimage_pSrc2,
02300 QVImage<uChar, 3> & qvimage_pDst,
02301 const QPoint &destROIOffset)
02302 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02303
02304 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02305
02306 IPP_DEBUG(Or, ippiOr_8u_C3R,
02307 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02308 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02309 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02310 IMAGE_ROISIZE(qvimage_pDst));
02311 }
02312
02313
02314 void Or(
02315 const QVImage<uShort, 1> & qvimage_pSrc1,
02316 const QVImage<uShort, 1> & qvimage_pSrc2,
02317 QVImage<uShort, 1> & qvimage_pDst,
02318 const QPoint &destROIOffset)
02319 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02320
02321 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02322
02323 IPP_DEBUG(Or, ippiOr_16u_C1R,
02324 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02325 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02326 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02327 IMAGE_ROISIZE(qvimage_pDst));
02328 }
02329
02330
02331 void Or(
02332 const QVImage<uShort, 3> & qvimage_pSrc1,
02333 const QVImage<uShort, 3> & qvimage_pSrc2,
02334 QVImage<uShort, 3> & qvimage_pDst,
02335 const QPoint &destROIOffset)
02336 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02337
02338 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02339
02340 IPP_DEBUG(Or, ippiOr_16u_C3R,
02341 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02342 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02343 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02344 IMAGE_ROISIZE(qvimage_pDst));
02345 }
02346
02347
02348 void Or(
02349 const QVImage<sInt, 1> & qvimage_pSrc1,
02350 const QVImage<sInt, 1> & qvimage_pSrc2,
02351 QVImage<sInt, 1> & qvimage_pDst,
02352 const QPoint &destROIOffset)
02353 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02354
02355 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02356
02357 IPP_DEBUG(Or, ippiOr_32s_C1R,
02358 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02359 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02360 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02361 IMAGE_ROISIZE(qvimage_pDst));
02362 }
02363
02364
02365 void Or(
02366 const QVImage<sInt, 3> & qvimage_pSrc1,
02367 const QVImage<sInt, 3> & qvimage_pSrc2,
02368 QVImage<sInt, 3> & qvimage_pDst,
02369 const QPoint &destROIOffset)
02370 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02371
02372 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02373
02374 IPP_DEBUG(Or, ippiOr_32s_C3R,
02375 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02376 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02377 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02378 IMAGE_ROISIZE(qvimage_pDst));
02379 }
02380
02381
02382 void Xor(
02383 const QVImage<uChar, 1> & qvimage_pSrc1,
02384 const QVImage<uChar, 1> & qvimage_pSrc2,
02385 QVImage<uChar, 1> & qvimage_pDst,
02386 const QPoint &destROIOffset)
02387 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02388
02389 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02390
02391 IPP_DEBUG(Xor, ippiXor_8u_C1R,
02392 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02393 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02394 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02395 IMAGE_ROISIZE(qvimage_pDst));
02396 }
02397
02398
02399 void Xor(
02400 const QVImage<uChar, 3> & qvimage_pSrc1,
02401 const QVImage<uChar, 3> & qvimage_pSrc2,
02402 QVImage<uChar, 3> & qvimage_pDst,
02403 const QPoint &destROIOffset)
02404 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02405
02406 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02407
02408 IPP_DEBUG(Xor, ippiXor_8u_C3R,
02409 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02410 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02411 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02412 IMAGE_ROISIZE(qvimage_pDst));
02413 }
02414
02415
02416 void Xor(
02417 const QVImage<uShort, 1> & qvimage_pSrc1,
02418 const QVImage<uShort, 1> & qvimage_pSrc2,
02419 QVImage<uShort, 1> & qvimage_pDst,
02420 const QPoint &destROIOffset)
02421 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02422
02423 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02424
02425 IPP_DEBUG(Xor, ippiXor_16u_C1R,
02426 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02427 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02428 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02429 IMAGE_ROISIZE(qvimage_pDst));
02430 }
02431
02432
02433 void Xor(
02434 const QVImage<uShort, 3> & qvimage_pSrc1,
02435 const QVImage<uShort, 3> & qvimage_pSrc2,
02436 QVImage<uShort, 3> & qvimage_pDst,
02437 const QPoint &destROIOffset)
02438 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02439
02440 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02441
02442 IPP_DEBUG(Xor, ippiXor_16u_C3R,
02443 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02444 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02445 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02446 IMAGE_ROISIZE(qvimage_pDst));
02447 }
02448
02449
02450 void Xor(
02451 const QVImage<sInt, 1> & qvimage_pSrc1,
02452 const QVImage<sInt, 1> & qvimage_pSrc2,
02453 QVImage<sInt, 1> & qvimage_pDst,
02454 const QPoint &destROIOffset)
02455 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02456
02457 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02458
02459 IPP_DEBUG(Xor, ippiXor_32s_C1R,
02460 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02461 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02462 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02463 IMAGE_ROISIZE(qvimage_pDst));
02464 }
02465
02466
02467 void Xor(
02468 const QVImage<sInt, 3> & qvimage_pSrc1,
02469 const QVImage<sInt, 3> & qvimage_pSrc2,
02470 QVImage<sInt, 3> & qvimage_pDst,
02471 const QPoint &destROIOffset)
02472 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
02473
02474 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
02475
02476 IPP_DEBUG(Xor, ippiXor_32s_C3R,
02477 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
02478 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
02479 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02480 IMAGE_ROISIZE(qvimage_pDst));
02481 }
02482
02483
02484 void Not(
02485 const QVImage<uChar, 1> & qvimage_pSrc,
02486 QVImage<uChar, 1> & qvimage_pDst,
02487 const QPoint &destROIOffset)
02488 {
02489 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02490
02491 IPP_DEBUG(Not, ippiNot_8u_C1R,
02492 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02493 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02494 IMAGE_ROISIZE(qvimage_pDst));
02495 }
02496
02497
02498 void Not(
02499 const QVImage<uChar, 3> & qvimage_pSrc,
02500 QVImage<uChar, 3> & qvimage_pDst,
02501 const QPoint &destROIOffset)
02502 {
02503 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02504
02505 IPP_DEBUG(Not, ippiNot_8u_C3R,
02506 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02507 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02508 IMAGE_ROISIZE(qvimage_pDst));
02509 }
02510
02511
02512 void AndC(
02513 const QVImage<uChar, 1> & qvimage_pSrc,
02514 const uChar value,
02515 QVImage<uChar, 1> & qvimage_pDst,
02516 const QPoint &destROIOffset)
02517 {
02518 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02519
02520 IPP_DEBUG(AndC, ippiAndC_8u_C1R,
02521 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02522 value,
02523 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02524 IMAGE_ROISIZE(qvimage_pDst));
02525 }
02526
02527
02528 void AndC(
02529 const QVImage<uChar, 3> & qvimage_pSrc,
02530 const uChar value[3],
02531 QVImage<uChar, 3> & qvimage_pDst,
02532 const QPoint &destROIOffset)
02533 {
02534 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02535
02536 IPP_DEBUG(AndC, ippiAndC_8u_C3R,
02537 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02538 value,
02539 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02540 IMAGE_ROISIZE(qvimage_pDst));
02541 }
02542
02543
02544 void AndC(
02545 const QVImage<uShort, 1> & qvimage_pSrc,
02546 const uShort value,
02547 QVImage<uShort, 1> & qvimage_pDst,
02548 const QPoint &destROIOffset)
02549 {
02550 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02551
02552 IPP_DEBUG(AndC, ippiAndC_16u_C1R,
02553 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02554 value,
02555 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02556 IMAGE_ROISIZE(qvimage_pDst));
02557 }
02558
02559
02560 void AndC(
02561 const QVImage<uShort, 3> & qvimage_pSrc,
02562 const uShort value[3],
02563 QVImage<uShort, 3> & qvimage_pDst,
02564 const QPoint &destROIOffset)
02565 {
02566 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02567
02568 IPP_DEBUG(AndC, ippiAndC_16u_C3R,
02569 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02570 value,
02571 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02572 IMAGE_ROISIZE(qvimage_pDst));
02573 }
02574
02575
02576 void AndC(
02577 const QVImage<sInt, 1> & qvimage_pSrc,
02578 const sInt value,
02579 QVImage<sInt, 1> & qvimage_pDst,
02580 const QPoint &destROIOffset)
02581 {
02582 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02583
02584 IPP_DEBUG(AndC, ippiAndC_32s_C1R,
02585 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02586 value,
02587 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02588 IMAGE_ROISIZE(qvimage_pDst));
02589 }
02590
02591
02592 void AndC(
02593 const QVImage<sInt, 3> & qvimage_pSrc,
02594 const sInt value[3],
02595 QVImage<sInt, 3> & qvimage_pDst,
02596 const QPoint &destROIOffset)
02597 {
02598 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02599
02600 IPP_DEBUG(AndC, ippiAndC_32s_C3R,
02601 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02602 value,
02603 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02604 IMAGE_ROISIZE(qvimage_pDst));
02605 }
02606
02607
02608 void OrC(
02609 const QVImage<uChar, 1> & qvimage_pSrc,
02610 const uChar value,
02611 QVImage<uChar, 1> & qvimage_pDst,
02612 const QPoint &destROIOffset)
02613 {
02614 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02615
02616 IPP_DEBUG(OrC, ippiOrC_8u_C1R,
02617 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02618 value,
02619 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02620 IMAGE_ROISIZE(qvimage_pDst));
02621 }
02622
02623
02624 void OrC(
02625 const QVImage<uChar, 3> & qvimage_pSrc,
02626 const uChar value[3],
02627 QVImage<uChar, 3> & qvimage_pDst,
02628 const QPoint &destROIOffset)
02629 {
02630 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02631
02632 IPP_DEBUG(OrC, ippiOrC_8u_C3R,
02633 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02634 value,
02635 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02636 IMAGE_ROISIZE(qvimage_pDst));
02637 }
02638
02639
02640 void OrC(
02641 const QVImage<uShort, 1> & qvimage_pSrc,
02642 const uShort value,
02643 QVImage<uShort, 1> & qvimage_pDst,
02644 const QPoint &destROIOffset)
02645 {
02646 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02647
02648 IPP_DEBUG(OrC, ippiOrC_16u_C1R,
02649 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02650 value,
02651 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02652 IMAGE_ROISIZE(qvimage_pDst));
02653 }
02654
02655
02656 void OrC(
02657 const QVImage<uShort, 3> & qvimage_pSrc,
02658 const uShort value[3],
02659 QVImage<uShort, 3> & qvimage_pDst,
02660 const QPoint &destROIOffset)
02661 {
02662 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02663
02664 IPP_DEBUG(OrC, ippiOrC_16u_C3R,
02665 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02666 value,
02667 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02668 IMAGE_ROISIZE(qvimage_pDst));
02669 }
02670
02671
02672 void OrC(
02673 const QVImage<sInt, 1> & qvimage_pSrc,
02674 const sInt value,
02675 QVImage<sInt, 1> & qvimage_pDst,
02676 const QPoint &destROIOffset)
02677 {
02678 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02679
02680 IPP_DEBUG(OrC, ippiOrC_32s_C1R,
02681 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02682 value,
02683 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02684 IMAGE_ROISIZE(qvimage_pDst));
02685 }
02686
02687
02688 void OrC(
02689 const QVImage<sInt, 3> & qvimage_pSrc,
02690 const sInt value[3],
02691 QVImage<sInt, 3> & qvimage_pDst,
02692 const QPoint &destROIOffset)
02693 {
02694 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02695
02696 IPP_DEBUG(OrC, ippiOrC_32s_C3R,
02697 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02698 value,
02699 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02700 IMAGE_ROISIZE(qvimage_pDst));
02701 }
02702
02703
02704 void XorC(
02705 const QVImage<uChar, 1> & qvimage_pSrc,
02706 const uChar value,
02707 QVImage<uChar, 1> & qvimage_pDst,
02708 const QPoint &destROIOffset)
02709 {
02710 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02711
02712 IPP_DEBUG(XorC, ippiXorC_8u_C1R,
02713 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02714 value,
02715 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02716 IMAGE_ROISIZE(qvimage_pDst));
02717 }
02718
02719
02720 void XorC(
02721 const QVImage<uChar, 3> & qvimage_pSrc,
02722 const uChar value[3],
02723 QVImage<uChar, 3> & qvimage_pDst,
02724 const QPoint &destROIOffset)
02725 {
02726 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02727
02728 IPP_DEBUG(XorC, ippiXorC_8u_C3R,
02729 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02730 value,
02731 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02732 IMAGE_ROISIZE(qvimage_pDst));
02733 }
02734
02735
02736 void XorC(
02737 const QVImage<uShort, 1> & qvimage_pSrc,
02738 const uShort value,
02739 QVImage<uShort, 1> & qvimage_pDst,
02740 const QPoint &destROIOffset)
02741 {
02742 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02743
02744 IPP_DEBUG(XorC, ippiXorC_16u_C1R,
02745 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02746 value,
02747 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02748 IMAGE_ROISIZE(qvimage_pDst));
02749 }
02750
02751
02752 void XorC(
02753 const QVImage<uShort, 3> & qvimage_pSrc,
02754 const uShort value[3],
02755 QVImage<uShort, 3> & qvimage_pDst,
02756 const QPoint &destROIOffset)
02757 {
02758 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02759
02760 IPP_DEBUG(XorC, ippiXorC_16u_C3R,
02761 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02762 value,
02763 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02764 IMAGE_ROISIZE(qvimage_pDst));
02765 }
02766
02767
02768 void XorC(
02769 const QVImage<sInt, 1> & qvimage_pSrc,
02770 const sInt value,
02771 QVImage<sInt, 1> & qvimage_pDst,
02772 const QPoint &destROIOffset)
02773 {
02774 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02775
02776 IPP_DEBUG(XorC, ippiXorC_32s_C1R,
02777 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02778 value,
02779 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02780 IMAGE_ROISIZE(qvimage_pDst));
02781 }
02782
02783
02784 void XorC(
02785 const QVImage<sInt, 3> & qvimage_pSrc,
02786 const sInt value[3],
02787 QVImage<sInt, 3> & qvimage_pDst,
02788 const QPoint &destROIOffset)
02789 {
02790 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02791
02792 IPP_DEBUG(XorC, ippiXorC_32s_C3R,
02793 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02794 value,
02795 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02796 IMAGE_ROISIZE(qvimage_pDst));
02797 }
02798
02799
02800 void LShiftC(
02801 const QVImage<uChar, 1> & qvimage_pSrc,
02802 const uInt value,
02803 QVImage<uChar, 1> & qvimage_pDst,
02804 const QPoint &destROIOffset)
02805 {
02806 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02807
02808 IPP_DEBUG(LShiftC, ippiLShiftC_8u_C1R,
02809 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02810 value,
02811 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02812 IMAGE_ROISIZE(qvimage_pDst));
02813 }
02814
02815
02816 void LShiftC(
02817 const QVImage<uChar, 3> & qvimage_pSrc,
02818 const uInt value[3],
02819 QVImage<uChar, 3> & qvimage_pDst,
02820 const QPoint &destROIOffset)
02821 {
02822 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02823
02824 IPP_DEBUG(LShiftC, ippiLShiftC_8u_C3R,
02825 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02826 value,
02827 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02828 IMAGE_ROISIZE(qvimage_pDst));
02829 }
02830
02831
02832 void RShiftC(
02833 const QVImage<uChar, 1> & qvimage_pSrc,
02834 const uInt value,
02835 QVImage<uChar, 1> & qvimage_pDst,
02836 const QPoint &destROIOffset)
02837 {
02838 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02839
02840 IPP_DEBUG(RShiftC, ippiRShiftC_8u_C1R,
02841 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02842 value,
02843 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02844 IMAGE_ROISIZE(qvimage_pDst));
02845 }
02846
02847
02848 void RShiftC(
02849 const QVImage<uChar, 3> & qvimage_pSrc,
02850 const uInt value[3],
02851 QVImage<uChar, 3> & qvimage_pDst,
02852 const QPoint &destROIOffset)
02853 {
02854 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02855
02856 IPP_DEBUG(RShiftC, ippiRShiftC_8u_C3R,
02857 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02858 value,
02859 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02860 IMAGE_ROISIZE(qvimage_pDst));
02861 }
02862
02863
02864 void LShiftC(
02865 const QVImage<uShort, 1> & qvimage_pSrc,
02866 const uInt value,
02867 QVImage<uShort, 1> & qvimage_pDst,
02868 const QPoint &destROIOffset)
02869 {
02870 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02871
02872 IPP_DEBUG(LShiftC, ippiLShiftC_16u_C1R,
02873 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02874 value,
02875 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02876 IMAGE_ROISIZE(qvimage_pDst));
02877 }
02878
02879
02880 void LShiftC(
02881 const QVImage<uShort, 3> & qvimage_pSrc,
02882 const uInt value[3],
02883 QVImage<uShort, 3> & qvimage_pDst,
02884 const QPoint &destROIOffset)
02885 {
02886 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02887
02888 IPP_DEBUG(LShiftC, ippiLShiftC_16u_C3R,
02889 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02890 value,
02891 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02892 IMAGE_ROISIZE(qvimage_pDst));
02893 }
02894
02895
02896 void RShiftC(
02897 const QVImage<uShort, 1> & qvimage_pSrc,
02898 const uInt value,
02899 QVImage<uShort, 1> & qvimage_pDst,
02900 const QPoint &destROIOffset)
02901 {
02902 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02903
02904 IPP_DEBUG(RShiftC, ippiRShiftC_16u_C1R,
02905 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02906 value,
02907 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02908 IMAGE_ROISIZE(qvimage_pDst));
02909 }
02910
02911
02912 void RShiftC(
02913 const QVImage<uShort, 3> & qvimage_pSrc,
02914 const uInt value[3],
02915 QVImage<uShort, 3> & qvimage_pDst,
02916 const QPoint &destROIOffset)
02917 {
02918 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02919
02920 IPP_DEBUG(RShiftC, ippiRShiftC_16u_C3R,
02921 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02922 value,
02923 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02924 IMAGE_ROISIZE(qvimage_pDst));
02925 }
02926
02927
02928 void LShiftC(
02929 const QVImage<sInt, 1> & qvimage_pSrc,
02930 const uInt value,
02931 QVImage<sInt, 1> & qvimage_pDst,
02932 const QPoint &destROIOffset)
02933 {
02934 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02935
02936 IPP_DEBUG(LShiftC, ippiLShiftC_32s_C1R,
02937 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02938 value,
02939 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02940 IMAGE_ROISIZE(qvimage_pDst));
02941 }
02942
02943
02944 void LShiftC(
02945 const QVImage<sInt, 3> & qvimage_pSrc,
02946 const uInt value[3],
02947 QVImage<sInt, 3> & qvimage_pDst,
02948 const QPoint &destROIOffset)
02949 {
02950 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02951
02952 IPP_DEBUG(LShiftC, ippiLShiftC_32s_C3R,
02953 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02954 value,
02955 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02956 IMAGE_ROISIZE(qvimage_pDst));
02957 }
02958
02959
02960 void RShiftC(
02961 const QVImage<sInt, 1> & qvimage_pSrc,
02962 const uInt value,
02963 QVImage<sInt, 1> & qvimage_pDst,
02964 const QPoint &destROIOffset)
02965 {
02966 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02967
02968 IPP_DEBUG(RShiftC, ippiRShiftC_32s_C1R,
02969 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02970 value,
02971 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02972 IMAGE_ROISIZE(qvimage_pDst));
02973 }
02974
02975
02976 void RShiftC(
02977 const QVImage<sInt, 3> & qvimage_pSrc,
02978 const uInt value[3],
02979 QVImage<sInt, 3> & qvimage_pDst,
02980 const QPoint &destROIOffset)
02981 {
02982 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02983
02984 IPP_DEBUG(RShiftC, ippiRShiftC_32s_C3R,
02985 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
02986 value,
02987 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
02988 IMAGE_ROISIZE(qvimage_pDst));
02989 }
02990
02991
02992 void RGBToGray(
02993 const QVImage<uChar, 3> & qvimage_pSrc,
02994 QVImage<uChar, 1> & qvimage_pDst,
02995 const QPoint &destROIOffset)
02996 {
02997 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
02998
02999 IPP_DEBUG(RGBToGray, ippiRGBToGray_8u_C3C1R,
03000 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03001 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03002 IMAGE_ROISIZE(qvimage_pDst));
03003 }
03004
03005
03006 void RGBToGray(
03007 const QVImage<uShort, 3> & qvimage_pSrc,
03008 QVImage<uShort, 1> & qvimage_pDst,
03009 const QPoint &destROIOffset)
03010 {
03011 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03012
03013 IPP_DEBUG(RGBToGray, ippiRGBToGray_16u_C3C1R,
03014 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03015 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03016 IMAGE_ROISIZE(qvimage_pDst));
03017 }
03018
03019
03020 void RGBToGray(
03021 const QVImage<sShort, 3> & qvimage_pSrc,
03022 QVImage<sShort, 1> & qvimage_pDst,
03023 const QPoint &destROIOffset)
03024 {
03025 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03026
03027 IPP_DEBUG(RGBToGray, ippiRGBToGray_16s_C3C1R,
03028 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03029 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03030 IMAGE_ROISIZE(qvimage_pDst));
03031 }
03032
03033
03034 void RGBToGray(
03035 const QVImage<sFloat, 3> & qvimage_pSrc,
03036 QVImage<sFloat, 1> & qvimage_pDst,
03037 const QPoint &destROIOffset)
03038 {
03039 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03040
03041 IPP_DEBUG(RGBToGray, ippiRGBToGray_32f_C3C1R,
03042 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03043 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03044 IMAGE_ROISIZE(qvimage_pDst));
03045 }
03046
03047
03048 void Threshold(
03049 const QVImage<uChar, 1> & qvimage_pSrc,
03050 QVImage<uChar, 1> & qvimage_pDst,
03051 const uChar threshold,
03052 const IppCmpOp ippCmpOp,
03053 const QPoint &destROIOffset)
03054 {
03055 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03056
03057 IPP_DEBUG(Threshold, ippiThreshold_8u_C1R,
03058 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03059 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03060 IMAGE_ROISIZE(qvimage_pDst),
03061 threshold,
03062 ippCmpOp);
03063 }
03064
03065
03066 void Threshold(
03067 QVImage<uChar, 1> & qvimage_pSrcDst,
03068 const uChar threshold,
03069 const IppCmpOp ippCmpOp)
03070 {
03071 IPP_DEBUG(Threshold, ippiThreshold_8u_C1IR,
03072 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03073 IMAGE_ROISIZE(qvimage_pSrcDst),
03074 threshold,
03075 ippCmpOp);
03076 }
03077
03078
03079 void Threshold(
03080 const QVImage<sShort, 1> & qvimage_pSrc,
03081 QVImage<sShort, 1> & qvimage_pDst,
03082 const sShort threshold,
03083 const IppCmpOp ippCmpOp,
03084 const QPoint &destROIOffset)
03085 {
03086 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03087
03088 IPP_DEBUG(Threshold, ippiThreshold_16s_C1R,
03089 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03090 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03091 IMAGE_ROISIZE(qvimage_pDst),
03092 threshold,
03093 ippCmpOp);
03094 }
03095
03096
03097 void Threshold(
03098 QVImage<sShort, 1> & qvimage_pSrcDst,
03099 const sShort threshold,
03100 const IppCmpOp ippCmpOp)
03101 {
03102 IPP_DEBUG(Threshold, ippiThreshold_16s_C1IR,
03103 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03104 IMAGE_ROISIZE(qvimage_pSrcDst),
03105 threshold,
03106 ippCmpOp);
03107 }
03108
03109
03110 void Threshold(
03111 const QVImage<sFloat, 1> & qvimage_pSrc,
03112 QVImage<sFloat, 1> & qvimage_pDst,
03113 const sFloat threshold,
03114 const IppCmpOp ippCmpOp,
03115 const QPoint &destROIOffset)
03116 {
03117 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03118
03119 IPP_DEBUG(Threshold, ippiThreshold_32f_C1R,
03120 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03121 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03122 IMAGE_ROISIZE(qvimage_pDst),
03123 threshold,
03124 ippCmpOp);
03125 }
03126
03127
03128 void Threshold(
03129 QVImage<sFloat, 1> & qvimage_pSrcDst,
03130 const sFloat threshold,
03131 const IppCmpOp ippCmpOp)
03132 {
03133 IPP_DEBUG(Threshold, ippiThreshold_32f_C1IR,
03134 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03135 IMAGE_ROISIZE(qvimage_pSrcDst),
03136 threshold,
03137 ippCmpOp);
03138 }
03139
03140
03141 void Threshold_Val(
03142 const QVImage<uChar, 1> & qvimage_pSrc,
03143 QVImage<uChar, 1> & qvimage_pDst,
03144 const uChar threshold,
03145 const uChar value,
03146 const IppCmpOp ippCmpOp,
03147 const QPoint &destROIOffset)
03148 {
03149 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03150
03151 IPP_DEBUG(Threshold_Val, ippiThreshold_Val_8u_C1R,
03152 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03153 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03154 IMAGE_ROISIZE(qvimage_pDst),
03155 threshold,
03156 value,
03157 ippCmpOp);
03158 }
03159
03160
03161 void Threshold_Val(
03162 QVImage<uChar, 1> & qvimage_pSrcDst,
03163 const uChar threshold,
03164 const uChar value,
03165 const IppCmpOp ippCmpOp)
03166 {
03167 IPP_DEBUG(Threshold_Val, ippiThreshold_Val_8u_C1IR,
03168 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03169 IMAGE_ROISIZE(qvimage_pSrcDst),
03170 threshold,
03171 value,
03172 ippCmpOp);
03173 }
03174
03175
03176 void Threshold_Val(
03177 QVImage<sShort, 1> & qvimage_pSrcDst,
03178 const sShort threshold,
03179 const sShort value,
03180 const IppCmpOp ippCmpOp)
03181 {
03182 IPP_DEBUG(Threshold_Val, ippiThreshold_Val_16s_C1IR,
03183 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03184 IMAGE_ROISIZE(qvimage_pSrcDst),
03185 threshold,
03186 value,
03187 ippCmpOp);
03188 }
03189
03190
03191 void Threshold_Val(
03192 const QVImage<sFloat, 1> & qvimage_pSrc,
03193 QVImage<sFloat, 1> & qvimage_pDst,
03194 const sFloat threshold,
03195 const sFloat value,
03196 const IppCmpOp ippCmpOp,
03197 const QPoint &destROIOffset)
03198 {
03199 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03200
03201 IPP_DEBUG(Threshold_Val, ippiThreshold_Val_32f_C1R,
03202 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03203 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03204 IMAGE_ROISIZE(qvimage_pDst),
03205 threshold,
03206 value,
03207 ippCmpOp);
03208 }
03209
03210
03211 void Threshold_Val(
03212 QVImage<sFloat, 1> & qvimage_pSrcDst,
03213 const sFloat threshold,
03214 const sFloat value,
03215 const IppCmpOp ippCmpOp)
03216 {
03217 IPP_DEBUG(Threshold_Val, ippiThreshold_Val_32f_C1IR,
03218 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03219 IMAGE_ROISIZE(qvimage_pSrcDst),
03220 threshold,
03221 value,
03222 ippCmpOp);
03223 }
03224
03225
03226 void Threshold_LTValGTVal(
03227 const QVImage<uChar, 1> & qvimage_pSrc,
03228 QVImage<uChar, 1> & qvimage_pDst,
03229 const uChar thresholdLT,
03230 const uChar valueLT,
03231 const uChar thresholdGT,
03232 const uChar valueGT,
03233 const QPoint &destROIOffset)
03234 {
03235 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03236
03237 IPP_DEBUG(Threshold_LTValGTVal, ippiThreshold_LTValGTVal_8u_C1R,
03238 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03239 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03240 IMAGE_ROISIZE(qvimage_pDst),
03241 thresholdLT,
03242 valueLT,
03243 thresholdGT,
03244 valueGT);
03245 }
03246
03247
03248 void Threshold_LTValGTVal(
03249 const QVImage<sFloat, 1> & qvimage_pSrc,
03250 QVImage<sFloat, 1> & qvimage_pDst,
03251 const sFloat thresholdLT,
03252 const sFloat valueLT,
03253 const sFloat thresholdGT,
03254 const sFloat valueGT,
03255 const QPoint &destROIOffset)
03256 {
03257 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03258
03259 IPP_DEBUG(Threshold_LTValGTVal, ippiThreshold_LTValGTVal_32f_C1R,
03260 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03261 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03262 IMAGE_ROISIZE(qvimage_pDst),
03263 thresholdLT,
03264 valueLT,
03265 thresholdGT,
03266 valueGT);
03267 }
03268
03269
03270
03271 void ComputeThreshold_Otsu(
03272 const QVImage<uChar, 1> & qvimage_pSrc,
03273 uChar & pThreshold)
03274 {
03275 IPP_DEBUG(ComputeThreshold_Otsu, ippiComputeThreshold_Otsu_8u_C1R,
03276 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03277 IMAGE_ROISIZE(qvimage_pSrc),
03278 & pThreshold);
03279 }
03280
03281
03282 void Compare(
03283 const QVImage<uChar, 1> & qvimage_pSrc1,
03284 const QVImage<uChar, 1> & qvimage_pSrc2,
03285 QVImage<uChar, 1> & qvimage_pDst,
03286 const IppCmpOp ippCmpOp,
03287 const QPoint &destROIOffset)
03288 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
03289
03290 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
03291
03292 IPP_DEBUG(Compare, ippiCompare_8u_C1R,
03293 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
03294 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
03295 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03296 IMAGE_ROISIZE(qvimage_pDst),
03297 ippCmpOp);
03298 }
03299
03300
03301 void Compare(
03302 const QVImage<uShort, 1> & qvimage_pSrc1,
03303 const QVImage<uShort, 1> & qvimage_pSrc2,
03304 QVImage<uChar, 1> & qvimage_pDst,
03305 const IppCmpOp ippCmpOp,
03306 const QPoint &destROIOffset)
03307 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
03308
03309 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
03310
03311 IPP_DEBUG(Compare, ippiCompare_16u_C1R,
03312 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
03313 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
03314 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03315 IMAGE_ROISIZE(qvimage_pDst),
03316 ippCmpOp);
03317 }
03318
03319
03320 void Compare(
03321 const QVImage<sShort, 1> & qvimage_pSrc1,
03322 const QVImage<sShort, 1> & qvimage_pSrc2,
03323 QVImage<uChar, 1> & qvimage_pDst,
03324 const IppCmpOp ippCmpOp,
03325 const QPoint &destROIOffset)
03326 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
03327
03328 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
03329
03330 IPP_DEBUG(Compare, ippiCompare_16s_C1R,
03331 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
03332 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
03333 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03334 IMAGE_ROISIZE(qvimage_pDst),
03335 ippCmpOp);
03336 }
03337
03338
03339 void Compare(
03340 const QVImage<sFloat, 1> & qvimage_pSrc1,
03341 const QVImage<sFloat, 1> & qvimage_pSrc2,
03342 QVImage<uChar, 1> & qvimage_pDst,
03343 const IppCmpOp ippCmpOp,
03344 const QPoint &destROIOffset)
03345 { CHECK_SAME_ROISIZE(qvimage_pSrc1, qvimage_pSrc2);
03346
03347 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc1, destROIOffset, 0, 0);
03348
03349 IPP_DEBUG(Compare, ippiCompare_32f_C1R,
03350 PDATA_READ(qvimage_pSrc1), qvimage_pSrc1.getStep(),
03351 PDATA_READ(qvimage_pSrc2), qvimage_pSrc2.getStep(),
03352 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03353 IMAGE_ROISIZE(qvimage_pDst),
03354 ippCmpOp);
03355 }
03356
03357
03358 void CompareC(
03359 const QVImage<uChar, 1> & qvimage_pSrc,
03360 const uChar value,
03361 QVImage<uChar, 1> & qvimage_pDst,
03362 const IppCmpOp ippCmpOp,
03363 const QPoint &destROIOffset)
03364 {
03365 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03366
03367 IPP_DEBUG(CompareC, ippiCompareC_8u_C1R,
03368 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03369 value,
03370 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03371 IMAGE_ROISIZE(qvimage_pDst),
03372 ippCmpOp);
03373 }
03374
03375
03376 void CompareC(
03377 const QVImage<sFloat, 1> & qvimage_pSrc,
03378 const sFloat value,
03379 QVImage<uChar, 1> & qvimage_pDst,
03380 const IppCmpOp ippCmpOp,
03381 const QPoint &destROIOffset)
03382 {
03383 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
03384
03385 IPP_DEBUG(CompareC, ippiCompareC_32f_C1R,
03386 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03387 value,
03388 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03389 IMAGE_ROISIZE(qvimage_pDst),
03390 ippCmpOp);
03391 }
03392
03393
03394 void Dilate(
03395 const QVImage<uChar, 1> & qvimage_pSrc,
03396 QVImage<uChar, 1> & qvimage_pDst,
03397 const uChar & pMask,
03398 const QSize &maskSize,
03399 const QPoint &anchor,
03400 const QPoint &destROIOffset)
03401 {
03402 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03403 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03404
03405 IPP_DEBUG(Dilate, ippiDilate_8u_C1R,
03406 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03407 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03408 IMAGE_ROISIZE(qvimage_pDst),
03409 & pMask,
03410 IPP_SIZE_FROM_QSIZE(maskSize),
03411 IPP_POINT_FROM_QPOINT(anchor));
03412 }
03413
03414
03415 void Dilate(
03416 const QVImage<uChar, 3> & qvimage_pSrc,
03417 QVImage<uChar, 3> & qvimage_pDst,
03418 const uChar & pMask,
03419 const QSize &maskSize,
03420 const QPoint &anchor,
03421 const QPoint &destROIOffset)
03422 {
03423 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03424 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03425
03426 IPP_DEBUG(Dilate, ippiDilate_8u_C3R,
03427 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03428 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03429 IMAGE_ROISIZE(qvimage_pDst),
03430 & pMask,
03431 IPP_SIZE_FROM_QSIZE(maskSize),
03432 IPP_POINT_FROM_QPOINT(anchor));
03433 }
03434
03435
03436 void Dilate(
03437 QVImage<uChar, 1> & qvimage_pSrcDst,
03438 const uChar & pMask,
03439 const QSize &maskSize,
03440 const QPoint &anchor)
03441 {
03442 IPP_DEBUG(Dilate, ippiDilate_8u_C1IR,
03443 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03444 IMAGE_ROISIZE(qvimage_pSrcDst),
03445 & pMask,
03446 IPP_SIZE_FROM_QSIZE(maskSize),
03447 IPP_POINT_FROM_QPOINT(anchor));
03448 }
03449
03450
03451 void Dilate(
03452 const QVImage<uShort, 1> & qvimage_pSrc,
03453 QVImage<uShort, 1> & qvimage_pDst,
03454 const uChar & pMask,
03455 const QSize &maskSize,
03456 const QPoint &anchor,
03457 const QPoint &destROIOffset)
03458 {
03459 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03460 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03461
03462 IPP_DEBUG(Dilate, ippiDilate_16u_C1R,
03463 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03464 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03465 IMAGE_ROISIZE(qvimage_pDst),
03466 & pMask,
03467 IPP_SIZE_FROM_QSIZE(maskSize),
03468 IPP_POINT_FROM_QPOINT(anchor));
03469 }
03470
03471
03472 void Dilate(
03473 const QVImage<uShort, 3> & qvimage_pSrc,
03474 QVImage<uShort, 3> & qvimage_pDst,
03475 const uChar & pMask,
03476 const QSize &maskSize,
03477 const QPoint &anchor,
03478 const QPoint &destROIOffset)
03479 {
03480 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03481 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03482
03483 IPP_DEBUG(Dilate, ippiDilate_16u_C3R,
03484 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03485 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03486 IMAGE_ROISIZE(qvimage_pDst),
03487 & pMask,
03488 IPP_SIZE_FROM_QSIZE(maskSize),
03489 IPP_POINT_FROM_QPOINT(anchor));
03490 }
03491
03492
03493 void Dilate(
03494 const QVImage<sFloat, 1> & qvimage_pSrc,
03495 QVImage<sFloat, 1> & qvimage_pDst,
03496 const uChar & pMask,
03497 const QSize &maskSize,
03498 const QPoint &anchor,
03499 const QPoint &destROIOffset)
03500 {
03501 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03502 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03503
03504 IPP_DEBUG(Dilate, ippiDilate_32f_C1R,
03505 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03506 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03507 IMAGE_ROISIZE(qvimage_pDst),
03508 & pMask,
03509 IPP_SIZE_FROM_QSIZE(maskSize),
03510 IPP_POINT_FROM_QPOINT(anchor));
03511 }
03512
03513
03514 void Dilate(
03515 const QVImage<sFloat, 3> & qvimage_pSrc,
03516 QVImage<sFloat, 3> & qvimage_pDst,
03517 const uChar & pMask,
03518 const QSize &maskSize,
03519 const QPoint &anchor,
03520 const QPoint &destROIOffset)
03521 {
03522 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03523 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03524
03525 IPP_DEBUG(Dilate, ippiDilate_32f_C3R,
03526 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03527 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03528 IMAGE_ROISIZE(qvimage_pDst),
03529 & pMask,
03530 IPP_SIZE_FROM_QSIZE(maskSize),
03531 IPP_POINT_FROM_QPOINT(anchor));
03532 }
03533
03534
03535 void Erode(
03536 const QVImage<uChar, 1> & qvimage_pSrc,
03537 QVImage<uChar, 1> & qvimage_pDst,
03538 const uChar & pMask,
03539 const QSize &maskSize,
03540 const QPoint &anchor,
03541 const QPoint &destROIOffset)
03542 {
03543 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03544 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03545
03546 IPP_DEBUG(Erode, ippiErode_8u_C1R,
03547 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03548 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03549 IMAGE_ROISIZE(qvimage_pDst),
03550 & pMask,
03551 IPP_SIZE_FROM_QSIZE(maskSize),
03552 IPP_POINT_FROM_QPOINT(anchor));
03553 }
03554
03555
03556 void Erode(
03557 const QVImage<uChar, 3> & qvimage_pSrc,
03558 QVImage<uChar, 3> & qvimage_pDst,
03559 const uChar & pMask,
03560 const QSize &maskSize,
03561 const QPoint &anchor,
03562 const QPoint &destROIOffset)
03563 {
03564 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03565 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03566
03567 IPP_DEBUG(Erode, ippiErode_8u_C3R,
03568 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03569 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03570 IMAGE_ROISIZE(qvimage_pDst),
03571 & pMask,
03572 IPP_SIZE_FROM_QSIZE(maskSize),
03573 IPP_POINT_FROM_QPOINT(anchor));
03574 }
03575
03576
03577 void Erode(
03578 QVImage<uChar, 1> & qvimage_pSrcDst,
03579 const uChar & pMask,
03580 const QSize &maskSize,
03581 const QPoint &anchor)
03582 {
03583 IPP_DEBUG(Erode, ippiErode_8u_C1IR,
03584 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
03585 IMAGE_ROISIZE(qvimage_pSrcDst),
03586 & pMask,
03587 IPP_SIZE_FROM_QSIZE(maskSize),
03588 IPP_POINT_FROM_QPOINT(anchor));
03589 }
03590
03591
03592 void Erode(
03593 const QVImage<uShort, 1> & qvimage_pSrc,
03594 QVImage<uShort, 1> & qvimage_pDst,
03595 const uChar & pMask,
03596 const QSize &maskSize,
03597 const QPoint &anchor,
03598 const QPoint &destROIOffset)
03599 {
03600 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03601 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03602
03603 IPP_DEBUG(Erode, ippiErode_16u_C1R,
03604 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03605 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03606 IMAGE_ROISIZE(qvimage_pDst),
03607 & pMask,
03608 IPP_SIZE_FROM_QSIZE(maskSize),
03609 IPP_POINT_FROM_QPOINT(anchor));
03610 }
03611
03612
03613 void Erode(
03614 const QVImage<uShort, 3> & qvimage_pSrc,
03615 QVImage<uShort, 3> & qvimage_pDst,
03616 const uChar & pMask,
03617 const QSize &maskSize,
03618 const QPoint &anchor,
03619 const QPoint &destROIOffset)
03620 {
03621 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03622 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03623
03624 IPP_DEBUG(Erode, ippiErode_16u_C3R,
03625 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03626 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03627 IMAGE_ROISIZE(qvimage_pDst),
03628 & pMask,
03629 IPP_SIZE_FROM_QSIZE(maskSize),
03630 IPP_POINT_FROM_QPOINT(anchor));
03631 }
03632
03633
03634 void Erode(
03635 const QVImage<sFloat, 1> & qvimage_pSrc,
03636 QVImage<sFloat, 1> & qvimage_pDst,
03637 const uChar & pMask,
03638 const QSize &maskSize,
03639 const QPoint &anchor,
03640 const QPoint &destROIOffset)
03641 {
03642 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03643 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03644
03645 IPP_DEBUG(Erode, ippiErode_32f_C1R,
03646 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03647 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03648 IMAGE_ROISIZE(qvimage_pDst),
03649 & pMask,
03650 IPP_SIZE_FROM_QSIZE(maskSize),
03651 IPP_POINT_FROM_QPOINT(anchor));
03652 }
03653
03654
03655 void Erode(
03656 const QVImage<sFloat, 3> & qvimage_pSrc,
03657 QVImage<sFloat, 3> & qvimage_pDst,
03658 const uChar & pMask,
03659 const QSize &maskSize,
03660 const QPoint &anchor,
03661 const QPoint &destROIOffset)
03662 {
03663 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03664 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03665
03666 IPP_DEBUG(Erode, ippiErode_32f_C3R,
03667 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03668 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03669 IMAGE_ROISIZE(qvimage_pDst),
03670 & pMask,
03671 IPP_SIZE_FROM_QSIZE(maskSize),
03672 IPP_POINT_FROM_QPOINT(anchor));
03673 }
03674
03675
03676 void FilterBox(
03677 const QVImage<uChar, 1> & qvimage_pSrc,
03678 QVImage<uChar, 1> & qvimage_pDst,
03679 const QSize &maskSize,
03680 const QPoint &anchor,
03681 const QPoint &destROIOffset)
03682 {
03683 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03684 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03685
03686 IPP_DEBUG(FilterBox, ippiFilterBox_8u_C1R,
03687 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03688 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03689 IMAGE_ROISIZE(qvimage_pDst),
03690 IPP_SIZE_FROM_QSIZE(maskSize),
03691 IPP_POINT_FROM_QPOINT(anchor));
03692 }
03693
03694
03695 void FilterBox(
03696 const QVImage<uChar, 3> & qvimage_pSrc,
03697 QVImage<uChar, 3> & qvimage_pDst,
03698 const QSize &maskSize,
03699 const QPoint &anchor,
03700 const QPoint &destROIOffset)
03701 {
03702 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03703 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03704
03705 IPP_DEBUG(FilterBox, ippiFilterBox_8u_C3R,
03706 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03707 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03708 IMAGE_ROISIZE(qvimage_pDst),
03709 IPP_SIZE_FROM_QSIZE(maskSize),
03710 IPP_POINT_FROM_QPOINT(anchor));
03711 }
03712
03713
03714 void FilterBox(
03715 const QVImage<uShort, 1> & qvimage_pSrc,
03716 QVImage<uShort, 1> & qvimage_pDst,
03717 const QSize &maskSize,
03718 const QPoint &anchor,
03719 const QPoint &destROIOffset)
03720 {
03721 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03722 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03723
03724 IPP_DEBUG(FilterBox, ippiFilterBox_16u_C1R,
03725 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03726 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03727 IMAGE_ROISIZE(qvimage_pDst),
03728 IPP_SIZE_FROM_QSIZE(maskSize),
03729 IPP_POINT_FROM_QPOINT(anchor));
03730 }
03731
03732
03733 void FilterBox(
03734 const QVImage<sFloat, 1> & qvimage_pSrc,
03735 QVImage<sFloat, 1> & qvimage_pDst,
03736 const QSize &maskSize,
03737 const QPoint &anchor,
03738 const QPoint &destROIOffset)
03739 {
03740 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03741 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03742
03743 IPP_DEBUG(FilterBox, ippiFilterBox_32f_C1R,
03744 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03745 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03746 IMAGE_ROISIZE(qvimage_pDst),
03747 IPP_SIZE_FROM_QSIZE(maskSize),
03748 IPP_POINT_FROM_QPOINT(anchor));
03749 }
03750
03751
03752 void FilterMin(
03753 const QVImage<uChar, 1> & qvimage_pSrc,
03754 QVImage<uChar, 1> & qvimage_pDst,
03755 const QSize &maskSize,
03756 const QPoint &anchor,
03757 const QPoint &destROIOffset)
03758 {
03759 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03760 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03761
03762 IPP_DEBUG(FilterMin, ippiFilterMin_8u_C1R,
03763 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03764 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03765 IMAGE_ROISIZE(qvimage_pDst),
03766 IPP_SIZE_FROM_QSIZE(maskSize),
03767 IPP_POINT_FROM_QPOINT(anchor));
03768 }
03769
03770
03771 void FilterMin(
03772 const QVImage<uChar, 3> & qvimage_pSrc,
03773 QVImage<uChar, 3> & qvimage_pDst,
03774 const QSize &maskSize,
03775 const QPoint &anchor,
03776 const QPoint &destROIOffset)
03777 {
03778 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03779 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03780
03781 IPP_DEBUG(FilterMin, ippiFilterMin_8u_C3R,
03782 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03783 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03784 IMAGE_ROISIZE(qvimage_pDst),
03785 IPP_SIZE_FROM_QSIZE(maskSize),
03786 IPP_POINT_FROM_QPOINT(anchor));
03787 }
03788
03789
03790 void FilterMin(
03791 const QVImage<uShort, 1> & qvimage_pSrc,
03792 QVImage<uShort, 1> & qvimage_pDst,
03793 const QSize &maskSize,
03794 const QPoint &anchor,
03795 const QPoint &destROIOffset)
03796 {
03797 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03798 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03799
03800 IPP_DEBUG(FilterMin, ippiFilterMin_16u_C1R,
03801 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03802 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03803 IMAGE_ROISIZE(qvimage_pDst),
03804 IPP_SIZE_FROM_QSIZE(maskSize),
03805 IPP_POINT_FROM_QPOINT(anchor));
03806 }
03807
03808
03809 void FilterMin(
03810 const QVImage<sFloat, 1> & qvimage_pSrc,
03811 QVImage<sFloat, 1> & qvimage_pDst,
03812 const QSize &maskSize,
03813 const QPoint &anchor,
03814 const QPoint &destROIOffset)
03815 {
03816 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03817 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03818
03819 IPP_DEBUG(FilterMin, ippiFilterMin_32f_C1R,
03820 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03821 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03822 IMAGE_ROISIZE(qvimage_pDst),
03823 IPP_SIZE_FROM_QSIZE(maskSize),
03824 IPP_POINT_FROM_QPOINT(anchor));
03825 }
03826
03827
03828 void FilterMax(
03829 const QVImage<uChar, 1> & qvimage_pSrc,
03830 QVImage<uChar, 1> & qvimage_pDst,
03831 const QSize &maskSize,
03832 const QPoint &anchor,
03833 const QPoint &destROIOffset)
03834 {
03835 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03836 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03837
03838 IPP_DEBUG(FilterMax, ippiFilterMax_8u_C1R,
03839 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03840 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03841 IMAGE_ROISIZE(qvimage_pDst),
03842 IPP_SIZE_FROM_QSIZE(maskSize),
03843 IPP_POINT_FROM_QPOINT(anchor));
03844 }
03845
03846
03847 void FilterMax(
03848 const QVImage<uChar, 3> & qvimage_pSrc,
03849 QVImage<uChar, 3> & qvimage_pDst,
03850 const QSize &maskSize,
03851 const QPoint &anchor,
03852 const QPoint &destROIOffset)
03853 {
03854 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03855 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03856
03857 IPP_DEBUG(FilterMax, ippiFilterMax_8u_C3R,
03858 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03859 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03860 IMAGE_ROISIZE(qvimage_pDst),
03861 IPP_SIZE_FROM_QSIZE(maskSize),
03862 IPP_POINT_FROM_QPOINT(anchor));
03863 }
03864
03865
03866 void FilterMax(
03867 const QVImage<uShort, 1> & qvimage_pSrc,
03868 QVImage<uShort, 1> & qvimage_pDst,
03869 const QSize &maskSize,
03870 const QPoint &anchor,
03871 const QPoint &destROIOffset)
03872 {
03873 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03874 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03875
03876 IPP_DEBUG(FilterMax, ippiFilterMax_16u_C1R,
03877 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03878 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03879 IMAGE_ROISIZE(qvimage_pDst),
03880 IPP_SIZE_FROM_QSIZE(maskSize),
03881 IPP_POINT_FROM_QPOINT(anchor));
03882 }
03883
03884
03885 void FilterMax(
03886 const QVImage<sFloat, 1> & qvimage_pSrc,
03887 QVImage<sFloat, 1> & qvimage_pDst,
03888 const QSize &maskSize,
03889 const QPoint &anchor,
03890 const QPoint &destROIOffset)
03891 {
03892 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03893 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03894
03895 IPP_DEBUG(FilterMax, ippiFilterMax_32f_C1R,
03896 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03897 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03898 IMAGE_ROISIZE(qvimage_pDst),
03899 IPP_SIZE_FROM_QSIZE(maskSize),
03900 IPP_POINT_FROM_QPOINT(anchor));
03901 }
03902
03903
03904 void FilterMedian(
03905 const QVImage<uChar, 1> & qvimage_pSrc,
03906 QVImage<uChar, 1> & qvimage_pDst,
03907 const QSize &maskSize,
03908 const QPoint &anchor,
03909 const QPoint &destROIOffset)
03910 {
03911 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03912 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03913
03914 IPP_DEBUG(FilterMedian, ippiFilterMedian_8u_C1R,
03915 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03916 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03917 IMAGE_ROISIZE(qvimage_pDst),
03918 IPP_SIZE_FROM_QSIZE(maskSize),
03919 IPP_POINT_FROM_QPOINT(anchor));
03920 }
03921
03922
03923 void FilterMedian(
03924 const QVImage<uChar, 3> & qvimage_pSrc,
03925 QVImage<uChar, 3> & qvimage_pDst,
03926 const QSize &maskSize,
03927 const QPoint &anchor,
03928 const QPoint &destROIOffset)
03929 {
03930 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03931 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03932
03933 IPP_DEBUG(FilterMedian, ippiFilterMedian_8u_C3R,
03934 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03935 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03936 IMAGE_ROISIZE(qvimage_pDst),
03937 IPP_SIZE_FROM_QSIZE(maskSize),
03938 IPP_POINT_FROM_QPOINT(anchor));
03939 }
03940
03941
03942 void FilterMedian(
03943 const QVImage<uShort, 1> & qvimage_pSrc,
03944 QVImage<uShort, 1> & qvimage_pDst,
03945 const QSize &maskSize,
03946 const QPoint &anchor,
03947 const QPoint &destROIOffset)
03948 {
03949 const int colMaskRadius = maskSize.width(), rowMaskRadius = maskSize.height();
03950 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, colMaskRadius-1, rowMaskRadius-1);
03951
03952 IPP_DEBUG(FilterMedian, ippiFilterMedian_16u_C1R,
03953 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
03954 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03955 IMAGE_ROISIZE(qvimage_pDst),
03956 IPP_SIZE_FROM_QSIZE(maskSize),
03957 IPP_POINT_FROM_QPOINT(anchor));
03958 }
03959
03960
03961 void FilterMedianHoriz(
03962 const QVImage<uChar, 1> & qvimage_pSrc,
03963 QVImage<uChar, 1> & qvimage_pDst,
03964 const IppiMaskSize mask,
03965 const QPoint &destROIOffset)
03966 {
03967 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
03968 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
03969
03970 IPP_DEBUG(FilterMedianHoriz, ippiFilterMedianHoriz_8u_C1R,
03971 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
03972 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03973 IMAGE_ROISIZE(qvimage_pDst),
03974 mask);
03975 }
03976
03977
03978 void FilterMedianVert(
03979 const QVImage<uChar, 1> & qvimage_pSrc,
03980 QVImage<uChar, 1> & qvimage_pDst,
03981 const IppiMaskSize mask,
03982 const QPoint &destROIOffset)
03983 {
03984 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
03985 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
03986
03987 IPP_DEBUG(FilterMedianVert, ippiFilterMedianVert_8u_C1R,
03988 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
03989 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
03990 IMAGE_ROISIZE(qvimage_pDst),
03991 mask);
03992 }
03993
03994
03995 void FilterMedianCross(
03996 const QVImage<uChar, 1> & qvimage_pSrc,
03997 QVImage<uChar, 1> & qvimage_pDst,
03998 const IppiMaskSize mask,
03999 const QPoint &destROIOffset)
04000 {
04001 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04002 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04003
04004 IPP_DEBUG(FilterMedianCross, ippiFilterMedianCross_8u_C1R,
04005 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04006 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04007 IMAGE_ROISIZE(qvimage_pDst),
04008 mask);
04009 }
04010
04011
04012
04013 void FilterMedianWeightedCenter3x3(
04014 const QVImage<uChar, 1> & qvimage_pSrc,
04015 QVImage<uChar, 1> & qvimage_pDst,
04016 const int weight,
04017 const QPoint &destROIOffset)
04018 {
04019 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04020
04021 IPP_DEBUG(FilterMedianWeightedCenter3x3, ippiFilterMedianWeightedCenter3x3_8u_C1R,
04022 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04023 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04024 IMAGE_ROISIZE(qvimage_pDst),
04025 weight);
04026 }
04027
04028
04029 void FilterMedianColor(
04030 const QVImage<uChar, 3> & qvimage_pSrc,
04031 QVImage<uChar, 3> & qvimage_pDst,
04032 const IppiMaskSize mask,
04033 const QPoint &destROIOffset)
04034 {
04035 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04036 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04037
04038 IPP_DEBUG(FilterMedianColor, ippiFilterMedianColor_8u_C3R,
04039 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04040 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04041 IMAGE_ROISIZE(qvimage_pDst),
04042 mask);
04043 }
04044
04045
04046 void FilterSobelHorizMask(
04047 const QVImage<sFloat, 1> & qvimage_pSrc,
04048 QVImage<sFloat, 1> & qvimage_pDst,
04049 const IppiMaskSize mask,
04050 const QPoint &destROIOffset)
04051 {
04052 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04053 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04054
04055 IPP_DEBUG(FilterSobelHorizMask, ippiFilterSobelHorizMask_32f_C1R,
04056 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04057 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04058 IMAGE_ROISIZE(qvimage_pDst),
04059 mask);
04060 }
04061
04062
04063 void FilterSobelVertMask(
04064 const QVImage<sFloat, 1> & qvimage_pSrc,
04065 QVImage<sFloat, 1> & qvimage_pDst,
04066 const IppiMaskSize mask,
04067 const QPoint &destROIOffset)
04068 {
04069 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04070 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04071
04072 IPP_DEBUG(FilterSobelVertMask, ippiFilterSobelVertMask_32f_C1R,
04073 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04074 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04075 IMAGE_ROISIZE(qvimage_pDst),
04076 mask);
04077 }
04078
04079
04080 void FilterLaplace(
04081 const QVImage<uChar, 1> & qvimage_pSrc,
04082 QVImage<uChar, 1> & qvimage_pDst,
04083 const IppiMaskSize mask,
04084 const QPoint &destROIOffset)
04085 {
04086 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04087 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04088
04089 IPP_DEBUG(FilterLaplace, ippiFilterLaplace_8u_C1R,
04090 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04091 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04092 IMAGE_ROISIZE(qvimage_pDst),
04093 mask);
04094 }
04095
04096
04097 void FilterLaplace(
04098 const QVImage<sShort, 1> & qvimage_pSrc,
04099 QVImage<sShort, 1> & qvimage_pDst,
04100 const IppiMaskSize mask,
04101 const QPoint &destROIOffset)
04102 {
04103 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04104 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04105
04106 IPP_DEBUG(FilterLaplace, ippiFilterLaplace_16s_C1R,
04107 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04108 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04109 IMAGE_ROISIZE(qvimage_pDst),
04110 mask);
04111 }
04112
04113
04114 void FilterLaplace(
04115 const QVImage<sFloat, 1> & qvimage_pSrc,
04116 QVImage<sFloat, 1> & qvimage_pDst,
04117 const IppiMaskSize mask,
04118 const QPoint &destROIOffset)
04119 {
04120 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04121 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04122
04123 IPP_DEBUG(FilterLaplace, ippiFilterLaplace_32f_C1R,
04124 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04125 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04126 IMAGE_ROISIZE(qvimage_pDst),
04127 mask);
04128 }
04129
04130
04131 void FilterGauss(
04132 const QVImage<uChar, 1> & qvimage_pSrc,
04133 QVImage<uChar, 1> & qvimage_pDst,
04134 const IppiMaskSize mask,
04135 const QPoint &destROIOffset)
04136 {
04137 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04138 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04139
04140 IPP_DEBUG(FilterGauss, ippiFilterGauss_8u_C1R,
04141 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04142 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04143 IMAGE_ROISIZE(qvimage_pDst),
04144 mask);
04145 }
04146
04147
04148 void FilterGauss(
04149 const QVImage<sFloat, 1> & qvimage_pSrc,
04150 QVImage<sFloat, 1> & qvimage_pDst,
04151 const IppiMaskSize mask,
04152 const QPoint &destROIOffset)
04153 {
04154 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04155 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04156
04157 IPP_DEBUG(FilterGauss, ippiFilterGauss_32f_C1R,
04158 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04159 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04160 IMAGE_ROISIZE(qvimage_pDst),
04161 mask);
04162 }
04163
04164
04165 void FilterGauss(
04166 const QVImage<uChar, 3> & qvimage_pSrc,
04167 QVImage<uChar, 3> & qvimage_pDst,
04168 const IppiMaskSize mask,
04169 const QPoint &destROIOffset)
04170 {
04171 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04172 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04173
04174 IPP_DEBUG(FilterGauss, ippiFilterGauss_8u_C3R,
04175 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04176 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04177 IMAGE_ROISIZE(qvimage_pDst),
04178 mask);
04179 }
04180
04181
04182 void FilterGauss(
04183 const QVImage<sFloat, 3> & qvimage_pSrc,
04184 QVImage<sFloat, 3> & qvimage_pDst,
04185 const IppiMaskSize mask,
04186 const QPoint &destROIOffset)
04187 {
04188 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04189 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04190
04191 IPP_DEBUG(FilterGauss, ippiFilterGauss_32f_C3R,
04192 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04193 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04194 IMAGE_ROISIZE(qvimage_pDst),
04195 mask);
04196 }
04197
04198
04199 void FilterHipass(
04200 const QVImage<uChar, 1> & qvimage_pSrc,
04201 QVImage<uChar, 1> & qvimage_pDst,
04202 const IppiMaskSize mask,
04203 const QPoint &destROIOffset)
04204 {
04205 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04206 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04207
04208 IPP_DEBUG(FilterHipass, ippiFilterHipass_8u_C1R,
04209 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04210 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04211 IMAGE_ROISIZE(qvimage_pDst),
04212 mask);
04213 }
04214
04215
04216 void FilterHipass(
04217 const QVImage<uChar, 3> & qvimage_pSrc,
04218 QVImage<uChar, 3> & qvimage_pDst,
04219 const IppiMaskSize mask,
04220 const QPoint &destROIOffset)
04221 {
04222 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04223 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04224
04225 IPP_DEBUG(FilterHipass, ippiFilterHipass_8u_C3R,
04226 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04227 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04228 IMAGE_ROISIZE(qvimage_pDst),
04229 mask);
04230 }
04231
04232
04233 void FilterHipass(
04234 const QVImage<sFloat, 1> & qvimage_pSrc,
04235 QVImage<sFloat, 1> & qvimage_pDst,
04236 const IppiMaskSize mask,
04237 const QPoint &destROIOffset)
04238 {
04239 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04240 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04241
04242 IPP_DEBUG(FilterHipass, ippiFilterHipass_32f_C1R,
04243 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04244 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04245 IMAGE_ROISIZE(qvimage_pDst),
04246 mask);
04247 }
04248
04249
04250 void FilterHipass(
04251 const QVImage<sFloat, 3> & qvimage_pSrc,
04252 QVImage<sFloat, 3> & qvimage_pDst,
04253 const IppiMaskSize mask,
04254 const QPoint &destROIOffset)
04255 {
04256 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04257 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04258
04259 IPP_DEBUG(FilterHipass, ippiFilterHipass_32f_C3R,
04260 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04261 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04262 IMAGE_ROISIZE(qvimage_pDst),
04263 mask);
04264 }
04265
04266
04267 void FilterLowpass(
04268 const QVImage<uChar, 1> & qvimage_pSrc,
04269 QVImage<uChar, 1> & qvimage_pDst,
04270 const IppiMaskSize mask,
04271 const QPoint &destROIOffset)
04272 {
04273 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04274 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04275
04276 IPP_DEBUG(FilterLowpass, ippiFilterLowpass_8u_C1R,
04277 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04278 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04279 IMAGE_ROISIZE(qvimage_pDst),
04280 mask);
04281 }
04282
04283
04284 void FilterLowpass(
04285 const QVImage<sFloat, 1> & qvimage_pSrc,
04286 QVImage<sFloat, 1> & qvimage_pDst,
04287 const IppiMaskSize mask,
04288 const QPoint &destROIOffset)
04289 {
04290 const int maskCols = IPP_MASK_SIZE_COLS(mask)-1, maskRows = IPP_MASK_SIZE_ROWS(mask)-1;
04291 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, maskCols, maskRows);
04292
04293 IPP_DEBUG(FilterLowpass, ippiFilterLowpass_32f_C1R,
04294 PDATA_READ_MARGIN(qvimage_pSrc, maskCols/2, maskRows/2), qvimage_pSrc.getStep(),
04295 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04296 IMAGE_ROISIZE(qvimage_pDst),
04297 mask);
04298 }
04299
04300
04301 void Sum(
04302 const QVImage<uChar, 1> & qvimage_pSrc,
04303 sDouble & pSum)
04304 {
04305 IPP_DEBUG(Sum, ippiSum_8u_C1R,
04306 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04307 IMAGE_ROISIZE(qvimage_pSrc),
04308 & pSum);
04309 }
04310
04311
04312 void Sum(
04313 const QVImage<uChar, 3> & qvimage_pSrc,
04314 sDouble sum[3])
04315 {
04316 IPP_DEBUG(Sum, ippiSum_8u_C3R,
04317 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04318 IMAGE_ROISIZE(qvimage_pSrc),
04319 sum);
04320 }
04321
04322
04323 void Sum(
04324 const QVImage<sShort, 1> & qvimage_pSrc,
04325 sDouble & pSum)
04326 {
04327 IPP_DEBUG(Sum, ippiSum_16s_C1R,
04328 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04329 IMAGE_ROISIZE(qvimage_pSrc),
04330 & pSum);
04331 }
04332
04333
04334 void Sum(
04335 const QVImage<sShort, 3> & qvimage_pSrc,
04336 sDouble sum[3])
04337 {
04338 IPP_DEBUG(Sum, ippiSum_16s_C3R,
04339 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04340 IMAGE_ROISIZE(qvimage_pSrc),
04341 sum);
04342 }
04343
04344
04345 void Integral(
04346 const QVImage<uChar, 1> & qvimage_pSrc,
04347 QVImage<sInt, 1> & qvimage_pDst,
04348 const sInt val,
04349 const QPoint &destROIOffset)
04350 {
04351 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04352
04353 IPP_DEBUG(Integral, ippiIntegral_8u32s_C1R,
04354 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04355 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04356 IMAGE_ROISIZE(qvimage_pDst),
04357 val);
04358 }
04359
04360
04361 void Integral(
04362 const QVImage<uChar, 1> & qvimage_pSrc,
04363 QVImage<sFloat, 1> & qvimage_pDst,
04364 const sFloat val,
04365 const QPoint &destROIOffset)
04366 {
04367 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04368
04369 IPP_DEBUG(Integral, ippiIntegral_8u32f_C1R,
04370 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04371 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04372 IMAGE_ROISIZE(qvimage_pDst),
04373 val);
04374 }
04375
04376
04377 void Mean(
04378 const QVImage<uChar, 1> & qvimage_pSrc,
04379 sDouble & pMean)
04380 {
04381 IPP_DEBUG(Mean, ippiMean_8u_C1R,
04382 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04383 IMAGE_ROISIZE(qvimage_pSrc),
04384 & pMean);
04385 }
04386
04387
04388 void Mean(
04389 const QVImage<uChar, 3> & qvimage_pSrc,
04390 sDouble mean[3])
04391 {
04392 IPP_DEBUG(Mean, ippiMean_8u_C3R,
04393 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04394 IMAGE_ROISIZE(qvimage_pSrc),
04395 mean);
04396 }
04397
04398
04399 void Mean(
04400 const QVImage<sShort, 1> & qvimage_pSrc,
04401 sDouble & pMean)
04402 {
04403 IPP_DEBUG(Mean, ippiMean_16s_C1R,
04404 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04405 IMAGE_ROISIZE(qvimage_pSrc),
04406 & pMean);
04407 }
04408
04409
04410 void Mean(
04411 const QVImage<sShort, 3> & qvimage_pSrc,
04412 sDouble mean[3])
04413 {
04414 IPP_DEBUG(Mean, ippiMean_16s_C3R,
04415 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04416 IMAGE_ROISIZE(qvimage_pSrc),
04417 mean);
04418 }
04419
04420
04421 void Min(
04422 const QVImage<uChar, 1> & qvimage_pSrc,
04423 uChar & pMin)
04424 {
04425 IPP_DEBUG(Min, ippiMin_8u_C1R,
04426 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04427 IMAGE_ROISIZE(qvimage_pSrc),
04428 & pMin);
04429 }
04430
04431
04432 void Min(
04433 const QVImage<uChar, 3> & qvimage_pSrc,
04434 uChar min[3])
04435 {
04436 IPP_DEBUG(Min, ippiMin_8u_C3R,
04437 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04438 IMAGE_ROISIZE(qvimage_pSrc),
04439 min);
04440 }
04441
04442
04443 void Min(
04444 const QVImage<sShort, 1> & qvimage_pSrc,
04445 sShort & pMin)
04446 {
04447 IPP_DEBUG(Min, ippiMin_16s_C1R,
04448 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04449 IMAGE_ROISIZE(qvimage_pSrc),
04450 & pMin);
04451 }
04452
04453
04454 void Min(
04455 const QVImage<sShort, 3> & qvimage_pSrc,
04456 sShort min[3])
04457 {
04458 IPP_DEBUG(Min, ippiMin_16s_C3R,
04459 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04460 IMAGE_ROISIZE(qvimage_pSrc),
04461 min);
04462 }
04463
04464
04465 void Min(
04466 const QVImage<sFloat, 1> & qvimage_pSrc,
04467 sFloat & pMin)
04468 {
04469 IPP_DEBUG(Min, ippiMin_32f_C1R,
04470 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04471 IMAGE_ROISIZE(qvimage_pSrc),
04472 & pMin);
04473 }
04474
04475
04476 void Max(
04477 const QVImage<uChar, 1> & qvimage_pSrc,
04478 uChar & pMax)
04479 {
04480 IPP_DEBUG(Max, ippiMax_8u_C1R,
04481 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04482 IMAGE_ROISIZE(qvimage_pSrc),
04483 & pMax);
04484 }
04485
04486
04487 void Max(
04488 const QVImage<uChar, 3> & qvimage_pSrc,
04489 uChar max[3])
04490 {
04491 IPP_DEBUG(Max, ippiMax_8u_C3R,
04492 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04493 IMAGE_ROISIZE(qvimage_pSrc),
04494 max);
04495 }
04496
04497
04498 void Max(
04499 const QVImage<sShort, 1> & qvimage_pSrc,
04500 sShort & pMax)
04501 {
04502 IPP_DEBUG(Max, ippiMax_16s_C1R,
04503 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04504 IMAGE_ROISIZE(qvimage_pSrc),
04505 & pMax);
04506 }
04507
04508
04509 void Max(
04510 const QVImage<sShort, 3> & qvimage_pSrc,
04511 sShort max[3])
04512 {
04513 IPP_DEBUG(Max, ippiMax_16s_C3R,
04514 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04515 IMAGE_ROISIZE(qvimage_pSrc),
04516 max);
04517 }
04518
04519
04520 void Max(
04521 const QVImage<sFloat, 1> & qvimage_pSrc,
04522 sFloat & pMax)
04523 {
04524 IPP_DEBUG(Max, ippiMax_32f_C1R,
04525 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04526 IMAGE_ROISIZE(qvimage_pSrc),
04527 & pMax);
04528 }
04529
04530
04531 void MinEvery(
04532 const QVImage<uChar, 1> & qvimage_pSrc,
04533 QVImage<uChar, 1> & qvimage_pSrcDst,
04534 const QPoint &destROIOffset)
04535 {
04536 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04537
04538 IPP_DEBUG(MinEvery, ippiMinEvery_8u_C1IR,
04539 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04540 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04541 IMAGE_ROISIZE(qvimage_pSrcDst));
04542 }
04543
04544
04545 void MinEvery(
04546 const QVImage<uChar, 3> & qvimage_pSrc,
04547 QVImage<uChar, 3> & qvimage_pSrcDst,
04548 const QPoint &destROIOffset)
04549 {
04550 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04551
04552 IPP_DEBUG(MinEvery, ippiMinEvery_8u_C3IR,
04553 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04554 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04555 IMAGE_ROISIZE(qvimage_pSrcDst));
04556 }
04557
04558
04559 void MinEvery(
04560 const QVImage<sShort, 1> & qvimage_pSrc,
04561 QVImage<sShort, 1> & qvimage_pSrcDst,
04562 const QPoint &destROIOffset)
04563 {
04564 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04565
04566 IPP_DEBUG(MinEvery, ippiMinEvery_16s_C1IR,
04567 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04568 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04569 IMAGE_ROISIZE(qvimage_pSrcDst));
04570 }
04571
04572
04573 void MinEvery(
04574 const QVImage<sShort, 3> & qvimage_pSrc,
04575 QVImage<sShort, 3> & qvimage_pSrcDst,
04576 const QPoint &destROIOffset)
04577 {
04578 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04579
04580 IPP_DEBUG(MinEvery, ippiMinEvery_16s_C3IR,
04581 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04582 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04583 IMAGE_ROISIZE(qvimage_pSrcDst));
04584 }
04585
04586
04587 void MinEvery(
04588 const QVImage<sFloat, 1> & qvimage_pSrc,
04589 QVImage<sFloat, 1> & qvimage_pSrcDst,
04590 const QPoint &destROIOffset)
04591 {
04592 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04593
04594 IPP_DEBUG(MinEvery, ippiMinEvery_32f_C1IR,
04595 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04596 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04597 IMAGE_ROISIZE(qvimage_pSrcDst));
04598 }
04599
04600
04601 void MaxEvery(
04602 const QVImage<uChar, 1> & qvimage_pSrc,
04603 QVImage<uChar, 1> & qvimage_pSrcDst,
04604 const QPoint &destROIOffset)
04605 {
04606 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04607
04608 IPP_DEBUG(MaxEvery, ippiMaxEvery_8u_C1IR,
04609 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04610 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04611 IMAGE_ROISIZE(qvimage_pSrcDst));
04612 }
04613
04614
04615 void MaxEvery(
04616 const QVImage<uChar, 3> & qvimage_pSrc,
04617 QVImage<uChar, 3> & qvimage_pSrcDst,
04618 const QPoint &destROIOffset)
04619 {
04620 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04621
04622 IPP_DEBUG(MaxEvery, ippiMaxEvery_8u_C3IR,
04623 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04624 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04625 IMAGE_ROISIZE(qvimage_pSrcDst));
04626 }
04627
04628
04629 void MaxEvery(
04630 const QVImage<sShort, 1> & qvimage_pSrc,
04631 QVImage<sShort, 1> & qvimage_pSrcDst,
04632 const QPoint &destROIOffset)
04633 {
04634 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04635
04636 IPP_DEBUG(MaxEvery, ippiMaxEvery_16s_C1IR,
04637 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04638 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04639 IMAGE_ROISIZE(qvimage_pSrcDst));
04640 }
04641
04642
04643 void MaxEvery(
04644 const QVImage<sShort, 3> & qvimage_pSrc,
04645 QVImage<sShort, 3> & qvimage_pSrcDst,
04646 const QPoint &destROIOffset)
04647 {
04648 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04649
04650 IPP_DEBUG(MaxEvery, ippiMaxEvery_16s_C3IR,
04651 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04652 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04653 IMAGE_ROISIZE(qvimage_pSrcDst));
04654 }
04655
04656
04657 void MaxEvery(
04658 const QVImage<sFloat, 1> & qvimage_pSrc,
04659 QVImage<sFloat, 1> & qvimage_pSrcDst,
04660 const QPoint &destROIOffset)
04661 {
04662 COMPOSE_ROI(qvimage_pSrcDst, qvimage_pSrc, destROIOffset, 0, 0);
04663
04664 IPP_DEBUG(MaxEvery, ippiMaxEvery_32f_C1IR,
04665 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04666 PDATA_WRITE(qvimage_pSrcDst), qvimage_pSrcDst.getStep(),
04667 IMAGE_ROISIZE(qvimage_pSrcDst));
04668 }
04669
04670
04671 void Canny(
04672 QVImage<sShort, 1> & qvimage_pSrcDx,
04673 QVImage<sShort, 1> & qvimage_pSrcDy,
04674 QVImage<uChar, 1> & qvimage_pDstEdges,
04675 const sFloat lowThresh,
04676 const sFloat highThresh,
04677 QVImage<uChar, 1> & qvimage_pBuffer)
04678 {
04679 IPP_DEBUG(Canny, ippiCanny_16s8u_C1R,
04680 PDATA_WRITE(qvimage_pSrcDx), qvimage_pSrcDx.getStep(),
04681 PDATA_WRITE(qvimage_pSrcDy), qvimage_pSrcDy.getStep(),
04682 PDATA_WRITE(qvimage_pDstEdges), qvimage_pDstEdges.getStep(),
04683 IMAGE_ROISIZE(qvimage_pDstEdges),
04684 lowThresh,
04685 highThresh,
04686 qvimage_pBuffer.getWriteData());
04687 }
04688
04689
04690 void Canny(
04691 QVImage<sFloat, 1> & qvimage_pSrcDx,
04692 QVImage<sFloat, 1> & qvimage_pSrcDy,
04693 QVImage<uChar, 1> & qvimage_pDstEdges,
04694 const sFloat lowThresh,
04695 const sFloat highThresh,
04696 QVImage<uChar, 1> & qvimage_pBuffer)
04697 {
04698 IPP_DEBUG(Canny, ippiCanny_32f8u_C1R,
04699 PDATA_WRITE(qvimage_pSrcDx), qvimage_pSrcDx.getStep(),
04700 PDATA_WRITE(qvimage_pSrcDy), qvimage_pSrcDy.getStep(),
04701 PDATA_WRITE(qvimage_pDstEdges), qvimage_pDstEdges.getStep(),
04702 IMAGE_ROISIZE(qvimage_pDstEdges),
04703 lowThresh,
04704 highThresh,
04705 qvimage_pBuffer.getWriteData());
04706 }
04707
04708
04709 void MinEigenVal(
04710 const QVImage<uChar, 1> & qvimage_pSrc,
04711 QVImage<sFloat, 1> & qvimage_pMinEigenVal,
04712 const IppiKernelType kernType,
04713 const int apertureSize,
04714 const int avgWindow,
04715 QVImage<uChar, 1> & qvimage_pBuffer,
04716 const QPoint &destROIOffset)
04717 {
04718 COMPOSE_ROI(qvimage_pMinEigenVal, qvimage_pSrc, destROIOffset, 0, 0);
04719
04720 IPP_DEBUG(MinEigenVal, ippiMinEigenVal_8u32f_C1R,
04721 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04722 PDATA_WRITE(qvimage_pMinEigenVal), qvimage_pMinEigenVal.getStep(),
04723 IMAGE_ROISIZE(qvimage_pMinEigenVal),
04724 kernType,
04725 apertureSize,
04726 avgWindow,
04727 qvimage_pBuffer.getWriteData());
04728 }
04729
04730
04731 void DistanceTransform_5x5(
04732 const QVImage<uChar, 1> & qvimage_pSrc,
04733 QVImage<uShort, 1> & qvimage_pDst,
04734 sInt & pMetrics,
04735 const QPoint &destROIOffset)
04736 {
04737 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04738
04739 IPP_DEBUG(DistanceTransform_5x5, ippiDistanceTransform_5x5_8u16u_C1R,
04740 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04741 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04742 IMAGE_ROISIZE(qvimage_pDst),
04743 & pMetrics);
04744 }
04745
04746
04747
04748 void FastMarching(
04749 const QVImage<uChar, 1> & qvimage_pSrc,
04750 QVImage<sFloat, 1> & qvimage_pDst,
04751 const sFloat radius,
04752 QVImage<uChar, 1> & qvimage_pBuffer,
04753 const QPoint &destROIOffset)
04754 {
04755 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04756
04757 IPP_DEBUG(FastMarching, ippiFastMarching_8u32f_C1R,
04758 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04759 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04760 IMAGE_ROISIZE(qvimage_pDst),
04761 radius,
04762 qvimage_pBuffer.getWriteData());
04763 }
04764
04765
04766 void Inpaint(
04767 const QVImage<uChar, 1> & qvimage_pSrc,
04768 QVImage<uChar, 1> & qvimage_pDst,
04769 IppiInpaintState_8u_C1R & pState,
04770 const QPoint &destROIOffset)
04771 {
04772 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04773
04774 IPP_DEBUG(Inpaint, ippiInpaint_8u_C1R,
04775 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04776 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04777 IMAGE_ROISIZE(qvimage_pDst),
04778 & pState);
04779 }
04780
04781
04782
04783 void Inpaint(
04784 const QVImage<uChar, 3> & qvimage_pSrc,
04785 QVImage<uChar, 3> & qvimage_pDst,
04786 IppiInpaintState_8u_C1R & pState,
04787 const QPoint &destROIOffset)
04788 {
04789 COMPOSE_ROI(qvimage_pDst, qvimage_pSrc, destROIOffset, 0, 0);
04790
04791 IPP_DEBUG(Inpaint, ippiInpaint_8u_C3R,
04792 PDATA_READ(qvimage_pSrc), qvimage_pSrc.getStep(),
04793 PDATA_WRITE(qvimage_pDst), qvimage_pDst.getStep(),
04794 IMAGE_ROISIZE(qvimage_pDst),
04795 & pState);
04796 }
04797