00001 // This is core/vil1/vil1_copy.h 00002 #ifndef vil1_copy_h_ 00003 #define vil1_copy_h_ 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \brief Image copy function 00010 // \author awf@robots.ox.ac.uk 00011 // \date 16 Feb 00 00012 // 00013 // \verbatim 00014 // Modifications 00015 // 000216 AWF Initial version. 00016 // 000217 JS components*planes because get_section returns RGBRGB 00017 // \endverbatim 00018 00019 #include <vil1/vil1_fwd.h> 00020 00021 //: Copy SRC to DST. 00022 // Images must be exactly the same dimensions, but datatype isn't matched 00023 void vil1_copy(vil1_image const& src, vil1_image& DST); 00024 00025 //: Return a memory image copy of SRC. 00026 vil1_memory_image vil1_copy(vil1_image const& src); 00027 00028 #endif // vil1_copy_h_
1.5.1