00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00024
00025 #include <qvippblocks.h>
00026
00027 const QMap<QString, QString> getQVIPPBlocksNames()
00028 {
00029 QMap<QString, QString> result;
00030
00031 result.insertMulti("IPP: Image Data Exchange and Initialization Functions", "QVConvert_uCharsFloatC1Block");
00032 result.insertMulti("IPP: Image Data Exchange and Initialization Functions", "QVConvert_uCharsFloatC3Block");
00033 result.insertMulti("IPP: Image Data Exchange and Initialization Functions", "QVConvert_sFloatuCharC1Block");
00034 result.insertMulti("IPP: Image Data Exchange and Initialization Functions", "QVConvert_sFloatuCharC3Block");
00035 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAdd_uCharC1Block");
00036 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAdd_uCharC3Block");
00037 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAdd_sFloatC1Block");
00038 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAdd_sFloatC3Block");
00039 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAddC_uCharC1Block");
00040 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAddC_sFloatC1Block");
00041 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMul_uCharC1Block");
00042 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMul_uCharC3Block");
00043 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMul_sFloatC3Block");
00044 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMul_sFloatC1Block");
00045 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMulC_uCharC1Block");
00046 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMulC_sFloatC1Block");
00047 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMulScale_uCharC1Block");
00048 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVMulScale_uCharC3Block");
00049 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSub_uCharC1Block");
00050 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSub_uCharC3Block");
00051 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSub_sFloatC1Block");
00052 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSub_sFloatC3Block");
00053 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSubC_uCharC1Block");
00054 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSubC_sFloatC1Block");
00055 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVDiv_uCharC1Block");
00056 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVDiv_uCharC3Block");
00057 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVDiv_sFloatC3Block");
00058 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVDiv_sFloatC1Block");
00059 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVDivC_uCharC1Block");
00060 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVDivC_sFloatC1Block");
00061 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAbs_sShortC1Block");
00062 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAbs_sFloatC1Block");
00063 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAbsDiff_uCharC1Block");
00064 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAbsDiff_sFloatC1Block");
00065 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVSqr_sFloatC1Block");
00066 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVLn_sFloatC1Block");
00067 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVLn_sFloatC3Block");
00068 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAnd_uCharC1Block");
00069 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAnd_uCharC3Block");
00070 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAnd_uShortC1Block");
00071 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAnd_uShortC3Block");
00072 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAnd_sIntC1Block");
00073 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAnd_sIntC3Block");
00074 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOr_uCharC1Block");
00075 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOr_uCharC3Block");
00076 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOr_uShortC1Block");
00077 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOr_uShortC3Block");
00078 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOr_sIntC1Block");
00079 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOr_sIntC3Block");
00080 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXor_uCharC1Block");
00081 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXor_uCharC3Block");
00082 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXor_uShortC1Block");
00083 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXor_uShortC3Block");
00084 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXor_sIntC1Block");
00085 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXor_sIntC3Block");
00086 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVNot_uCharC1Block");
00087 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVNot_uCharC3Block");
00088 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVAndC_uCharC1Block");
00089 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVOrC_uCharC1Block");
00090 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVXorC_uCharC1Block");
00091 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVLShiftC_uCharC1Block");
00092 result.insertMulti("IPP: Image Arithmetic and Logical Operations", "QVRShiftC_uCharC1Block");
00093 result.insertMulti("IPP: Image Color Conversion", "QVRGBToGray_uCharC3C1Block");
00094 result.insertMulti("IPP: Image Color Conversion", "QVRGBToGray_sFloatC3C1Block");
00095 result.insertMulti("IPP: Threshold and Compare Operations", "QVThreshold_uCharC1Block");
00096 result.insertMulti("IPP: Threshold and Compare Operations", "QVThreshold_sFloatC1Block");
00097 result.insertMulti("IPP: Threshold and Compare Operations", "QVComputeThreshold_Otsu_uCharC1Block");
00098 result.insertMulti("IPP: Threshold and Compare Operations", "QVCompare_uCharC1Block");
00099 result.insertMulti("IPP: Threshold and Compare Operations", "QVCompare_sFloatC1Block");
00100 result.insertMulti("IPP: Threshold and Compare Operations", "QVCompareC_uCharC1Block");
00101 result.insertMulti("IPP: Threshold and Compare Operations", "QVCompareC_sFloatC1Block");
00102 result.insertMulti("IPP: Filtering Functions", "QVFilterBox_uCharC1Block");
00103 result.insertMulti("IPP: Filtering Functions", "QVFilterBox_uCharC3Block");
00104 result.insertMulti("IPP: Filtering Functions", "QVFilterBox_sFloatC1Block");
00105 result.insertMulti("IPP: Filtering Functions", "QVFilterMin_uCharC1Block");
00106 result.insertMulti("IPP: Filtering Functions", "QVFilterMin_uCharC3Block");
00107 result.insertMulti("IPP: Filtering Functions", "QVFilterMin_sFloatC1Block");
00108 result.insertMulti("IPP: Filtering Functions", "QVFilterMax_uCharC1Block");
00109 result.insertMulti("IPP: Filtering Functions", "QVFilterMax_uCharC3Block");
00110 result.insertMulti("IPP: Filtering Functions", "QVFilterMax_sFloatC1Block");
00111 result.insertMulti("IPP: Filtering Functions", "QVFilterMedian_uCharC1Block");
00112 result.insertMulti("IPP: Filtering Functions", "QVFilterMedian_uCharC3Block");
00113 result.insertMulti("IPP: Filtering Functions", "QVFilterMedianHoriz_uCharC1Block");
00114 result.insertMulti("IPP: Filtering Functions", "QVFilterSobelHorizMask_sFloatC1Block");
00115 result.insertMulti("IPP: Filtering Functions", "QVFilterSobelVertMask_sFloatC1Block");
00116 result.insertMulti("IPP: Filtering Functions", "QVFilterLaplace_uCharC1Block");
00117 result.insertMulti("IPP: Filtering Functions", "QVFilterLaplace_sFloatC1Block");
00118 result.insertMulti("IPP: Filtering Functions", "QVFilterGauss_uCharC1Block");
00119 result.insertMulti("IPP: Filtering Functions", "QVFilterGauss_sFloatC1Block");
00120 result.insertMulti("IPP: Filtering Functions", "QVFilterGauss_uCharC3Block");
00121 result.insertMulti("IPP: Filtering Functions", "QVFilterGauss_sFloatC3Block");
00122 result.insertMulti("IPP: Filtering Functions", "QVFilterHipass_uCharC1Block");
00123 result.insertMulti("IPP: Filtering Functions", "QVFilterHipass_uCharC3Block");
00124 result.insertMulti("IPP: Filtering Functions", "QVFilterHipass_sFloatC1Block");
00125 result.insertMulti("IPP: Filtering Functions", "QVFilterHipass_sFloatC3Block");
00126 result.insertMulti("IPP: Filtering Functions", "QVFilterLowpass_uCharC1Block");
00127 result.insertMulti("IPP: Filtering Functions", "QVFilterLowpass_sFloatC1Block");
00128 result.insertMulti("IPP: Image Statistics Functions", "QVSum_uCharC1Block");
00129 result.insertMulti("IPP: Image Statistics Functions", "QVMean_uCharC1Block");
00130 result.insertMulti("IPP: Image Statistics Functions", "QVMin_uCharC1Block");
00131 result.insertMulti("IPP: Image Statistics Functions", "QVMin_sFloatC1Block");
00132 result.insertMulti("IPP: Image Statistics Functions", "QVMax_uCharC1Block");
00133 result.insertMulti("IPP: Image Statistics Functions", "QVMax_sFloatC1Block");
00134
00135 return result;
00136 }
00137
00138 QVPropertyContainer *newQVIPPBlock(QString type, QString name)
00139 {
00140 if (type == "QVConvert_uCharsFloatC1Block") return new QVConvert_uCharsFloatC1Block(name);
00141 else if (type == "QVConvert_uCharsFloatC3Block") return new QVConvert_uCharsFloatC3Block(name);
00142 else if (type == "QVConvert_sFloatuCharC1Block") return new QVConvert_sFloatuCharC1Block(name);
00143 else if (type == "QVConvert_sFloatuCharC3Block") return new QVConvert_sFloatuCharC3Block(name);
00144 else if (type == "QVAdd_uCharC1Block") return new QVAdd_uCharC1Block(name);
00145 else if (type == "QVAdd_uCharC3Block") return new QVAdd_uCharC3Block(name);
00146 else if (type == "QVAdd_sFloatC1Block") return new QVAdd_sFloatC1Block(name);
00147 else if (type == "QVAdd_sFloatC3Block") return new QVAdd_sFloatC3Block(name);
00148 else if (type == "QVAddC_uCharC1Block") return new QVAddC_uCharC1Block(name);
00149 else if (type == "QVAddC_sFloatC1Block") return new QVAddC_sFloatC1Block(name);
00150 else if (type == "QVMul_uCharC1Block") return new QVMul_uCharC1Block(name);
00151 else if (type == "QVMul_uCharC3Block") return new QVMul_uCharC3Block(name);
00152 else if (type == "QVMul_sFloatC3Block") return new QVMul_sFloatC3Block(name);
00153 else if (type == "QVMul_sFloatC1Block") return new QVMul_sFloatC1Block(name);
00154 else if (type == "QVMulC_uCharC1Block") return new QVMulC_uCharC1Block(name);
00155 else if (type == "QVMulC_sFloatC1Block") return new QVMulC_sFloatC1Block(name);
00156 else if (type == "QVMulScale_uCharC1Block") return new QVMulScale_uCharC1Block(name);
00157 else if (type == "QVMulScale_uCharC3Block") return new QVMulScale_uCharC3Block(name);
00158 else if (type == "QVSub_uCharC1Block") return new QVSub_uCharC1Block(name);
00159 else if (type == "QVSub_uCharC3Block") return new QVSub_uCharC3Block(name);
00160 else if (type == "QVSub_sFloatC1Block") return new QVSub_sFloatC1Block(name);
00161 else if (type == "QVSub_sFloatC3Block") return new QVSub_sFloatC3Block(name);
00162 else if (type == "QVSubC_uCharC1Block") return new QVSubC_uCharC1Block(name);
00163 else if (type == "QVSubC_sFloatC1Block") return new QVSubC_sFloatC1Block(name);
00164 else if (type == "QVDiv_uCharC1Block") return new QVDiv_uCharC1Block(name);
00165 else if (type == "QVDiv_uCharC3Block") return new QVDiv_uCharC3Block(name);
00166 else if (type == "QVDiv_sFloatC3Block") return new QVDiv_sFloatC3Block(name);
00167 else if (type == "QVDiv_sFloatC1Block") return new QVDiv_sFloatC1Block(name);
00168 else if (type == "QVDivC_uCharC1Block") return new QVDivC_uCharC1Block(name);
00169 else if (type == "QVDivC_sFloatC1Block") return new QVDivC_sFloatC1Block(name);
00170 else if (type == "QVAbs_sShortC1Block") return new QVAbs_sShortC1Block(name);
00171 else if (type == "QVAbs_sFloatC1Block") return new QVAbs_sFloatC1Block(name);
00172 else if (type == "QVAbsDiff_uCharC1Block") return new QVAbsDiff_uCharC1Block(name);
00173 else if (type == "QVAbsDiff_sFloatC1Block") return new QVAbsDiff_sFloatC1Block(name);
00174 else if (type == "QVSqr_sFloatC1Block") return new QVSqr_sFloatC1Block(name);
00175 else if (type == "QVLn_sFloatC1Block") return new QVLn_sFloatC1Block(name);
00176 else if (type == "QVLn_sFloatC3Block") return new QVLn_sFloatC3Block(name);
00177 else if (type == "QVAnd_uCharC1Block") return new QVAnd_uCharC1Block(name);
00178 else if (type == "QVAnd_uCharC3Block") return new QVAnd_uCharC3Block(name);
00179 else if (type == "QVAnd_uShortC1Block") return new QVAnd_uShortC1Block(name);
00180 else if (type == "QVAnd_uShortC3Block") return new QVAnd_uShortC3Block(name);
00181 else if (type == "QVAnd_sIntC1Block") return new QVAnd_sIntC1Block(name);
00182 else if (type == "QVAnd_sIntC3Block") return new QVAnd_sIntC3Block(name);
00183 else if (type == "QVOr_uCharC1Block") return new QVOr_uCharC1Block(name);
00184 else if (type == "QVOr_uCharC3Block") return new QVOr_uCharC3Block(name);
00185 else if (type == "QVOr_uShortC1Block") return new QVOr_uShortC1Block(name);
00186 else if (type == "QVOr_uShortC3Block") return new QVOr_uShortC3Block(name);
00187 else if (type == "QVOr_sIntC1Block") return new QVOr_sIntC1Block(name);
00188 else if (type == "QVOr_sIntC3Block") return new QVOr_sIntC3Block(name);
00189 else if (type == "QVXor_uCharC1Block") return new QVXor_uCharC1Block(name);
00190 else if (type == "QVXor_uCharC3Block") return new QVXor_uCharC3Block(name);
00191 else if (type == "QVXor_uShortC1Block") return new QVXor_uShortC1Block(name);
00192 else if (type == "QVXor_uShortC3Block") return new QVXor_uShortC3Block(name);
00193 else if (type == "QVXor_sIntC1Block") return new QVXor_sIntC1Block(name);
00194 else if (type == "QVXor_sIntC3Block") return new QVXor_sIntC3Block(name);
00195 else if (type == "QVNot_uCharC1Block") return new QVNot_uCharC1Block(name);
00196 else if (type == "QVNot_uCharC3Block") return new QVNot_uCharC3Block(name);
00197 else if (type == "QVAndC_uCharC1Block") return new QVAndC_uCharC1Block(name);
00198 else if (type == "QVOrC_uCharC1Block") return new QVOrC_uCharC1Block(name);
00199 else if (type == "QVXorC_uCharC1Block") return new QVXorC_uCharC1Block(name);
00200 else if (type == "QVLShiftC_uCharC1Block") return new QVLShiftC_uCharC1Block(name);
00201 else if (type == "QVRShiftC_uCharC1Block") return new QVRShiftC_uCharC1Block(name);
00202 else if (type == "QVRGBToGray_uCharC3C1Block") return new QVRGBToGray_uCharC3C1Block(name);
00203 else if (type == "QVRGBToGray_sFloatC3C1Block") return new QVRGBToGray_sFloatC3C1Block(name);
00204 else if (type == "QVThreshold_uCharC1Block") return new QVThreshold_uCharC1Block(name);
00205 else if (type == "QVThreshold_sFloatC1Block") return new QVThreshold_sFloatC1Block(name);
00206 else if (type == "QVComputeThreshold_Otsu_uCharC1Block") return new QVComputeThreshold_Otsu_uCharC1Block(name);
00207 else if (type == "QVCompare_uCharC1Block") return new QVCompare_uCharC1Block(name);
00208 else if (type == "QVCompare_sFloatC1Block") return new QVCompare_sFloatC1Block(name);
00209 else if (type == "QVCompareC_uCharC1Block") return new QVCompareC_uCharC1Block(name);
00210 else if (type == "QVCompareC_sFloatC1Block") return new QVCompareC_sFloatC1Block(name);
00211 else if (type == "QVFilterBox_uCharC1Block") return new QVFilterBox_uCharC1Block(name);
00212 else if (type == "QVFilterBox_uCharC3Block") return new QVFilterBox_uCharC3Block(name);
00213 else if (type == "QVFilterBox_sFloatC1Block") return new QVFilterBox_sFloatC1Block(name);
00214 else if (type == "QVFilterMin_uCharC1Block") return new QVFilterMin_uCharC1Block(name);
00215 else if (type == "QVFilterMin_uCharC3Block") return new QVFilterMin_uCharC3Block(name);
00216 else if (type == "QVFilterMin_sFloatC1Block") return new QVFilterMin_sFloatC1Block(name);
00217 else if (type == "QVFilterMax_uCharC1Block") return new QVFilterMax_uCharC1Block(name);
00218 else if (type == "QVFilterMax_uCharC3Block") return new QVFilterMax_uCharC3Block(name);
00219 else if (type == "QVFilterMax_sFloatC1Block") return new QVFilterMax_sFloatC1Block(name);
00220 else if (type == "QVFilterMedian_uCharC1Block") return new QVFilterMedian_uCharC1Block(name);
00221 else if (type == "QVFilterMedian_uCharC3Block") return new QVFilterMedian_uCharC3Block(name);
00222 else if (type == "QVFilterMedianHoriz_uCharC1Block") return new QVFilterMedianHoriz_uCharC1Block(name);
00223 else if (type == "QVFilterSobelHorizMask_sFloatC1Block") return new QVFilterSobelHorizMask_sFloatC1Block(name);
00224 else if (type == "QVFilterSobelVertMask_sFloatC1Block") return new QVFilterSobelVertMask_sFloatC1Block(name);
00225 else if (type == "QVFilterLaplace_uCharC1Block") return new QVFilterLaplace_uCharC1Block(name);
00226 else if (type == "QVFilterLaplace_sFloatC1Block") return new QVFilterLaplace_sFloatC1Block(name);
00227 else if (type == "QVFilterGauss_uCharC1Block") return new QVFilterGauss_uCharC1Block(name);
00228 else if (type == "QVFilterGauss_sFloatC1Block") return new QVFilterGauss_sFloatC1Block(name);
00229 else if (type == "QVFilterGauss_uCharC3Block") return new QVFilterGauss_uCharC3Block(name);
00230 else if (type == "QVFilterGauss_sFloatC3Block") return new QVFilterGauss_sFloatC3Block(name);
00231 else if (type == "QVFilterHipass_uCharC1Block") return new QVFilterHipass_uCharC1Block(name);
00232 else if (type == "QVFilterHipass_uCharC3Block") return new QVFilterHipass_uCharC3Block(name);
00233 else if (type == "QVFilterHipass_sFloatC1Block") return new QVFilterHipass_sFloatC1Block(name);
00234 else if (type == "QVFilterHipass_sFloatC3Block") return new QVFilterHipass_sFloatC3Block(name);
00235 else if (type == "QVFilterLowpass_uCharC1Block") return new QVFilterLowpass_uCharC1Block(name);
00236 else if (type == "QVFilterLowpass_sFloatC1Block") return new QVFilterLowpass_sFloatC1Block(name);
00237 else if (type == "QVSum_uCharC1Block") return new QVSum_uCharC1Block(name);
00238 else if (type == "QVMean_uCharC1Block") return new QVMean_uCharC1Block(name);
00239 else if (type == "QVMin_uCharC1Block") return new QVMin_uCharC1Block(name);
00240 else if (type == "QVMin_sFloatC1Block") return new QVMin_sFloatC1Block(name);
00241 else if (type == "QVMax_uCharC1Block") return new QVMax_uCharC1Block(name);
00242 else if (type == "QVMax_sFloatC1Block") return new QVMax_sFloatC1Block(name);
00243 else return NULL;
00244 }
00245
00246
00247 QVConvert_uCharsFloatC1Block::QVConvert_uCharsFloatC1Block(QString name): QVProcessingBlock(name)
00248 {
00249 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
00250 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00251 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00252 }
00253
00254 void QVConvert_uCharsFloatC1Block::iterate()
00255 {
00256 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
00257 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00258 timeFlag("Read input data");
00259
00260 QVImage<sFloat, 1> qvimage_pDst;
00261 timeFlag("Create output data");
00262
00263 Convert(qvimage_pSrc, qvimage_pDst, destROIOffset);
00264 timeFlag("Process input data");
00265
00266 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00267 timeFlag("Store output data");
00268 }
00269
00270
00271 QVConvert_uCharsFloatC3Block::QVConvert_uCharsFloatC3Block(QString name): QVProcessingBlock(name)
00272 {
00273 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
00274 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
00275 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00276 }
00277
00278 void QVConvert_uCharsFloatC3Block::iterate()
00279 {
00280 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
00281 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00282 timeFlag("Read input data");
00283
00284 QVImage<sFloat, 3> qvimage_pDst;
00285 timeFlag("Create output data");
00286
00287 Convert(qvimage_pSrc, qvimage_pDst, destROIOffset);
00288 timeFlag("Process input data");
00289
00290 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
00291 timeFlag("Store output data");
00292 }
00293
00294
00295 QVConvert_sFloatuCharC1Block::QVConvert_sFloatuCharC1Block(QString name): QVProcessingBlock(name)
00296 {
00297 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
00298 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00299 addProperty< IppRoundMode >("roundMode", inputFlag, ippRndNear);
00300 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00301 }
00302
00303 void QVConvert_sFloatuCharC1Block::iterate()
00304 {
00305 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
00306 const IppRoundMode roundMode = getPropertyValue< IppRoundMode > ("roundMode");
00307 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00308 timeFlag("Read input data");
00309
00310 QVImage<uChar, 1> qvimage_pDst;
00311 timeFlag("Create output data");
00312
00313 Convert(qvimage_pSrc, qvimage_pDst, roundMode, destROIOffset);
00314 timeFlag("Process input data");
00315
00316 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00317 timeFlag("Store output data");
00318 }
00319
00320
00321 QVConvert_sFloatuCharC3Block::QVConvert_sFloatuCharC3Block(QString name): QVProcessingBlock(name)
00322 {
00323 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc", inputFlag);
00324 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
00325 addProperty< IppRoundMode >("roundMode", inputFlag, ippRndNear);
00326 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00327 }
00328
00329 void QVConvert_sFloatuCharC3Block::iterate()
00330 {
00331 const QVImage<sFloat, 3> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc");
00332 const IppRoundMode roundMode = getPropertyValue< IppRoundMode > ("roundMode");
00333 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00334 timeFlag("Read input data");
00335
00336 QVImage<uChar, 3> qvimage_pDst;
00337 timeFlag("Create output data");
00338
00339 Convert(qvimage_pSrc, qvimage_pDst, roundMode, destROIOffset);
00340 timeFlag("Process input data");
00341
00342 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
00343 timeFlag("Store output data");
00344 }
00345
00346
00347 QVAdd_uCharC1Block::QVAdd_uCharC1Block(QString name): QVProcessingBlock(name)
00348 {
00349 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
00350 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
00351 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00352 addProperty< int >("scaleFactor", inputFlag);
00353 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00354 }
00355
00356 void QVAdd_uCharC1Block::iterate()
00357 {
00358 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
00359 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
00360 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00361 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00362 timeFlag("Read input data");
00363
00364 QVImage<uChar, 1> qvimage_pDst;
00365 timeFlag("Create output data");
00366
00367 Add(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00368 timeFlag("Process input data");
00369
00370 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00371 timeFlag("Store output data");
00372 }
00373
00374
00375 QVAdd_uCharC3Block::QVAdd_uCharC3Block(QString name): QVProcessingBlock(name)
00376 {
00377 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
00378 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
00379 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
00380 addProperty< int >("scaleFactor", inputFlag);
00381 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00382 }
00383
00384 void QVAdd_uCharC3Block::iterate()
00385 {
00386 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
00387 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
00388 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00389 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00390 timeFlag("Read input data");
00391
00392 QVImage<uChar, 3> qvimage_pDst;
00393 timeFlag("Create output data");
00394
00395 Add(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00396 timeFlag("Process input data");
00397
00398 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
00399 timeFlag("Store output data");
00400 }
00401
00402
00403 QVAdd_sFloatC1Block::QVAdd_sFloatC1Block(QString name): QVProcessingBlock(name)
00404 {
00405 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc1", inputFlag);
00406 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc2", inputFlag);
00407 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00408 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00409 }
00410
00411 void QVAdd_sFloatC1Block::iterate()
00412 {
00413 const QVImage<sFloat, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc1");
00414 const QVImage<sFloat, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc2");
00415 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00416 timeFlag("Read input data");
00417
00418 QVImage<sFloat, 1> qvimage_pDst;
00419 timeFlag("Create output data");
00420
00421 Add(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00422 timeFlag("Process input data");
00423
00424 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00425 timeFlag("Store output data");
00426 }
00427
00428
00429 QVAdd_sFloatC3Block::QVAdd_sFloatC3Block(QString name): QVProcessingBlock(name)
00430 {
00431 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc1", inputFlag);
00432 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc2", inputFlag);
00433 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
00434 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00435 }
00436
00437 void QVAdd_sFloatC3Block::iterate()
00438 {
00439 const QVImage<sFloat, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc1");
00440 const QVImage<sFloat, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc2");
00441 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00442 timeFlag("Read input data");
00443
00444 QVImage<sFloat, 3> qvimage_pDst;
00445 timeFlag("Create output data");
00446
00447 Add(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00448 timeFlag("Process input data");
00449
00450 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
00451 timeFlag("Store output data");
00452 }
00453
00454
00455 QVAddC_uCharC1Block::QVAddC_uCharC1Block(QString name): QVProcessingBlock(name)
00456 {
00457 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
00458 addProperty< uChar >("value", inputFlag);
00459 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00460 addProperty< int >("scaleFactor", inputFlag);
00461 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00462 }
00463
00464 void QVAddC_uCharC1Block::iterate()
00465 {
00466 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
00467 const uChar value = getPropertyValue< uChar > ("value");
00468 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00469 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00470 timeFlag("Read input data");
00471
00472 QVImage<uChar, 1> qvimage_pDst;
00473 timeFlag("Create output data");
00474
00475 AddC(qvimage_pSrc, value, qvimage_pDst, scaleFactor, destROIOffset);
00476 timeFlag("Process input data");
00477
00478 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00479 timeFlag("Store output data");
00480 }
00481
00482
00483 QVAddC_sFloatC1Block::QVAddC_sFloatC1Block(QString name): QVProcessingBlock(name)
00484 {
00485 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
00486 addProperty< sFloat >("value", inputFlag);
00487 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00488 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00489 }
00490
00491 void QVAddC_sFloatC1Block::iterate()
00492 {
00493 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
00494 const sFloat value = getPropertyValue< sFloat > ("value");
00495 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00496 timeFlag("Read input data");
00497
00498 QVImage<sFloat, 1> qvimage_pDst;
00499 timeFlag("Create output data");
00500
00501 AddC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
00502 timeFlag("Process input data");
00503
00504 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00505 timeFlag("Store output data");
00506 }
00507
00508
00509 QVMul_uCharC1Block::QVMul_uCharC1Block(QString name): QVProcessingBlock(name)
00510 {
00511 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
00512 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
00513 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00514 addProperty< int >("scaleFactor", inputFlag);
00515 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00516 }
00517
00518 void QVMul_uCharC1Block::iterate()
00519 {
00520 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
00521 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
00522 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00523 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00524 timeFlag("Read input data");
00525
00526 QVImage<uChar, 1> qvimage_pDst;
00527 timeFlag("Create output data");
00528
00529 Mul(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00530 timeFlag("Process input data");
00531
00532 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00533 timeFlag("Store output data");
00534 }
00535
00536
00537 QVMul_uCharC3Block::QVMul_uCharC3Block(QString name): QVProcessingBlock(name)
00538 {
00539 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
00540 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
00541 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
00542 addProperty< int >("scaleFactor", inputFlag);
00543 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00544 }
00545
00546 void QVMul_uCharC3Block::iterate()
00547 {
00548 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
00549 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
00550 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00551 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00552 timeFlag("Read input data");
00553
00554 QVImage<uChar, 3> qvimage_pDst;
00555 timeFlag("Create output data");
00556
00557 Mul(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00558 timeFlag("Process input data");
00559
00560 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
00561 timeFlag("Store output data");
00562 }
00563
00564
00565 QVMul_sFloatC3Block::QVMul_sFloatC3Block(QString name): QVProcessingBlock(name)
00566 {
00567 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc1", inputFlag);
00568 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc2", inputFlag);
00569 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
00570 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00571 }
00572
00573 void QVMul_sFloatC3Block::iterate()
00574 {
00575 const QVImage<sFloat, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc1");
00576 const QVImage<sFloat, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc2");
00577 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00578 timeFlag("Read input data");
00579
00580 QVImage<sFloat, 3> qvimage_pDst;
00581 timeFlag("Create output data");
00582
00583 Mul(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00584 timeFlag("Process input data");
00585
00586 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
00587 timeFlag("Store output data");
00588 }
00589
00590
00591 QVMul_sFloatC1Block::QVMul_sFloatC1Block(QString name): QVProcessingBlock(name)
00592 {
00593 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc1", inputFlag);
00594 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc2", inputFlag);
00595 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00596 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00597 }
00598
00599 void QVMul_sFloatC1Block::iterate()
00600 {
00601 const QVImage<sFloat, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc1");
00602 const QVImage<sFloat, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc2");
00603 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00604 timeFlag("Read input data");
00605
00606 QVImage<sFloat, 1> qvimage_pDst;
00607 timeFlag("Create output data");
00608
00609 Mul(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00610 timeFlag("Process input data");
00611
00612 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00613 timeFlag("Store output data");
00614 }
00615
00616
00617 QVMulC_uCharC1Block::QVMulC_uCharC1Block(QString name): QVProcessingBlock(name)
00618 {
00619 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
00620 addProperty< uChar >("value", inputFlag);
00621 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00622 addProperty< int >("scaleFactor", inputFlag);
00623 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00624 }
00625
00626 void QVMulC_uCharC1Block::iterate()
00627 {
00628 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
00629 const uChar value = getPropertyValue< uChar > ("value");
00630 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00631 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00632 timeFlag("Read input data");
00633
00634 QVImage<uChar, 1> qvimage_pDst;
00635 timeFlag("Create output data");
00636
00637 MulC(qvimage_pSrc, value, qvimage_pDst, scaleFactor, destROIOffset);
00638 timeFlag("Process input data");
00639
00640 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00641 timeFlag("Store output data");
00642 }
00643
00644
00645 QVMulC_sFloatC1Block::QVMulC_sFloatC1Block(QString name): QVProcessingBlock(name)
00646 {
00647 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
00648 addProperty< sFloat >("value", inputFlag);
00649 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00650 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00651 }
00652
00653 void QVMulC_sFloatC1Block::iterate()
00654 {
00655 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
00656 const sFloat value = getPropertyValue< sFloat > ("value");
00657 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00658 timeFlag("Read input data");
00659
00660 QVImage<sFloat, 1> qvimage_pDst;
00661 timeFlag("Create output data");
00662
00663 MulC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
00664 timeFlag("Process input data");
00665
00666 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00667 timeFlag("Store output data");
00668 }
00669
00670
00671 QVMulScale_uCharC1Block::QVMulScale_uCharC1Block(QString name): QVProcessingBlock(name)
00672 {
00673 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
00674 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
00675 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00676 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00677 }
00678
00679 void QVMulScale_uCharC1Block::iterate()
00680 {
00681 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
00682 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
00683 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00684 timeFlag("Read input data");
00685
00686 QVImage<uChar, 1> qvimage_pDst;
00687 timeFlag("Create output data");
00688
00689 MulScale(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00690 timeFlag("Process input data");
00691
00692 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00693 timeFlag("Store output data");
00694 }
00695
00696
00697 QVMulScale_uCharC3Block::QVMulScale_uCharC3Block(QString name): QVProcessingBlock(name)
00698 {
00699 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
00700 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
00701 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
00702 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00703 }
00704
00705 void QVMulScale_uCharC3Block::iterate()
00706 {
00707 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
00708 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
00709 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00710 timeFlag("Read input data");
00711
00712 QVImage<uChar, 3> qvimage_pDst;
00713 timeFlag("Create output data");
00714
00715 MulScale(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00716 timeFlag("Process input data");
00717
00718 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
00719 timeFlag("Store output data");
00720 }
00721
00722
00723 QVSub_uCharC1Block::QVSub_uCharC1Block(QString name): QVProcessingBlock(name)
00724 {
00725 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
00726 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
00727 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00728 addProperty< int >("scaleFactor", inputFlag);
00729 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00730 }
00731
00732 void QVSub_uCharC1Block::iterate()
00733 {
00734 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
00735 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
00736 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00737 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00738 timeFlag("Read input data");
00739
00740 QVImage<uChar, 1> qvimage_pDst;
00741 timeFlag("Create output data");
00742
00743 Sub(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00744 timeFlag("Process input data");
00745
00746 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00747 timeFlag("Store output data");
00748 }
00749
00750
00751 QVSub_uCharC3Block::QVSub_uCharC3Block(QString name): QVProcessingBlock(name)
00752 {
00753 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
00754 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
00755 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
00756 addProperty< int >("scaleFactor", inputFlag);
00757 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00758 }
00759
00760 void QVSub_uCharC3Block::iterate()
00761 {
00762 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
00763 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
00764 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00765 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00766 timeFlag("Read input data");
00767
00768 QVImage<uChar, 3> qvimage_pDst;
00769 timeFlag("Create output data");
00770
00771 Sub(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00772 timeFlag("Process input data");
00773
00774 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
00775 timeFlag("Store output data");
00776 }
00777
00778
00779 QVSub_sFloatC1Block::QVSub_sFloatC1Block(QString name): QVProcessingBlock(name)
00780 {
00781 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc1", inputFlag);
00782 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc2", inputFlag);
00783 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00784 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00785 }
00786
00787 void QVSub_sFloatC1Block::iterate()
00788 {
00789 const QVImage<sFloat, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc1");
00790 const QVImage<sFloat, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc2");
00791 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00792 timeFlag("Read input data");
00793
00794 QVImage<sFloat, 1> qvimage_pDst;
00795 timeFlag("Create output data");
00796
00797 Sub(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00798 timeFlag("Process input data");
00799
00800 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00801 timeFlag("Store output data");
00802 }
00803
00804
00805 QVSub_sFloatC3Block::QVSub_sFloatC3Block(QString name): QVProcessingBlock(name)
00806 {
00807 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc1", inputFlag);
00808 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc2", inputFlag);
00809 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
00810 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00811 }
00812
00813 void QVSub_sFloatC3Block::iterate()
00814 {
00815 const QVImage<sFloat, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc1");
00816 const QVImage<sFloat, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc2");
00817 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00818 timeFlag("Read input data");
00819
00820 QVImage<sFloat, 3> qvimage_pDst;
00821 timeFlag("Create output data");
00822
00823 Sub(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00824 timeFlag("Process input data");
00825
00826 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
00827 timeFlag("Store output data");
00828 }
00829
00830
00831 QVSubC_uCharC1Block::QVSubC_uCharC1Block(QString name): QVProcessingBlock(name)
00832 {
00833 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
00834 addProperty< uChar >("value", inputFlag);
00835 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00836 addProperty< int >("scaleFactor", inputFlag);
00837 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00838 }
00839
00840 void QVSubC_uCharC1Block::iterate()
00841 {
00842 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
00843 const uChar value = getPropertyValue< uChar > ("value");
00844 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00845 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00846 timeFlag("Read input data");
00847
00848 QVImage<uChar, 1> qvimage_pDst;
00849 timeFlag("Create output data");
00850
00851 SubC(qvimage_pSrc, value, qvimage_pDst, scaleFactor, destROIOffset);
00852 timeFlag("Process input data");
00853
00854 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00855 timeFlag("Store output data");
00856 }
00857
00858
00859 QVSubC_sFloatC1Block::QVSubC_sFloatC1Block(QString name): QVProcessingBlock(name)
00860 {
00861 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
00862 addProperty< sFloat >("value", inputFlag);
00863 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00864 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00865 }
00866
00867 void QVSubC_sFloatC1Block::iterate()
00868 {
00869 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
00870 const sFloat value = getPropertyValue< sFloat > ("value");
00871 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00872 timeFlag("Read input data");
00873
00874 QVImage<sFloat, 1> qvimage_pDst;
00875 timeFlag("Create output data");
00876
00877 SubC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
00878 timeFlag("Process input data");
00879
00880 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00881 timeFlag("Store output data");
00882 }
00883
00884
00885 QVDiv_uCharC1Block::QVDiv_uCharC1Block(QString name): QVProcessingBlock(name)
00886 {
00887 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
00888 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
00889 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00890 addProperty< int >("scaleFactor", inputFlag);
00891 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00892 }
00893
00894 void QVDiv_uCharC1Block::iterate()
00895 {
00896 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
00897 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
00898 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00899 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00900 timeFlag("Read input data");
00901
00902 QVImage<uChar, 1> qvimage_pDst;
00903 timeFlag("Create output data");
00904
00905 Div(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00906 timeFlag("Process input data");
00907
00908 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
00909 timeFlag("Store output data");
00910 }
00911
00912
00913 QVDiv_uCharC3Block::QVDiv_uCharC3Block(QString name): QVProcessingBlock(name)
00914 {
00915 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
00916 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
00917 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
00918 addProperty< int >("scaleFactor", inputFlag);
00919 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00920 }
00921
00922 void QVDiv_uCharC3Block::iterate()
00923 {
00924 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
00925 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
00926 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
00927 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00928 timeFlag("Read input data");
00929
00930 QVImage<uChar, 3> qvimage_pDst;
00931 timeFlag("Create output data");
00932
00933 Div(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, scaleFactor, destROIOffset);
00934 timeFlag("Process input data");
00935
00936 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
00937 timeFlag("Store output data");
00938 }
00939
00940
00941 QVDiv_sFloatC3Block::QVDiv_sFloatC3Block(QString name): QVProcessingBlock(name)
00942 {
00943 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc1", inputFlag);
00944 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc2", inputFlag);
00945 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
00946 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00947 }
00948
00949 void QVDiv_sFloatC3Block::iterate()
00950 {
00951 const QVImage<sFloat, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc1");
00952 const QVImage<sFloat, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc2");
00953 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00954 timeFlag("Read input data");
00955
00956 QVImage<sFloat, 3> qvimage_pDst;
00957 timeFlag("Create output data");
00958
00959 Div(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00960 timeFlag("Process input data");
00961
00962 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
00963 timeFlag("Store output data");
00964 }
00965
00966
00967 QVDiv_sFloatC1Block::QVDiv_sFloatC1Block(QString name): QVProcessingBlock(name)
00968 {
00969 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc1", inputFlag);
00970 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc2", inputFlag);
00971 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
00972 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
00973 }
00974
00975 void QVDiv_sFloatC1Block::iterate()
00976 {
00977 const QVImage<sFloat, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc1");
00978 const QVImage<sFloat, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc2");
00979 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
00980 timeFlag("Read input data");
00981
00982 QVImage<sFloat, 1> qvimage_pDst;
00983 timeFlag("Create output data");
00984
00985 Div(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
00986 timeFlag("Process input data");
00987
00988 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
00989 timeFlag("Store output data");
00990 }
00991
00992
00993 QVDivC_uCharC1Block::QVDivC_uCharC1Block(QString name): QVProcessingBlock(name)
00994 {
00995 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
00996 addProperty< uChar >("value", inputFlag);
00997 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
00998 addProperty< int >("scaleFactor", inputFlag);
00999 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01000 }
01001
01002 void QVDivC_uCharC1Block::iterate()
01003 {
01004 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01005 const uChar value = getPropertyValue< uChar > ("value");
01006 const int scaleFactor = getPropertyValue< int > ("scaleFactor");
01007 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01008 timeFlag("Read input data");
01009
01010 QVImage<uChar, 1> qvimage_pDst;
01011 timeFlag("Create output data");
01012
01013 DivC(qvimage_pSrc, value, qvimage_pDst, scaleFactor, destROIOffset);
01014 timeFlag("Process input data");
01015
01016 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01017 timeFlag("Store output data");
01018 }
01019
01020
01021 QVDivC_sFloatC1Block::QVDivC_sFloatC1Block(QString name): QVProcessingBlock(name)
01022 {
01023 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
01024 addProperty< sFloat >("value", inputFlag);
01025 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01026 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01027 }
01028
01029 void QVDivC_sFloatC1Block::iterate()
01030 {
01031 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
01032 const sFloat value = getPropertyValue< sFloat > ("value");
01033 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01034 timeFlag("Read input data");
01035
01036 QVImage<sFloat, 1> qvimage_pDst;
01037 timeFlag("Create output data");
01038
01039 DivC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
01040 timeFlag("Process input data");
01041
01042 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01043 timeFlag("Store output data");
01044 }
01045
01046
01047 QVAbs_sShortC1Block::QVAbs_sShortC1Block(QString name): QVProcessingBlock(name)
01048 {
01049 addProperty< QVImage<sShort, 1> >("qvimage_pSrc", inputFlag);
01050 addProperty< QVImage<sShort, 1> >("qvimage_pDst", outputFlag);
01051 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01052 }
01053
01054 void QVAbs_sShortC1Block::iterate()
01055 {
01056 const QVImage<sShort, 1> qvimage_pSrc = getPropertyValue< QVImage<sShort, 1> > ("qvimage_pSrc");
01057 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01058 timeFlag("Read input data");
01059
01060 QVImage<sShort, 1> qvimage_pDst;
01061 timeFlag("Create output data");
01062
01063 Abs(qvimage_pSrc, qvimage_pDst, destROIOffset);
01064 timeFlag("Process input data");
01065
01066 setPropertyValue< QVImage<sShort, 1> >("qvimage_pDst", qvimage_pDst);
01067 timeFlag("Store output data");
01068 }
01069
01070
01071 QVAbs_sFloatC1Block::QVAbs_sFloatC1Block(QString name): QVProcessingBlock(name)
01072 {
01073 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
01074 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01075 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01076 }
01077
01078 void QVAbs_sFloatC1Block::iterate()
01079 {
01080 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
01081 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01082 timeFlag("Read input data");
01083
01084 QVImage<sFloat, 1> qvimage_pDst;
01085 timeFlag("Create output data");
01086
01087 Abs(qvimage_pSrc, qvimage_pDst, destROIOffset);
01088 timeFlag("Process input data");
01089
01090 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01091 timeFlag("Store output data");
01092 }
01093
01094
01095 QVAbsDiff_uCharC1Block::QVAbsDiff_uCharC1Block(QString name): QVProcessingBlock(name)
01096 {
01097 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
01098 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
01099 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01100 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01101 }
01102
01103 void QVAbsDiff_uCharC1Block::iterate()
01104 {
01105 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
01106 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
01107 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01108 timeFlag("Read input data");
01109
01110 QVImage<uChar, 1> qvimage_pDst;
01111 timeFlag("Create output data");
01112
01113 AbsDiff(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01114 timeFlag("Process input data");
01115
01116 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01117 timeFlag("Store output data");
01118 }
01119
01120
01121 QVAbsDiff_sFloatC1Block::QVAbsDiff_sFloatC1Block(QString name): QVProcessingBlock(name)
01122 {
01123 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc1", inputFlag);
01124 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc2", inputFlag);
01125 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01126 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01127 }
01128
01129 void QVAbsDiff_sFloatC1Block::iterate()
01130 {
01131 const QVImage<sFloat, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc1");
01132 const QVImage<sFloat, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc2");
01133 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01134 timeFlag("Read input data");
01135
01136 QVImage<sFloat, 1> qvimage_pDst;
01137 timeFlag("Create output data");
01138
01139 AbsDiff(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01140 timeFlag("Process input data");
01141
01142 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01143 timeFlag("Store output data");
01144 }
01145
01146
01147 QVSqr_sFloatC1Block::QVSqr_sFloatC1Block(QString name): QVProcessingBlock(name)
01148 {
01149 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
01150 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01151 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01152 }
01153
01154 void QVSqr_sFloatC1Block::iterate()
01155 {
01156 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
01157 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01158 timeFlag("Read input data");
01159
01160 QVImage<sFloat, 1> qvimage_pDst;
01161 timeFlag("Create output data");
01162
01163 Sqr(qvimage_pSrc, qvimage_pDst, destROIOffset);
01164 timeFlag("Process input data");
01165
01166 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01167 timeFlag("Store output data");
01168 }
01169
01170
01171 QVLn_sFloatC1Block::QVLn_sFloatC1Block(QString name): QVProcessingBlock(name)
01172 {
01173 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
01174 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01175 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01176 }
01177
01178 void QVLn_sFloatC1Block::iterate()
01179 {
01180 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
01181 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01182 timeFlag("Read input data");
01183
01184 QVImage<sFloat, 1> qvimage_pDst;
01185 timeFlag("Create output data");
01186
01187 Ln(qvimage_pSrc, qvimage_pDst, destROIOffset);
01188 timeFlag("Process input data");
01189
01190 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01191 timeFlag("Store output data");
01192 }
01193
01194
01195 QVLn_sFloatC3Block::QVLn_sFloatC3Block(QString name): QVProcessingBlock(name)
01196 {
01197 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc", inputFlag);
01198 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
01199 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01200 }
01201
01202 void QVLn_sFloatC3Block::iterate()
01203 {
01204 const QVImage<sFloat, 3> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc");
01205 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01206 timeFlag("Read input data");
01207
01208 QVImage<sFloat, 3> qvimage_pDst;
01209 timeFlag("Create output data");
01210
01211 Ln(qvimage_pSrc, qvimage_pDst, destROIOffset);
01212 timeFlag("Process input data");
01213
01214 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
01215 timeFlag("Store output data");
01216 }
01217
01218
01219 QVAnd_uCharC1Block::QVAnd_uCharC1Block(QString name): QVProcessingBlock(name)
01220 {
01221 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
01222 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
01223 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01224 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01225 }
01226
01227 void QVAnd_uCharC1Block::iterate()
01228 {
01229 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
01230 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
01231 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01232 timeFlag("Read input data");
01233
01234 QVImage<uChar, 1> qvimage_pDst;
01235 timeFlag("Create output data");
01236
01237 And(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01238 timeFlag("Process input data");
01239
01240 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01241 timeFlag("Store output data");
01242 }
01243
01244
01245 QVAnd_uCharC3Block::QVAnd_uCharC3Block(QString name): QVProcessingBlock(name)
01246 {
01247 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
01248 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
01249 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
01250 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01251 }
01252
01253 void QVAnd_uCharC3Block::iterate()
01254 {
01255 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
01256 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
01257 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01258 timeFlag("Read input data");
01259
01260 QVImage<uChar, 3> qvimage_pDst;
01261 timeFlag("Create output data");
01262
01263 And(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01264 timeFlag("Process input data");
01265
01266 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
01267 timeFlag("Store output data");
01268 }
01269
01270
01271 QVAnd_uShortC1Block::QVAnd_uShortC1Block(QString name): QVProcessingBlock(name)
01272 {
01273 addProperty< QVImage<uShort, 1> >("qvimage_pSrc1", inputFlag);
01274 addProperty< QVImage<uShort, 1> >("qvimage_pSrc2", inputFlag);
01275 addProperty< QVImage<uShort, 1> >("qvimage_pDst", outputFlag);
01276 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01277 }
01278
01279 void QVAnd_uShortC1Block::iterate()
01280 {
01281 const QVImage<uShort, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uShort, 1> > ("qvimage_pSrc1");
01282 const QVImage<uShort, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uShort, 1> > ("qvimage_pSrc2");
01283 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01284 timeFlag("Read input data");
01285
01286 QVImage<uShort, 1> qvimage_pDst;
01287 timeFlag("Create output data");
01288
01289 And(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01290 timeFlag("Process input data");
01291
01292 setPropertyValue< QVImage<uShort, 1> >("qvimage_pDst", qvimage_pDst);
01293 timeFlag("Store output data");
01294 }
01295
01296
01297 QVAnd_uShortC3Block::QVAnd_uShortC3Block(QString name): QVProcessingBlock(name)
01298 {
01299 addProperty< QVImage<uShort, 3> >("qvimage_pSrc1", inputFlag);
01300 addProperty< QVImage<uShort, 3> >("qvimage_pSrc2", inputFlag);
01301 addProperty< QVImage<uShort, 3> >("qvimage_pDst", outputFlag);
01302 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01303 }
01304
01305 void QVAnd_uShortC3Block::iterate()
01306 {
01307 const QVImage<uShort, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uShort, 3> > ("qvimage_pSrc1");
01308 const QVImage<uShort, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uShort, 3> > ("qvimage_pSrc2");
01309 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01310 timeFlag("Read input data");
01311
01312 QVImage<uShort, 3> qvimage_pDst;
01313 timeFlag("Create output data");
01314
01315 And(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01316 timeFlag("Process input data");
01317
01318 setPropertyValue< QVImage<uShort, 3> >("qvimage_pDst", qvimage_pDst);
01319 timeFlag("Store output data");
01320 }
01321
01322
01323 QVAnd_sIntC1Block::QVAnd_sIntC1Block(QString name): QVProcessingBlock(name)
01324 {
01325 addProperty< QVImage<sInt, 1> >("qvimage_pSrc1", inputFlag);
01326 addProperty< QVImage<sInt, 1> >("qvimage_pSrc2", inputFlag);
01327 addProperty< QVImage<sInt, 1> >("qvimage_pDst", outputFlag);
01328 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01329 }
01330
01331 void QVAnd_sIntC1Block::iterate()
01332 {
01333 const QVImage<sInt, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sInt, 1> > ("qvimage_pSrc1");
01334 const QVImage<sInt, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sInt, 1> > ("qvimage_pSrc2");
01335 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01336 timeFlag("Read input data");
01337
01338 QVImage<sInt, 1> qvimage_pDst;
01339 timeFlag("Create output data");
01340
01341 And(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01342 timeFlag("Process input data");
01343
01344 setPropertyValue< QVImage<sInt, 1> >("qvimage_pDst", qvimage_pDst);
01345 timeFlag("Store output data");
01346 }
01347
01348
01349 QVAnd_sIntC3Block::QVAnd_sIntC3Block(QString name): QVProcessingBlock(name)
01350 {
01351 addProperty< QVImage<sInt, 3> >("qvimage_pSrc1", inputFlag);
01352 addProperty< QVImage<sInt, 3> >("qvimage_pSrc2", inputFlag);
01353 addProperty< QVImage<sInt, 3> >("qvimage_pDst", outputFlag);
01354 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01355 }
01356
01357 void QVAnd_sIntC3Block::iterate()
01358 {
01359 const QVImage<sInt, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sInt, 3> > ("qvimage_pSrc1");
01360 const QVImage<sInt, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sInt, 3> > ("qvimage_pSrc2");
01361 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01362 timeFlag("Read input data");
01363
01364 QVImage<sInt, 3> qvimage_pDst;
01365 timeFlag("Create output data");
01366
01367 And(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01368 timeFlag("Process input data");
01369
01370 setPropertyValue< QVImage<sInt, 3> >("qvimage_pDst", qvimage_pDst);
01371 timeFlag("Store output data");
01372 }
01373
01374
01375 QVOr_uCharC1Block::QVOr_uCharC1Block(QString name): QVProcessingBlock(name)
01376 {
01377 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
01378 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
01379 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01380 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01381 }
01382
01383 void QVOr_uCharC1Block::iterate()
01384 {
01385 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
01386 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
01387 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01388 timeFlag("Read input data");
01389
01390 QVImage<uChar, 1> qvimage_pDst;
01391 timeFlag("Create output data");
01392
01393 Or(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01394 timeFlag("Process input data");
01395
01396 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01397 timeFlag("Store output data");
01398 }
01399
01400
01401 QVOr_uCharC3Block::QVOr_uCharC3Block(QString name): QVProcessingBlock(name)
01402 {
01403 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
01404 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
01405 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
01406 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01407 }
01408
01409 void QVOr_uCharC3Block::iterate()
01410 {
01411 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
01412 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
01413 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01414 timeFlag("Read input data");
01415
01416 QVImage<uChar, 3> qvimage_pDst;
01417 timeFlag("Create output data");
01418
01419 Or(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01420 timeFlag("Process input data");
01421
01422 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
01423 timeFlag("Store output data");
01424 }
01425
01426
01427 QVOr_uShortC1Block::QVOr_uShortC1Block(QString name): QVProcessingBlock(name)
01428 {
01429 addProperty< QVImage<uShort, 1> >("qvimage_pSrc1", inputFlag);
01430 addProperty< QVImage<uShort, 1> >("qvimage_pSrc2", inputFlag);
01431 addProperty< QVImage<uShort, 1> >("qvimage_pDst", outputFlag);
01432 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01433 }
01434
01435 void QVOr_uShortC1Block::iterate()
01436 {
01437 const QVImage<uShort, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uShort, 1> > ("qvimage_pSrc1");
01438 const QVImage<uShort, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uShort, 1> > ("qvimage_pSrc2");
01439 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01440 timeFlag("Read input data");
01441
01442 QVImage<uShort, 1> qvimage_pDst;
01443 timeFlag("Create output data");
01444
01445 Or(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01446 timeFlag("Process input data");
01447
01448 setPropertyValue< QVImage<uShort, 1> >("qvimage_pDst", qvimage_pDst);
01449 timeFlag("Store output data");
01450 }
01451
01452
01453 QVOr_uShortC3Block::QVOr_uShortC3Block(QString name): QVProcessingBlock(name)
01454 {
01455 addProperty< QVImage<uShort, 3> >("qvimage_pSrc1", inputFlag);
01456 addProperty< QVImage<uShort, 3> >("qvimage_pSrc2", inputFlag);
01457 addProperty< QVImage<uShort, 3> >("qvimage_pDst", outputFlag);
01458 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01459 }
01460
01461 void QVOr_uShortC3Block::iterate()
01462 {
01463 const QVImage<uShort, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uShort, 3> > ("qvimage_pSrc1");
01464 const QVImage<uShort, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uShort, 3> > ("qvimage_pSrc2");
01465 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01466 timeFlag("Read input data");
01467
01468 QVImage<uShort, 3> qvimage_pDst;
01469 timeFlag("Create output data");
01470
01471 Or(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01472 timeFlag("Process input data");
01473
01474 setPropertyValue< QVImage<uShort, 3> >("qvimage_pDst", qvimage_pDst);
01475 timeFlag("Store output data");
01476 }
01477
01478
01479 QVOr_sIntC1Block::QVOr_sIntC1Block(QString name): QVProcessingBlock(name)
01480 {
01481 addProperty< QVImage<sInt, 1> >("qvimage_pSrc1", inputFlag);
01482 addProperty< QVImage<sInt, 1> >("qvimage_pSrc2", inputFlag);
01483 addProperty< QVImage<sInt, 1> >("qvimage_pDst", outputFlag);
01484 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01485 }
01486
01487 void QVOr_sIntC1Block::iterate()
01488 {
01489 const QVImage<sInt, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sInt, 1> > ("qvimage_pSrc1");
01490 const QVImage<sInt, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sInt, 1> > ("qvimage_pSrc2");
01491 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01492 timeFlag("Read input data");
01493
01494 QVImage<sInt, 1> qvimage_pDst;
01495 timeFlag("Create output data");
01496
01497 Or(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01498 timeFlag("Process input data");
01499
01500 setPropertyValue< QVImage<sInt, 1> >("qvimage_pDst", qvimage_pDst);
01501 timeFlag("Store output data");
01502 }
01503
01504
01505 QVOr_sIntC3Block::QVOr_sIntC3Block(QString name): QVProcessingBlock(name)
01506 {
01507 addProperty< QVImage<sInt, 3> >("qvimage_pSrc1", inputFlag);
01508 addProperty< QVImage<sInt, 3> >("qvimage_pSrc2", inputFlag);
01509 addProperty< QVImage<sInt, 3> >("qvimage_pDst", outputFlag);
01510 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01511 }
01512
01513 void QVOr_sIntC3Block::iterate()
01514 {
01515 const QVImage<sInt, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sInt, 3> > ("qvimage_pSrc1");
01516 const QVImage<sInt, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sInt, 3> > ("qvimage_pSrc2");
01517 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01518 timeFlag("Read input data");
01519
01520 QVImage<sInt, 3> qvimage_pDst;
01521 timeFlag("Create output data");
01522
01523 Or(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01524 timeFlag("Process input data");
01525
01526 setPropertyValue< QVImage<sInt, 3> >("qvimage_pDst", qvimage_pDst);
01527 timeFlag("Store output data");
01528 }
01529
01530
01531 QVXor_uCharC1Block::QVXor_uCharC1Block(QString name): QVProcessingBlock(name)
01532 {
01533 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
01534 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
01535 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01536 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01537 }
01538
01539 void QVXor_uCharC1Block::iterate()
01540 {
01541 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
01542 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
01543 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01544 timeFlag("Read input data");
01545
01546 QVImage<uChar, 1> qvimage_pDst;
01547 timeFlag("Create output data");
01548
01549 Xor(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01550 timeFlag("Process input data");
01551
01552 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01553 timeFlag("Store output data");
01554 }
01555
01556
01557 QVXor_uCharC3Block::QVXor_uCharC3Block(QString name): QVProcessingBlock(name)
01558 {
01559 addProperty< QVImage<uChar, 3> >("qvimage_pSrc1", inputFlag);
01560 addProperty< QVImage<uChar, 3> >("qvimage_pSrc2", inputFlag);
01561 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
01562 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01563 }
01564
01565 void QVXor_uCharC3Block::iterate()
01566 {
01567 const QVImage<uChar, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc1");
01568 const QVImage<uChar, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc2");
01569 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01570 timeFlag("Read input data");
01571
01572 QVImage<uChar, 3> qvimage_pDst;
01573 timeFlag("Create output data");
01574
01575 Xor(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01576 timeFlag("Process input data");
01577
01578 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
01579 timeFlag("Store output data");
01580 }
01581
01582
01583 QVXor_uShortC1Block::QVXor_uShortC1Block(QString name): QVProcessingBlock(name)
01584 {
01585 addProperty< QVImage<uShort, 1> >("qvimage_pSrc1", inputFlag);
01586 addProperty< QVImage<uShort, 1> >("qvimage_pSrc2", inputFlag);
01587 addProperty< QVImage<uShort, 1> >("qvimage_pDst", outputFlag);
01588 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01589 }
01590
01591 void QVXor_uShortC1Block::iterate()
01592 {
01593 const QVImage<uShort, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uShort, 1> > ("qvimage_pSrc1");
01594 const QVImage<uShort, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uShort, 1> > ("qvimage_pSrc2");
01595 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01596 timeFlag("Read input data");
01597
01598 QVImage<uShort, 1> qvimage_pDst;
01599 timeFlag("Create output data");
01600
01601 Xor(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01602 timeFlag("Process input data");
01603
01604 setPropertyValue< QVImage<uShort, 1> >("qvimage_pDst", qvimage_pDst);
01605 timeFlag("Store output data");
01606 }
01607
01608
01609 QVXor_uShortC3Block::QVXor_uShortC3Block(QString name): QVProcessingBlock(name)
01610 {
01611 addProperty< QVImage<uShort, 3> >("qvimage_pSrc1", inputFlag);
01612 addProperty< QVImage<uShort, 3> >("qvimage_pSrc2", inputFlag);
01613 addProperty< QVImage<uShort, 3> >("qvimage_pDst", outputFlag);
01614 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01615 }
01616
01617 void QVXor_uShortC3Block::iterate()
01618 {
01619 const QVImage<uShort, 3> qvimage_pSrc1 = getPropertyValue< QVImage<uShort, 3> > ("qvimage_pSrc1");
01620 const QVImage<uShort, 3> qvimage_pSrc2 = getPropertyValue< QVImage<uShort, 3> > ("qvimage_pSrc2");
01621 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01622 timeFlag("Read input data");
01623
01624 QVImage<uShort, 3> qvimage_pDst;
01625 timeFlag("Create output data");
01626
01627 Xor(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01628 timeFlag("Process input data");
01629
01630 setPropertyValue< QVImage<uShort, 3> >("qvimage_pDst", qvimage_pDst);
01631 timeFlag("Store output data");
01632 }
01633
01634
01635 QVXor_sIntC1Block::QVXor_sIntC1Block(QString name): QVProcessingBlock(name)
01636 {
01637 addProperty< QVImage<sInt, 1> >("qvimage_pSrc1", inputFlag);
01638 addProperty< QVImage<sInt, 1> >("qvimage_pSrc2", inputFlag);
01639 addProperty< QVImage<sInt, 1> >("qvimage_pDst", outputFlag);
01640 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01641 }
01642
01643 void QVXor_sIntC1Block::iterate()
01644 {
01645 const QVImage<sInt, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sInt, 1> > ("qvimage_pSrc1");
01646 const QVImage<sInt, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sInt, 1> > ("qvimage_pSrc2");
01647 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01648 timeFlag("Read input data");
01649
01650 QVImage<sInt, 1> qvimage_pDst;
01651 timeFlag("Create output data");
01652
01653 Xor(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01654 timeFlag("Process input data");
01655
01656 setPropertyValue< QVImage<sInt, 1> >("qvimage_pDst", qvimage_pDst);
01657 timeFlag("Store output data");
01658 }
01659
01660
01661 QVXor_sIntC3Block::QVXor_sIntC3Block(QString name): QVProcessingBlock(name)
01662 {
01663 addProperty< QVImage<sInt, 3> >("qvimage_pSrc1", inputFlag);
01664 addProperty< QVImage<sInt, 3> >("qvimage_pSrc2", inputFlag);
01665 addProperty< QVImage<sInt, 3> >("qvimage_pDst", outputFlag);
01666 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01667 }
01668
01669 void QVXor_sIntC3Block::iterate()
01670 {
01671 const QVImage<sInt, 3> qvimage_pSrc1 = getPropertyValue< QVImage<sInt, 3> > ("qvimage_pSrc1");
01672 const QVImage<sInt, 3> qvimage_pSrc2 = getPropertyValue< QVImage<sInt, 3> > ("qvimage_pSrc2");
01673 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01674 timeFlag("Read input data");
01675
01676 QVImage<sInt, 3> qvimage_pDst;
01677 timeFlag("Create output data");
01678
01679 Xor(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, destROIOffset);
01680 timeFlag("Process input data");
01681
01682 setPropertyValue< QVImage<sInt, 3> >("qvimage_pDst", qvimage_pDst);
01683 timeFlag("Store output data");
01684 }
01685
01686
01687 QVNot_uCharC1Block::QVNot_uCharC1Block(QString name): QVProcessingBlock(name)
01688 {
01689 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01690 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01691 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01692 }
01693
01694 void QVNot_uCharC1Block::iterate()
01695 {
01696 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01697 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01698 timeFlag("Read input data");
01699
01700 QVImage<uChar, 1> qvimage_pDst;
01701 timeFlag("Create output data");
01702
01703 Not(qvimage_pSrc, qvimage_pDst, destROIOffset);
01704 timeFlag("Process input data");
01705
01706 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01707 timeFlag("Store output data");
01708 }
01709
01710
01711 QVNot_uCharC3Block::QVNot_uCharC3Block(QString name): QVProcessingBlock(name)
01712 {
01713 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
01714 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
01715 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01716 }
01717
01718 void QVNot_uCharC3Block::iterate()
01719 {
01720 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
01721 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01722 timeFlag("Read input data");
01723
01724 QVImage<uChar, 3> qvimage_pDst;
01725 timeFlag("Create output data");
01726
01727 Not(qvimage_pSrc, qvimage_pDst, destROIOffset);
01728 timeFlag("Process input data");
01729
01730 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
01731 timeFlag("Store output data");
01732 }
01733
01734
01735 QVAndC_uCharC1Block::QVAndC_uCharC1Block(QString name): QVProcessingBlock(name)
01736 {
01737 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01738 addProperty< uChar >("value", inputFlag);
01739 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01740 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01741 }
01742
01743 void QVAndC_uCharC1Block::iterate()
01744 {
01745 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01746 const uChar value = getPropertyValue< uChar > ("value");
01747 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01748 timeFlag("Read input data");
01749
01750 QVImage<uChar, 1> qvimage_pDst;
01751 timeFlag("Create output data");
01752
01753 AndC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
01754 timeFlag("Process input data");
01755
01756 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01757 timeFlag("Store output data");
01758 }
01759
01760
01761 QVOrC_uCharC1Block::QVOrC_uCharC1Block(QString name): QVProcessingBlock(name)
01762 {
01763 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01764 addProperty< uChar >("value", inputFlag);
01765 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01766 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01767 }
01768
01769 void QVOrC_uCharC1Block::iterate()
01770 {
01771 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01772 const uChar value = getPropertyValue< uChar > ("value");
01773 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01774 timeFlag("Read input data");
01775
01776 QVImage<uChar, 1> qvimage_pDst;
01777 timeFlag("Create output data");
01778
01779 OrC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
01780 timeFlag("Process input data");
01781
01782 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01783 timeFlag("Store output data");
01784 }
01785
01786
01787 QVXorC_uCharC1Block::QVXorC_uCharC1Block(QString name): QVProcessingBlock(name)
01788 {
01789 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01790 addProperty< uChar >("value", inputFlag);
01791 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01792 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01793 }
01794
01795 void QVXorC_uCharC1Block::iterate()
01796 {
01797 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01798 const uChar value = getPropertyValue< uChar > ("value");
01799 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01800 timeFlag("Read input data");
01801
01802 QVImage<uChar, 1> qvimage_pDst;
01803 timeFlag("Create output data");
01804
01805 XorC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
01806 timeFlag("Process input data");
01807
01808 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01809 timeFlag("Store output data");
01810 }
01811
01812
01813 QVLShiftC_uCharC1Block::QVLShiftC_uCharC1Block(QString name): QVProcessingBlock(name)
01814 {
01815 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01816 addProperty< uInt >("value", inputFlag);
01817 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01818 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01819 }
01820
01821 void QVLShiftC_uCharC1Block::iterate()
01822 {
01823 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01824 const uInt value = getPropertyValue< uInt > ("value");
01825 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01826 timeFlag("Read input data");
01827
01828 QVImage<uChar, 1> qvimage_pDst;
01829 timeFlag("Create output data");
01830
01831 LShiftC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
01832 timeFlag("Process input data");
01833
01834 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01835 timeFlag("Store output data");
01836 }
01837
01838
01839 QVRShiftC_uCharC1Block::QVRShiftC_uCharC1Block(QString name): QVProcessingBlock(name)
01840 {
01841 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01842 addProperty< uInt >("value", inputFlag);
01843 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01844 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01845 }
01846
01847 void QVRShiftC_uCharC1Block::iterate()
01848 {
01849 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01850 const uInt value = getPropertyValue< uInt > ("value");
01851 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01852 timeFlag("Read input data");
01853
01854 QVImage<uChar, 1> qvimage_pDst;
01855 timeFlag("Create output data");
01856
01857 RShiftC(qvimage_pSrc, value, qvimage_pDst, destROIOffset);
01858 timeFlag("Process input data");
01859
01860 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01861 timeFlag("Store output data");
01862 }
01863
01864
01865 QVRGBToGray_uCharC3C1Block::QVRGBToGray_uCharC3C1Block(QString name): QVProcessingBlock(name)
01866 {
01867 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
01868 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01869 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01870 }
01871
01872 void QVRGBToGray_uCharC3C1Block::iterate()
01873 {
01874 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
01875 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01876 timeFlag("Read input data");
01877
01878 QVImage<uChar, 1> qvimage_pDst;
01879 timeFlag("Create output data");
01880
01881 RGBToGray(qvimage_pSrc, qvimage_pDst, destROIOffset);
01882 timeFlag("Process input data");
01883
01884 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01885 timeFlag("Store output data");
01886 }
01887
01888
01889 QVRGBToGray_sFloatC3C1Block::QVRGBToGray_sFloatC3C1Block(QString name): QVProcessingBlock(name)
01890 {
01891 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc", inputFlag);
01892 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01893 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01894 }
01895
01896 void QVRGBToGray_sFloatC3C1Block::iterate()
01897 {
01898 const QVImage<sFloat, 3> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc");
01899 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01900 timeFlag("Read input data");
01901
01902 QVImage<sFloat, 1> qvimage_pDst;
01903 timeFlag("Create output data");
01904
01905 RGBToGray(qvimage_pSrc, qvimage_pDst, destROIOffset);
01906 timeFlag("Process input data");
01907
01908 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01909 timeFlag("Store output data");
01910 }
01911
01912
01913 QVThreshold_uCharC1Block::QVThreshold_uCharC1Block(QString name): QVProcessingBlock(name)
01914 {
01915 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01916 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01917 addProperty< uChar >("threshold", inputFlag);
01918 addProperty< IppCmpOp >("ippCmpOp", inputFlag, ippCmpEq);
01919 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01920 }
01921
01922 void QVThreshold_uCharC1Block::iterate()
01923 {
01924 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01925 const uChar threshold = getPropertyValue< uChar > ("threshold");
01926 const IppCmpOp ippCmpOp = getPropertyValue< IppCmpOp > ("ippCmpOp");
01927 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01928 timeFlag("Read input data");
01929
01930 QVImage<uChar, 1> qvimage_pDst;
01931 timeFlag("Create output data");
01932
01933 Threshold(qvimage_pSrc, qvimage_pDst, threshold, ippCmpOp, destROIOffset);
01934 timeFlag("Process input data");
01935
01936 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
01937 timeFlag("Store output data");
01938 }
01939
01940
01941 QVThreshold_sFloatC1Block::QVThreshold_sFloatC1Block(QString name): QVProcessingBlock(name)
01942 {
01943 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
01944 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
01945 addProperty< sFloat >("threshold", inputFlag);
01946 addProperty< IppCmpOp >("ippCmpOp", inputFlag, ippCmpEq);
01947 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01948 }
01949
01950 void QVThreshold_sFloatC1Block::iterate()
01951 {
01952 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
01953 const sFloat threshold = getPropertyValue< sFloat > ("threshold");
01954 const IppCmpOp ippCmpOp = getPropertyValue< IppCmpOp > ("ippCmpOp");
01955 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
01956 timeFlag("Read input data");
01957
01958 QVImage<sFloat, 1> qvimage_pDst;
01959 timeFlag("Create output data");
01960
01961 Threshold(qvimage_pSrc, qvimage_pDst, threshold, ippCmpOp, destROIOffset);
01962 timeFlag("Process input data");
01963
01964 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
01965 timeFlag("Store output data");
01966 }
01967
01968
01969 QVComputeThreshold_Otsu_uCharC1Block::QVComputeThreshold_Otsu_uCharC1Block(QString name): QVProcessingBlock(name)
01970 {
01971 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
01972 addProperty< uChar >("pThreshold", outputFlag);
01973 }
01974
01975 void QVComputeThreshold_Otsu_uCharC1Block::iterate()
01976 {
01977 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
01978 timeFlag("Read input data");
01979
01980 uChar pThreshold;
01981 timeFlag("Create output data");
01982
01983 ComputeThreshold_Otsu(qvimage_pSrc, pThreshold);
01984 timeFlag("Process input data");
01985
01986 setPropertyValue< uChar >("pThreshold", pThreshold);
01987 timeFlag("Store output data");
01988 }
01989
01990
01991 QVCompare_uCharC1Block::QVCompare_uCharC1Block(QString name): QVProcessingBlock(name)
01992 {
01993 addProperty< QVImage<uChar, 1> >("qvimage_pSrc1", inputFlag);
01994 addProperty< QVImage<uChar, 1> >("qvimage_pSrc2", inputFlag);
01995 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
01996 addProperty< IppCmpOp >("ippCmpOp", inputFlag, ippCmpEq);
01997 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
01998 }
01999
02000 void QVCompare_uCharC1Block::iterate()
02001 {
02002 const QVImage<uChar, 1> qvimage_pSrc1 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc1");
02003 const QVImage<uChar, 1> qvimage_pSrc2 = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc2");
02004 const IppCmpOp ippCmpOp = getPropertyValue< IppCmpOp > ("ippCmpOp");
02005 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02006 timeFlag("Read input data");
02007
02008 QVImage<uChar, 1> qvimage_pDst;
02009 timeFlag("Create output data");
02010
02011 Compare(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, ippCmpOp, destROIOffset);
02012 timeFlag("Process input data");
02013
02014 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02015 timeFlag("Store output data");
02016 }
02017
02018
02019 QVCompare_sFloatC1Block::QVCompare_sFloatC1Block(QString name): QVProcessingBlock(name)
02020 {
02021 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc1", inputFlag);
02022 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc2", inputFlag);
02023 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02024 addProperty< IppCmpOp >("ippCmpOp", inputFlag, ippCmpEq);
02025 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02026 }
02027
02028 void QVCompare_sFloatC1Block::iterate()
02029 {
02030 const QVImage<sFloat, 1> qvimage_pSrc1 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc1");
02031 const QVImage<sFloat, 1> qvimage_pSrc2 = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc2");
02032 const IppCmpOp ippCmpOp = getPropertyValue< IppCmpOp > ("ippCmpOp");
02033 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02034 timeFlag("Read input data");
02035
02036 QVImage<uChar, 1> qvimage_pDst;
02037 timeFlag("Create output data");
02038
02039 Compare(qvimage_pSrc1, qvimage_pSrc2, qvimage_pDst, ippCmpOp, destROIOffset);
02040 timeFlag("Process input data");
02041
02042 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02043 timeFlag("Store output data");
02044 }
02045
02046
02047 QVCompareC_uCharC1Block::QVCompareC_uCharC1Block(QString name): QVProcessingBlock(name)
02048 {
02049 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02050 addProperty< uChar >("value", inputFlag);
02051 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02052 addProperty< IppCmpOp >("ippCmpOp", inputFlag, ippCmpEq);
02053 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02054 }
02055
02056 void QVCompareC_uCharC1Block::iterate()
02057 {
02058 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02059 const uChar value = getPropertyValue< uChar > ("value");
02060 const IppCmpOp ippCmpOp = getPropertyValue< IppCmpOp > ("ippCmpOp");
02061 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02062 timeFlag("Read input data");
02063
02064 QVImage<uChar, 1> qvimage_pDst;
02065 timeFlag("Create output data");
02066
02067 CompareC(qvimage_pSrc, value, qvimage_pDst, ippCmpOp, destROIOffset);
02068 timeFlag("Process input data");
02069
02070 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02071 timeFlag("Store output data");
02072 }
02073
02074
02075 QVCompareC_sFloatC1Block::QVCompareC_sFloatC1Block(QString name): QVProcessingBlock(name)
02076 {
02077 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02078 addProperty< sFloat >("value", inputFlag);
02079 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02080 addProperty< IppCmpOp >("ippCmpOp", inputFlag, ippCmpEq);
02081 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02082 }
02083
02084 void QVCompareC_sFloatC1Block::iterate()
02085 {
02086 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02087 const sFloat value = getPropertyValue< sFloat > ("value");
02088 const IppCmpOp ippCmpOp = getPropertyValue< IppCmpOp > ("ippCmpOp");
02089 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02090 timeFlag("Read input data");
02091
02092 QVImage<uChar, 1> qvimage_pDst;
02093 timeFlag("Create output data");
02094
02095 CompareC(qvimage_pSrc, value, qvimage_pDst, ippCmpOp, destROIOffset);
02096 timeFlag("Process input data");
02097
02098 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02099 timeFlag("Store output data");
02100 }
02101
02102
02103 QVFilterBox_uCharC1Block::QVFilterBox_uCharC1Block(QString name): QVProcessingBlock(name)
02104 {
02105 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02106 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02107 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02108 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02109 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02110 }
02111
02112 void QVFilterBox_uCharC1Block::iterate()
02113 {
02114 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02115 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02116 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02117 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02118 timeFlag("Read input data");
02119
02120 QVImage<uChar, 1> qvimage_pDst;
02121 timeFlag("Create output data");
02122
02123 FilterBox(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02124 timeFlag("Process input data");
02125
02126 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02127 timeFlag("Store output data");
02128 }
02129
02130
02131 QVFilterBox_uCharC3Block::QVFilterBox_uCharC3Block(QString name): QVProcessingBlock(name)
02132 {
02133 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
02134 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
02135 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02136 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02137 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02138 }
02139
02140 void QVFilterBox_uCharC3Block::iterate()
02141 {
02142 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
02143 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02144 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02145 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02146 timeFlag("Read input data");
02147
02148 QVImage<uChar, 3> qvimage_pDst;
02149 timeFlag("Create output data");
02150
02151 FilterBox(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02152 timeFlag("Process input data");
02153
02154 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
02155 timeFlag("Store output data");
02156 }
02157
02158
02159 QVFilterBox_sFloatC1Block::QVFilterBox_sFloatC1Block(QString name): QVProcessingBlock(name)
02160 {
02161 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02162 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02163 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02164 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02165 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02166 }
02167
02168 void QVFilterBox_sFloatC1Block::iterate()
02169 {
02170 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02171 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02172 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02173 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02174 timeFlag("Read input data");
02175
02176 QVImage<sFloat, 1> qvimage_pDst;
02177 timeFlag("Create output data");
02178
02179 FilterBox(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02180 timeFlag("Process input data");
02181
02182 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02183 timeFlag("Store output data");
02184 }
02185
02186
02187 QVFilterMin_uCharC1Block::QVFilterMin_uCharC1Block(QString name): QVProcessingBlock(name)
02188 {
02189 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02190 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02191 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02192 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02193 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02194 }
02195
02196 void QVFilterMin_uCharC1Block::iterate()
02197 {
02198 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02199 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02200 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02201 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02202 timeFlag("Read input data");
02203
02204 QVImage<uChar, 1> qvimage_pDst;
02205 timeFlag("Create output data");
02206
02207 FilterMin(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02208 timeFlag("Process input data");
02209
02210 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02211 timeFlag("Store output data");
02212 }
02213
02214
02215 QVFilterMin_uCharC3Block::QVFilterMin_uCharC3Block(QString name): QVProcessingBlock(name)
02216 {
02217 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
02218 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
02219 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02220 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02221 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02222 }
02223
02224 void QVFilterMin_uCharC3Block::iterate()
02225 {
02226 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
02227 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02228 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02229 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02230 timeFlag("Read input data");
02231
02232 QVImage<uChar, 3> qvimage_pDst;
02233 timeFlag("Create output data");
02234
02235 FilterMin(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02236 timeFlag("Process input data");
02237
02238 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
02239 timeFlag("Store output data");
02240 }
02241
02242
02243 QVFilterMin_sFloatC1Block::QVFilterMin_sFloatC1Block(QString name): QVProcessingBlock(name)
02244 {
02245 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02246 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02247 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02248 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02249 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02250 }
02251
02252 void QVFilterMin_sFloatC1Block::iterate()
02253 {
02254 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02255 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02256 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02257 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02258 timeFlag("Read input data");
02259
02260 QVImage<sFloat, 1> qvimage_pDst;
02261 timeFlag("Create output data");
02262
02263 FilterMin(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02264 timeFlag("Process input data");
02265
02266 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02267 timeFlag("Store output data");
02268 }
02269
02270
02271 QVFilterMax_uCharC1Block::QVFilterMax_uCharC1Block(QString name): QVProcessingBlock(name)
02272 {
02273 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02274 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02275 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02276 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02277 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02278 }
02279
02280 void QVFilterMax_uCharC1Block::iterate()
02281 {
02282 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02283 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02284 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02285 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02286 timeFlag("Read input data");
02287
02288 QVImage<uChar, 1> qvimage_pDst;
02289 timeFlag("Create output data");
02290
02291 FilterMax(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02292 timeFlag("Process input data");
02293
02294 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02295 timeFlag("Store output data");
02296 }
02297
02298
02299 QVFilterMax_uCharC3Block::QVFilterMax_uCharC3Block(QString name): QVProcessingBlock(name)
02300 {
02301 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
02302 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
02303 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02304 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02305 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02306 }
02307
02308 void QVFilterMax_uCharC3Block::iterate()
02309 {
02310 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
02311 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02312 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02313 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02314 timeFlag("Read input data");
02315
02316 QVImage<uChar, 3> qvimage_pDst;
02317 timeFlag("Create output data");
02318
02319 FilterMax(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02320 timeFlag("Process input data");
02321
02322 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
02323 timeFlag("Store output data");
02324 }
02325
02326
02327 QVFilterMax_sFloatC1Block::QVFilterMax_sFloatC1Block(QString name): QVProcessingBlock(name)
02328 {
02329 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02330 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02331 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02332 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02333 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02334 }
02335
02336 void QVFilterMax_sFloatC1Block::iterate()
02337 {
02338 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02339 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02340 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02341 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02342 timeFlag("Read input data");
02343
02344 QVImage<sFloat, 1> qvimage_pDst;
02345 timeFlag("Create output data");
02346
02347 FilterMax(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02348 timeFlag("Process input data");
02349
02350 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02351 timeFlag("Store output data");
02352 }
02353
02354
02355 QVFilterMedian_uCharC1Block::QVFilterMedian_uCharC1Block(QString name): QVProcessingBlock(name)
02356 {
02357 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02358 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02359 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02360 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02361 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02362 }
02363
02364 void QVFilterMedian_uCharC1Block::iterate()
02365 {
02366 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02367 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02368 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02369 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02370 timeFlag("Read input data");
02371
02372 QVImage<uChar, 1> qvimage_pDst;
02373 timeFlag("Create output data");
02374
02375 FilterMedian(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02376 timeFlag("Process input data");
02377
02378 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02379 timeFlag("Store output data");
02380 }
02381
02382
02383 QVFilterMedian_uCharC3Block::QVFilterMedian_uCharC3Block(QString name): QVProcessingBlock(name)
02384 {
02385 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
02386 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
02387 addProperty< QSize >("maskSize", inputFlag, QSize(3,3));
02388 addProperty< QPoint >("anchor", inputFlag, QPoint(0,0));
02389 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02390 }
02391
02392 void QVFilterMedian_uCharC3Block::iterate()
02393 {
02394 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
02395 const QSize maskSize = getPropertyValue< QSize > ("maskSize");
02396 const QPoint anchor = getPropertyValue< QPoint > ("anchor");
02397 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02398 timeFlag("Read input data");
02399
02400 QVImage<uChar, 3> qvimage_pDst;
02401 timeFlag("Create output data");
02402
02403 FilterMedian(qvimage_pSrc, qvimage_pDst, maskSize, anchor, destROIOffset);
02404 timeFlag("Process input data");
02405
02406 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
02407 timeFlag("Store output data");
02408 }
02409
02410
02411 QVFilterMedianHoriz_uCharC1Block::QVFilterMedianHoriz_uCharC1Block(QString name): QVProcessingBlock(name)
02412 {
02413 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02414 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02415 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02416 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02417 }
02418
02419 void QVFilterMedianHoriz_uCharC1Block::iterate()
02420 {
02421 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02422 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02423 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02424 timeFlag("Read input data");
02425
02426 QVImage<uChar, 1> qvimage_pDst;
02427 timeFlag("Create output data");
02428
02429 FilterMedianHoriz(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02430 timeFlag("Process input data");
02431
02432 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02433 timeFlag("Store output data");
02434 }
02435
02436
02437 QVFilterSobelHorizMask_sFloatC1Block::QVFilterSobelHorizMask_sFloatC1Block(QString name): QVProcessingBlock(name)
02438 {
02439 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02440 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02441 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02442 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02443 }
02444
02445 void QVFilterSobelHorizMask_sFloatC1Block::iterate()
02446 {
02447 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02448 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02449 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02450 timeFlag("Read input data");
02451
02452 QVImage<sFloat, 1> qvimage_pDst;
02453 timeFlag("Create output data");
02454
02455 FilterSobelHorizMask(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02456 timeFlag("Process input data");
02457
02458 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02459 timeFlag("Store output data");
02460 }
02461
02462
02463 QVFilterSobelVertMask_sFloatC1Block::QVFilterSobelVertMask_sFloatC1Block(QString name): QVProcessingBlock(name)
02464 {
02465 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02466 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02467 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02468 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02469 }
02470
02471 void QVFilterSobelVertMask_sFloatC1Block::iterate()
02472 {
02473 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02474 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02475 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02476 timeFlag("Read input data");
02477
02478 QVImage<sFloat, 1> qvimage_pDst;
02479 timeFlag("Create output data");
02480
02481 FilterSobelVertMask(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02482 timeFlag("Process input data");
02483
02484 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02485 timeFlag("Store output data");
02486 }
02487
02488
02489 QVFilterLaplace_uCharC1Block::QVFilterLaplace_uCharC1Block(QString name): QVProcessingBlock(name)
02490 {
02491 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02492 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02493 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02494 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02495 }
02496
02497 void QVFilterLaplace_uCharC1Block::iterate()
02498 {
02499 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02500 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02501 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02502 timeFlag("Read input data");
02503
02504 QVImage<uChar, 1> qvimage_pDst;
02505 timeFlag("Create output data");
02506
02507 FilterLaplace(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02508 timeFlag("Process input data");
02509
02510 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02511 timeFlag("Store output data");
02512 }
02513
02514
02515 QVFilterLaplace_sFloatC1Block::QVFilterLaplace_sFloatC1Block(QString name): QVProcessingBlock(name)
02516 {
02517 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02518 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02519 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02520 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02521 }
02522
02523 void QVFilterLaplace_sFloatC1Block::iterate()
02524 {
02525 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02526 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02527 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02528 timeFlag("Read input data");
02529
02530 QVImage<sFloat, 1> qvimage_pDst;
02531 timeFlag("Create output data");
02532
02533 FilterLaplace(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02534 timeFlag("Process input data");
02535
02536 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02537 timeFlag("Store output data");
02538 }
02539
02540
02541 QVFilterGauss_uCharC1Block::QVFilterGauss_uCharC1Block(QString name): QVProcessingBlock(name)
02542 {
02543 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02544 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02545 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02546 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02547 }
02548
02549 void QVFilterGauss_uCharC1Block::iterate()
02550 {
02551 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02552 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02553 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02554 timeFlag("Read input data");
02555
02556 QVImage<uChar, 1> qvimage_pDst;
02557 timeFlag("Create output data");
02558
02559 FilterGauss(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02560 timeFlag("Process input data");
02561
02562 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02563 timeFlag("Store output data");
02564 }
02565
02566
02567 QVFilterGauss_sFloatC1Block::QVFilterGauss_sFloatC1Block(QString name): QVProcessingBlock(name)
02568 {
02569 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02570 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02571 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02572 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02573 }
02574
02575 void QVFilterGauss_sFloatC1Block::iterate()
02576 {
02577 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02578 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02579 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02580 timeFlag("Read input data");
02581
02582 QVImage<sFloat, 1> qvimage_pDst;
02583 timeFlag("Create output data");
02584
02585 FilterGauss(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02586 timeFlag("Process input data");
02587
02588 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02589 timeFlag("Store output data");
02590 }
02591
02592
02593 QVFilterGauss_uCharC3Block::QVFilterGauss_uCharC3Block(QString name): QVProcessingBlock(name)
02594 {
02595 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
02596 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
02597 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02598 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02599 }
02600
02601 void QVFilterGauss_uCharC3Block::iterate()
02602 {
02603 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
02604 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02605 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02606 timeFlag("Read input data");
02607
02608 QVImage<uChar, 3> qvimage_pDst;
02609 timeFlag("Create output data");
02610
02611 FilterGauss(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02612 timeFlag("Process input data");
02613
02614 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
02615 timeFlag("Store output data");
02616 }
02617
02618
02619 QVFilterGauss_sFloatC3Block::QVFilterGauss_sFloatC3Block(QString name): QVProcessingBlock(name)
02620 {
02621 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc", inputFlag);
02622 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
02623 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02624 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02625 }
02626
02627 void QVFilterGauss_sFloatC3Block::iterate()
02628 {
02629 const QVImage<sFloat, 3> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc");
02630 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02631 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02632 timeFlag("Read input data");
02633
02634 QVImage<sFloat, 3> qvimage_pDst;
02635 timeFlag("Create output data");
02636
02637 FilterGauss(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02638 timeFlag("Process input data");
02639
02640 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
02641 timeFlag("Store output data");
02642 }
02643
02644
02645 QVFilterHipass_uCharC1Block::QVFilterHipass_uCharC1Block(QString name): QVProcessingBlock(name)
02646 {
02647 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02648 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02649 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02650 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02651 }
02652
02653 void QVFilterHipass_uCharC1Block::iterate()
02654 {
02655 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02656 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02657 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02658 timeFlag("Read input data");
02659
02660 QVImage<uChar, 1> qvimage_pDst;
02661 timeFlag("Create output data");
02662
02663 FilterHipass(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02664 timeFlag("Process input data");
02665
02666 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02667 timeFlag("Store output data");
02668 }
02669
02670
02671 QVFilterHipass_uCharC3Block::QVFilterHipass_uCharC3Block(QString name): QVProcessingBlock(name)
02672 {
02673 addProperty< QVImage<uChar, 3> >("qvimage_pSrc", inputFlag);
02674 addProperty< QVImage<uChar, 3> >("qvimage_pDst", outputFlag);
02675 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02676 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02677 }
02678
02679 void QVFilterHipass_uCharC3Block::iterate()
02680 {
02681 const QVImage<uChar, 3> qvimage_pSrc = getPropertyValue< QVImage<uChar, 3> > ("qvimage_pSrc");
02682 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02683 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02684 timeFlag("Read input data");
02685
02686 QVImage<uChar, 3> qvimage_pDst;
02687 timeFlag("Create output data");
02688
02689 FilterHipass(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02690 timeFlag("Process input data");
02691
02692 setPropertyValue< QVImage<uChar, 3> >("qvimage_pDst", qvimage_pDst);
02693 timeFlag("Store output data");
02694 }
02695
02696
02697 QVFilterHipass_sFloatC1Block::QVFilterHipass_sFloatC1Block(QString name): QVProcessingBlock(name)
02698 {
02699 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02700 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02701 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02702 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02703 }
02704
02705 void QVFilterHipass_sFloatC1Block::iterate()
02706 {
02707 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02708 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02709 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02710 timeFlag("Read input data");
02711
02712 QVImage<sFloat, 1> qvimage_pDst;
02713 timeFlag("Create output data");
02714
02715 FilterHipass(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02716 timeFlag("Process input data");
02717
02718 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02719 timeFlag("Store output data");
02720 }
02721
02722
02723 QVFilterHipass_sFloatC3Block::QVFilterHipass_sFloatC3Block(QString name): QVProcessingBlock(name)
02724 {
02725 addProperty< QVImage<sFloat, 3> >("qvimage_pSrc", inputFlag);
02726 addProperty< QVImage<sFloat, 3> >("qvimage_pDst", outputFlag);
02727 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02728 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02729 }
02730
02731 void QVFilterHipass_sFloatC3Block::iterate()
02732 {
02733 const QVImage<sFloat, 3> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 3> > ("qvimage_pSrc");
02734 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02735 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02736 timeFlag("Read input data");
02737
02738 QVImage<sFloat, 3> qvimage_pDst;
02739 timeFlag("Create output data");
02740
02741 FilterHipass(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02742 timeFlag("Process input data");
02743
02744 setPropertyValue< QVImage<sFloat, 3> >("qvimage_pDst", qvimage_pDst);
02745 timeFlag("Store output data");
02746 }
02747
02748
02749 QVFilterLowpass_uCharC1Block::QVFilterLowpass_uCharC1Block(QString name): QVProcessingBlock(name)
02750 {
02751 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02752 addProperty< QVImage<uChar, 1> >("qvimage_pDst", outputFlag);
02753 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02754 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02755 }
02756
02757 void QVFilterLowpass_uCharC1Block::iterate()
02758 {
02759 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02760 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02761 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02762 timeFlag("Read input data");
02763
02764 QVImage<uChar, 1> qvimage_pDst;
02765 timeFlag("Create output data");
02766
02767 FilterLowpass(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02768 timeFlag("Process input data");
02769
02770 setPropertyValue< QVImage<uChar, 1> >("qvimage_pDst", qvimage_pDst);
02771 timeFlag("Store output data");
02772 }
02773
02774
02775 QVFilterLowpass_sFloatC1Block::QVFilterLowpass_sFloatC1Block(QString name): QVProcessingBlock(name)
02776 {
02777 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02778 addProperty< QVImage<sFloat, 1> >("qvimage_pDst", outputFlag);
02779 addProperty< IppiMaskSize >("mask", inputFlag, ippMskSize3x3);
02780 addProperty< QPoint >("destROIOffset", inputFlag, QPoint(0,0));
02781 }
02782
02783 void QVFilterLowpass_sFloatC1Block::iterate()
02784 {
02785 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02786 const IppiMaskSize mask = getPropertyValue< IppiMaskSize > ("mask");
02787 const QPoint destROIOffset = getPropertyValue< QPoint > ("destROIOffset");
02788 timeFlag("Read input data");
02789
02790 QVImage<sFloat, 1> qvimage_pDst;
02791 timeFlag("Create output data");
02792
02793 FilterLowpass(qvimage_pSrc, qvimage_pDst, mask, destROIOffset);
02794 timeFlag("Process input data");
02795
02796 setPropertyValue< QVImage<sFloat, 1> >("qvimage_pDst", qvimage_pDst);
02797 timeFlag("Store output data");
02798 }
02799
02800
02801 QVSum_uCharC1Block::QVSum_uCharC1Block(QString name): QVProcessingBlock(name)
02802 {
02803 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02804 addProperty< sDouble >("pSum", outputFlag);
02805 }
02806
02807 void QVSum_uCharC1Block::iterate()
02808 {
02809 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02810 timeFlag("Read input data");
02811
02812 sDouble pSum;
02813 timeFlag("Create output data");
02814
02815 Sum(qvimage_pSrc, pSum);
02816 timeFlag("Process input data");
02817
02818 setPropertyValue< sDouble >("pSum", pSum);
02819 timeFlag("Store output data");
02820 }
02821
02822
02823 QVMean_uCharC1Block::QVMean_uCharC1Block(QString name): QVProcessingBlock(name)
02824 {
02825 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02826 addProperty< sDouble >("pMean", outputFlag);
02827 }
02828
02829 void QVMean_uCharC1Block::iterate()
02830 {
02831 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02832 timeFlag("Read input data");
02833
02834 sDouble pMean;
02835 timeFlag("Create output data");
02836
02837 Mean(qvimage_pSrc, pMean);
02838 timeFlag("Process input data");
02839
02840 setPropertyValue< sDouble >("pMean", pMean);
02841 timeFlag("Store output data");
02842 }
02843
02844
02845 QVMin_uCharC1Block::QVMin_uCharC1Block(QString name): QVProcessingBlock(name)
02846 {
02847 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02848 addProperty< uChar >("pMin", outputFlag);
02849 }
02850
02851 void QVMin_uCharC1Block::iterate()
02852 {
02853 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02854 timeFlag("Read input data");
02855
02856 uChar pMin;
02857 timeFlag("Create output data");
02858
02859 Min(qvimage_pSrc, pMin);
02860 timeFlag("Process input data");
02861
02862 setPropertyValue< uChar >("pMin", pMin);
02863 timeFlag("Store output data");
02864 }
02865
02866
02867 QVMin_sFloatC1Block::QVMin_sFloatC1Block(QString name): QVProcessingBlock(name)
02868 {
02869 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02870 addProperty< sFloat >("pMin", outputFlag);
02871 }
02872
02873 void QVMin_sFloatC1Block::iterate()
02874 {
02875 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02876 timeFlag("Read input data");
02877
02878 sFloat pMin;
02879 timeFlag("Create output data");
02880
02881 Min(qvimage_pSrc, pMin);
02882 timeFlag("Process input data");
02883
02884 setPropertyValue< sFloat >("pMin", pMin);
02885 timeFlag("Store output data");
02886 }
02887
02888
02889 QVMax_uCharC1Block::QVMax_uCharC1Block(QString name): QVProcessingBlock(name)
02890 {
02891 addProperty< QVImage<uChar, 1> >("qvimage_pSrc", inputFlag);
02892 addProperty< uChar >("pMax", outputFlag);
02893 }
02894
02895 void QVMax_uCharC1Block::iterate()
02896 {
02897 const QVImage<uChar, 1> qvimage_pSrc = getPropertyValue< QVImage<uChar, 1> > ("qvimage_pSrc");
02898 timeFlag("Read input data");
02899
02900 uChar pMax;
02901 timeFlag("Create output data");
02902
02903 Max(qvimage_pSrc, pMax);
02904 timeFlag("Process input data");
02905
02906 setPropertyValue< uChar >("pMax", pMax);
02907 timeFlag("Store output data");
02908 }
02909
02910
02911 QVMax_sFloatC1Block::QVMax_sFloatC1Block(QString name): QVProcessingBlock(name)
02912 {
02913 addProperty< QVImage<sFloat, 1> >("qvimage_pSrc", inputFlag);
02914 addProperty< sFloat >("pMax", outputFlag);
02915 }
02916
02917 void QVMax_sFloatC1Block::iterate()
02918 {
02919 const QVImage<sFloat, 1> qvimage_pSrc = getPropertyValue< QVImage<sFloat, 1> > ("qvimage_pSrc");
02920 timeFlag("Read input data");
02921
02922 sFloat pMax;
02923 timeFlag("Create output data");
02924
02925 Max(qvimage_pSrc, pMax);
02926 timeFlag("Process input data");
02927
02928 setPropertyValue< sFloat >("pMax", pMax);
02929 timeFlag("Store output data");
02930 }
02931
02932