00001
00002
00003
00004 void StandardImProcCalls(const string &procName,const vector<string> &args,string typeName,vector<TypeSafeGenericPointer> alternateArgs=vector<TypeSafeGenericPointer>())
00005 {
00006 if(procName=="Addition"){CallWithImage3DLinear_3(ImProc_Addition_StrArgs,typeName,procName,args,alternateArgs);}
00007 else
00008 if(procName=="AdditionWithConstant"){CallWithImage3DLinear_3(ImProc_AdditionWithConstant_StrArgs,typeName,procName,args,alternateArgs);}
00009 else
00010 if(procName=="Difference"){CallWithImage3DLinear_3(ImProc_Difference_StrArgs,typeName,procName,args,alternateArgs);}
00011 else
00012 if(procName=="DifferenceWithConstant"){CallWithImage3DLinear_3(ImProc_DifferenceWithConstant_StrArgs,typeName,procName,args,alternateArgs);}
00013 else
00014 if(procName=="Multiplication"){CallWithImage3DArithmetic_3(ImProc_Multiplication_StrArgs,typeName,procName,args,alternateArgs);}
00015 else
00016 if(procName=="MultiplicationWithConstant"){CallWithImage3DLinear_3(ImProc_MultiplicationWithConstant_StrArgs,typeName,procName,args,alternateArgs);}
00017 else
00018 if(procName=="Division"){CallWithImage3DArithmetic_3(ImProc_Division_StrArgs,typeName,procName,args,alternateArgs);}
00019 else
00020 if(procName=="MaxImage"){CallWithImage3DArithmeticComparable_3(ImProc_MaxImage_StrArgs,typeName,procName,args,alternateArgs);}
00021 else
00022 if(procName=="Abs"){CallWithImage3DArithmetic_3(ImProc_Abs_StrArgs,typeName,procName,args,alternateArgs);}
00023 else
00024 if(procName=="Convolution"){CallWithImage3DLinearNonInteger_3(ImProc_Convolution_StrArgs,typeName,procName,args,alternateArgs);}
00025 else
00026 if(procName=="ConvolutionFFT"){CallWithImage3DFloatingPoint_3(ImProc_ConvolutionFFT_StrArgs,typeName,procName,args,alternateArgs);}
00027 else
00028 if(procName=="FFTLowPassFilterApodizedIdeal"){ImProc_FFTLowPassFilterApodizedIdeal_StrArgs(procName,args,alternateArgs);}
00029 else
00030 if(procName=="FFTLowPassFilterButterworth"){ImProc_FFTLowPassFilterButterworth_StrArgs(procName,args,alternateArgs);}
00031 else
00032 if(procName=="FFTLowPassFilterChebyscheff"){ImProc_FFTLowPassFilterChebyscheff_StrArgs(procName,args,alternateArgs);}
00033 else
00034 if(procName=="PartialSum"){CallWithImage3DLinear_3(ImProc_PartialSum_StrArgs,typeName,procName,args,alternateArgs);}
00035 else
00036 if(procName=="CumulativeSum"){CallWithImage3DLinear_3(ImProc_CumulativeSum_StrArgs,typeName,procName,args,alternateArgs);}
00037 else
00038 if(procName=="BoxFilter"){CallWithImage3DLinearNonInteger_3(ImProc_BoxFilter_StrArgs,typeName,procName,args,alternateArgs);}
00039 else
00040 if(procName=="GaussianApproxFilter"){CallWithImage3DLinearNonInteger_3(ImProc_GaussianApproxFilter_StrArgs,typeName,procName,args,alternateArgs);}
00041 else
00042 if(procName=="BorderCorrectedGaussianApproxFilter"){CallWithImage3DLinearNonInteger_3(ImProc_BorderCorrectedGaussianApproxFilter_StrArgs,typeName,procName,args,alternateArgs);}
00043 else
00044 if(procName=="SymmetricBinomialFilter"){CallWithImage3DLinearNonInteger_3(ImProc_SymmetricBinomialFilter_StrArgs,typeName,procName,args,alternateArgs);}
00045 else
00046 if(procName=="ScalarProduct"){CallWithImage3DFloatingPoint_3(ImProc_ScalarProduct_StrArgs,typeName,procName,args,alternateArgs);}
00047 else
00048 if(procName=="Average"){CallWithImage3DLinear_3(ImProc_Average_StrArgs,typeName,procName,args,alternateArgs);}
00049 else
00050 if(procName=="AverageAndVariance"){CallWithImage3DArithmeticComparable_3(ImProc_AverageAndVariance_StrArgs,typeName,procName,args,alternateArgs);}
00051 else
00052 if(procName=="RobustAverageAndVariance"){ImProc_RobustAverageAndVariance_StrArgs(procName,args,alternateArgs);}
00053 else
00054 if(procName=="Median"){CallWithImage3DArithmeticComparable_3(ImProc_Median_StrArgs,typeName,procName,args,alternateArgs);}
00055 else
00056 if(procName=="MedianFilter"){CallWithImage3DArithmeticComparable_3(ImProc_MedianFilter_StrArgs,typeName,procName,args,alternateArgs);}
00057 else
00058 if(procName=="SharpeningFilter"){CallWithImage3DArithmeticComparable_3(ImProc_SharpeningFilter_StrArgs,typeName,procName,args,alternateArgs);}
00059 else
00060 if(procName=="Erosion"){CallWithImage3DArithmeticComparable_3(ImProc_Erosion_StrArgs,typeName,procName,args,alternateArgs);}
00061 else
00062 if(procName=="Dilation"){CallWithImage3DArithmeticComparable_3(ImProc_Dilation_StrArgs,typeName,procName,args,alternateArgs);}
00063 else
00064 if(procName=="Opening"){CallWithImage3DArithmeticComparable_3(ImProc_Opening_StrArgs,typeName,procName,args,alternateArgs);}
00065 else
00066 if(procName=="Closing"){CallWithImage3DArithmeticComparable_3(ImProc_Closing_StrArgs,typeName,procName,args,alternateArgs);}
00067 else
00068 if(procName=="DistanceTransform"){ImProc_DistanceTransform_StrArgs(procName,args,alternateArgs);}
00069 else
00070 if(procName=="ConnectedComponentLabelling"){ImProc_ConnectedComponentLabelling_StrArgs(procName,args,alternateArgs);}
00071 else
00072 if(procName=="FillHoles"){ImProc_FillHoles_StrArgs(procName,args,alternateArgs);}
00073 else
00074 if(procName=="LargestConnectedComponent"){ImProc_LargestConnectedComponent_StrArgs(procName,args,alternateArgs);}
00075 else
00076 if(procName=="VoxelCode"){ImProc_VoxelCode_StrArgs(procName,args,alternateArgs);}
00077 else
00078 if(procName=="SSCode"){ImProc_SSCode_StrArgs(procName,args,alternateArgs);}
00079 else
00080 if(procName=="BSCode"){ImProc_BSCode_StrArgs(procName,args,alternateArgs);}
00081 else
00082 if(procName=="Skeleton"){ImProc_Skeleton_StrArgs(procName,args,alternateArgs);}
00083 else
00084 if(procName=="SimpleThreshold"){CallWithImage3DArithmeticComparable_3(ImProc_SimpleThreshold_StrArgs,typeName,procName,args,alternateArgs);}
00085 else
00086 if(procName=="SimpleThresholds2"){CallWithImage3DArithmeticComparable_3(ImProc_SimpleThresholds2_StrArgs,typeName,procName,args,alternateArgs);}
00087 else
00088 if(procName=="LimitThreshold"){CallWithImage3DArithmeticComparable_3(ImProc_LimitThreshold_StrArgs,typeName,procName,args,alternateArgs);}
00089 else
00090 if(procName=="OtsuThresholds"){CallWithImage3DArithmeticComparable_3(ImProc_OtsuThresholds_StrArgs,typeName,procName,args,alternateArgs);}
00091 else
00092 if(procName=="UniModalThreshold"){ImProc_UniModalThreshold_StrArgs(procName,args,alternateArgs);}
00093 else
00094 if(procName=="CenterOfGravity"){CallWithImage3DFloatingPoint_3(ImProc_CenterOfGravity_StrArgs,typeName,procName,args,alternateArgs);}
00095 else
00096 if(procName=="BoundingBox"){ImProc_BoundingBox_StrArgs(procName,args,alternateArgs);}
00097 else
00098 if(procName=="TransformWithInverseField"){CallWithImage3DTransformWithInverseFieldTemplateGroup_3(ImProc_TransformWithInverseField_StrArgs,typeName,procName,args,alternateArgs);}
00099 else
00100 if(procName=="TransformAffine"){CallWithImage3DTransformWithInverseFieldTemplateGroup_3(ImProc_TransformAffine_StrArgs,typeName,procName,args,alternateArgs);}
00101 else
00102 if(procName=="Scale"){CallWithImage3DTransformWithInverseFieldTemplateGroup_3(ImProc_Scale_StrArgs,typeName,procName,args,alternateArgs);}
00103 else
00104 if(procName=="Flip"){CallWithImage3DAll_3(ImProc_Flip_StrArgs,typeName,procName,args,alternateArgs);}
00105 else
00106 if(procName=="SwapAxes"){CallWithImage3DAll_3(ImProc_SwapAxes_StrArgs,typeName,procName,args,alternateArgs);}
00107 else
00108 if(procName=="WrapTranslate"){CallWithImage3DAll_3(ImProc_WrapTranslate_StrArgs,typeName,procName,args,alternateArgs);}
00109 else
00110 if(procName=="Crop"){CallWithImage3DAll_3(ImProc_Crop_StrArgs,typeName,procName,args,alternateArgs);}
00111 else
00112 if(procName=="Pad"){CallWithImage3DLinear_3(ImProc_Pad_StrArgs,typeName,procName,args,alternateArgs);}
00113 else
00114 if(procName=="InsertImage"){CallWithImage3DAll_3(ImProc_InsertImage_StrArgs,typeName,procName,args,alternateArgs);}
00115 else
00116 if(procName=="ResizeImageSupport"){CallWithImage3DAll_3(ImProc_ResizeImageSupport_StrArgs,typeName,procName,args,alternateArgs);}
00117 else
00118 if(procName=="FindFirstDifference"){CallWithImage3DAll_3(ImProc_FindFirstDifference_StrArgs,typeName,procName,args,alternateArgs);}
00119 else
00120 if(procName=="FindMinMax"){CallWithImage3DArithmeticComparable_3(ImProc_FindMinMax_StrArgs,typeName,procName,args,alternateArgs);}
00121 else
00122 if(procName=="SetAllVoxels"){CallWithImage3DAll_3(ImProc_SetAllVoxels_StrArgs,typeName,procName,args,alternateArgs);}
00123 else
00124 if(procName=="AddMask"){CallWithImage3DAll_3(ImProc_AddMask_StrArgs,typeName,procName,args,alternateArgs);}
00125 else
00126 if(procName=="GetMask"){CallWithImage3DAll_3(ImProc_GetMask_StrArgs,typeName,procName,args,alternateArgs);}
00127 else
00128 if(procName=="ApplyMask"){CallWithImage3DAll_3(ImProc_ApplyMask_StrArgs,typeName,procName,args,alternateArgs);}
00129 else
00130 if(procName=="SetDefaultInterpolator"){CallWithImage3DAll_3(ImProc_SetDefaultInterpolator_StrArgs,typeName,procName,args,alternateArgs);}
00131 else
00132 if(procName=="SetProperty"){CallWithImage3DAll_3(ImProc_SetProperty_StrArgs,typeName,procName,args,alternateArgs);}
00133 else
00134 if(procName=="ExtractFromComplexImage"){ImProc_ExtractFromComplexImage_StrArgs(procName,args,alternateArgs);}
00135 else
00136 if(procName=="WriteToFileAVW"){CallWithImage3DAVWCompatible_3(ImProc_WriteToFileAVW_StrArgs,typeName,procName,args,alternateArgs);}
00137 else
00138 if(procName=="ReadFromFileBruker"){ImProc_ReadFromFileBruker_StrArgs(procName,args,alternateArgs);}
00139 else
00140 if(procName=="ExportImageSlice"){CallWithImage3DArithmeticComparable_3(ImProc_ExportImageSlice_StrArgs,typeName,procName,args,alternateArgs);}
00141 else
00142 if(procName=="Sphere"){ImProc_Sphere_StrArgs(procName,args,alternateArgs);}
00143 else
00144 if(procName=="Cone"){ImProc_Cone_StrArgs(procName,args,alternateArgs);}
00145 else
00146 if(procName=="NoiseUniform"){ImProc_NoiseUniform_StrArgs(procName,args,alternateArgs);}
00147 else
00148 if(procName=="NoiseGaussian"){ImProc_NoiseGaussian_StrArgs(procName,args,alternateArgs);}
00149 else
00150 if(procName=="Explode"){ImProc_Explode_StrArgs(procName,args,alternateArgs);}
00151 else
00152 if(procName=="Target"){ImProc_Target_StrArgs(procName,args,alternateArgs);}
00153 else
00154 if(procName=="Bump"){ImProc_Bump_StrArgs(procName,args,alternateArgs);}
00155 else
00156 if(procName=="Ramp"){ImProc_Ramp_StrArgs(procName,args,alternateArgs);}
00157 else
00158 if(procName=="Parallellogram"){ImProc_Parallellogram_StrArgs(procName,args,alternateArgs);}
00159 else
00160 if(procName=="RectangularGrid"){ImProc_RectangularGrid_StrArgs(procName,args,alternateArgs);}
00161 else
00162 if(procName=="NormalizeAverage"){ImProc_NormalizeAverage_StrArgs(procName,args,alternateArgs);}
00163 else
00164 if(procName=="NormalizeAverageAndVariance"){ImProc_NormalizeAverageAndVariance_StrArgs(procName,args,alternateArgs);}
00165 else
00166 if(procName=="NormalizeJointHistogram"){ImProc_NormalizeJointHistogram_StrArgs(procName,args,alternateArgs);}
00167 else
00168 if(procName=="ComputeJointHistogramImage"){ImProc_ComputeJointHistogramImage_StrArgs(procName,args,alternateArgs);}
00169 else
00170 if(procName=="TransformRectangularGrid"){ImProc_TransformRectangularGrid_StrArgs(procName,args,alternateArgs);}
00171 else
00172 if(procName=="NoiseVarianceEstimation"){ImProc_NoiseVarianceEstimation_StrArgs(procName,args,alternateArgs);}
00173 else
00174 {ThrowError("unimplemented call by name image processor interface for:\"%s\"please report this bug",procName);}
00175 }