template<class ArrayT>
If these are the last three pixels on the right of the image: 1 2 3 BORDERMIRROR with a border size of three results in: 1 2 3 | 3 2 1 BORDERPROPAGATE results in: 1 2 3 | 3 3 3.
Definition at line 32 of file PatSetBorder.h. References BORDERMIRROR, BORDERPROPAGATE, FuncBorderMirror2d(), FuncBorderPropagateNormalized2d(), PxFuncBorderMirror2d(), PxFuncBorderPropagateNormalized2d(), and PxRunParallel(). Referenced by PatGenConv2d(), PatGenConv2dK1d(), PatGenConv2dSep(), PatNgbOp2d(), PatNgbOp2dExtra(), PatNgbOp2dExtra2(), PatRecGenConv2d(), and PatRecGenConv2dSep(). 00034 { 00035 switch (borderType) { 00036 00037 case BORDERMIRROR : 00038 #ifdef PX_HORUS_USED 00039 if (!PxRunParallel()) { // run sequential 00040 #endif 00041 FuncBorderMirror2d(a, numX, numY); 00042 00043 #ifdef PX_HORUS_USED 00044 } else { // run parallel 00045 PxFuncBorderMirror2d(a, numX, numY); 00046 } 00047 #endif 00048 break; 00049 00050 case BORDERPROPAGATE : 00051 #ifdef PX_HORUS_USED 00052 if (!PxRunParallel()) { // run sequential 00053 #endif 00054 //FuncBorderPropagate2d(a, numX, numY); 00055 FuncBorderPropagateNormalized2d(a, numX, numY, 1,1,1,1); 00056 00057 #ifdef PX_HORUS_USED 00058 } else { // run parallel 00059 PxFuncBorderPropagateNormalized2d(a, numX, numY, 1,1,1,1); 00060 } 00061 #endif 00062 break; 00063 } 00064 }
Here is the call graph for this function:
|