vil_j2k: Written by Rob Radtke (rob@) and Harry Voorhees (hlv@) of Stellar Science Ltd. More...
#include "vil_j2k_image.h"
#include <NCSFile.h>
#include <vcl_algorithm.h>
#include <vcl_cassert.h>
#include <vcl_cmath.h>
#include <vcl_limits.h>
#include <vcl_cstdlib.h>
#include <vil/vil_memory_chunk.h>
#include <vil/vil_image_view.h>
#include <vil/vil_load.h>
#include <vil/vil_open.h>
#include <vil/vil_new.h>
#include "NCSJPCVilIOStream.h"
#include <NCSTypes.h>
Go to the source code of this file.
Defines | |
#define | macro(F, T) |
#define | macro(F, T) |
Functions | |
NCSFileBandInfo | bandInfo (const vil_pixel_format &vilType) |
NCSEcwCellType | convertType (const vil_pixel_format &vilType) |
vil_pixel_format | convertType (const NCSEcwCellType &ecwType) |
vil_j2k: Written by Rob Radtke (rob@) and Harry Voorhees (hlv@) of Stellar Science Ltd.
Co. (stellarscience.com) for Air Force Research Laboratory, 2005. Write capability added by J. Mundy, April 2009 Do not remove the following notice Modifications approved for public Release, distribution unlimited DISTAR Case 14074
Definition in file vil_j2k_image.cxx.
#define macro | ( | F, | |
T | |||
) |
case F: \ view = new vil_image_view< T > ( data_ptr, reinterpret_cast<T*>(data_ptr->data()), \ output_width, output_height, nBands, 1, output_width*nBands, output_width); \ break
#define macro | ( | F, | |
T | |||
) |
case F: {\ bytes_per_pixel = sizeof(T); \ const vil_image_view<T>& view = static_cast<const vil_image_view<T>&>(im); \ chunk = view.memory_chunk(); \ if (!write_line_BIL<T>(chunk, ni, nplanes, view.istep(), view.planestep(),\ bytes_per_pixel, mFileResource, t)) \ return false; \ } \ break
NCSFileBandInfo bandInfo | ( | const vil_pixel_format & | vilType | ) |
Definition at line 31 of file vil_j2k_image.cxx.
NCSEcwCellType convertType | ( | const vil_pixel_format & | vilType | ) |
Definition at line 133 of file vil_j2k_image.cxx.
vil_pixel_format convertType | ( | const NCSEcwCellType & | ecwType | ) |
Definition at line 157 of file vil_j2k_image.cxx.