00001
00002 #include<ImLib3D/ImLib3D.hpp>
00003 #include<ImLib3D/TestPatterns.hpp>
00004 #include<ImLib3D/MorphologicalOperators.hpp>
00005 #include<ImLib3D/FFT.hpp>
00006
00007
00008
00009 int
00010 main(int argc,char **argv)
00011 {
00012
00013 Image3Df sphere;
00014 IP3D::Sphere(Size3D(100,100,100),Vect3Df(50,50,50),10,sphere);
00015
00016
00017 Mask3D ima(100,100,100);
00018 ima=sphere;
00019 IP3D::Erosion(ima,StructureElement(MORPHO_Cross7),ima);
00020
00021
00022 Image3Df dist;
00023 IP3D::DistanceTransform(ima,StructureElement(MORPHO_Cross7),dist);
00024
00025
00026
00027 Image3Dcomplex im(100,100,100);
00028 Image3Dcomplex res;
00029 im=sphere;
00030 IP3D::FFT(im,res);
00031
00032
00033 }