Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vimt_load_transform.h

Go to the documentation of this file.
00001 // This is mul/vimt/vimt_load_transform.h
00002 #ifndef vimt_load_transform_h_
00003 #define vimt_load_transform_h_
00004 
00005 //:
00006 // \file
00007 // \author Martin Roberts
00008 
00009 #include <vil/vil_image_resource.h>
00010 #include <vimt/vimt_transform_2d.h>
00011 
00012 //: Create a transform from the properties of image resource.
00013 // \param unit_scaling is to convert from metres to desired world units (e.g. 1000 for mm)
00014 vimt_transform_2d vimt_load_transform(const vil_image_resource_sptr &im,
00015                                       float unit_scaling=1.0f);
00016 
00017 //: Create a transform from the properties of image resource.
00018 // \param unit_scaling is to convert from metres to desired world units (e.g. 1000 for mm)
00019 // \note This version incorporates a reflection through the x-axis so that 
00020 // the transform is put into a right-handed coordinate frame 
00021 // (with y increasing from bottom to top of image).
00022 vimt_transform_2d vimt_load_transform2(const vil_image_resource_sptr &im,
00023                                        float unit_scaling=1.0f);
00024 
00025 #endif // vimt_load_transform_h_

Generated on Thu Jan 10 14:43:58 2008 for contrib/mul/vimt by  doxygen 1.4.4