#include "vil_blocked_image_facade.h"
#include <vcl_cstring.h>
#include <vcl_cassert.h>
#include <vil/vil_property.h>
#include <vil/vil_image_view.h>
#include <vil/vil_crop.h>
#include <vil/vil_copy.h>
Go to the source code of this file.
Define Documentation
      
        
          | #define FILL_BLOCK_CASE | ( |  | FORMAT, | 
        
          |  |  |  | T | 
        
          |  | ) |  |  | 
      
 
Value:case FORMAT: { \
    vil_image_view<T>* dest = new vil_image_view<T>(sbi_, sbj_, nplanes()); \
    vil_image_view_base_sptr ptr = dest; \
    vil_image_view<T>* src = reinterpret_cast<vil_image_view<T>* >(view.ptr()); \
    vil_copy_to_window<T>(*src, *dest, 0, 0); \
    return dest; \
   } break
 
 
      
        
          | #define TRIM_BLOCK_CASE | ( |  | FORMAT, | 
        
          |  |  |  | T | 
        
          |  | ) |  |  | 
      
 
Value:case FORMAT: { \
      const vil_image_view<T>& curr_view = \
        static_cast<const vil_image_view< T >& >(view); \
      vil_image_view< T > cview = \
        vil_crop(curr_view, 0, icrop, 0, jcrop); \
      return src_->put_view(cview, i0, j0); \
     } break
 
 
Variable Documentation