28 #include <vxl_config.h> 29 #include <vcl_compiler_detection.h> 66 unsigned ni,
unsigned nj,
69 char const* file_format =
nullptr);
74 unsigned ni,
unsigned nj,
77 char const* file_format =
nullptr);
82 unsigned ni,
unsigned nj,
85 char const* format =
nullptr);
90 unsigned ni,
unsigned nj,
93 char const* file_format =
nullptr);
98 unsigned size_block_i,
unsigned size_block_j,
99 char const* file_format =
nullptr);
105 unsigned size_block_i,
unsigned size_block_j,
106 char const* file_format =
nullptr);
112 const unsigned size_block_i=0,
113 const unsigned size_block_j=0);
117 const unsigned cache_size = 100);
125 char const* file_format);
139 char const* file_format,
140 char const* temp_dir);
155 char const* level_file_format,
156 char const* filename);
165 vil_image_view<T> vil_new_image_view_j_i_plane(
unsigned ni,
unsigned nj,
unsigned nplanes, T )
167 VXL_DEPRECATED_MACRO(
"vil_new_image_view_j_i_plane");
171 return vil_image_view<T>(chunk, reinterpret_cast<T*>(chunk->data()), ni, nj, nplanes, nplanes, nplanes*ni, 1);
185 return vil_image_view<T>(chunk, reinterpret_cast<T*>(chunk->data()), ni, nj, nplanes, nj, 1, nj*ni);
198 return vil_image_view<T>(chunk, reinterpret_cast<T*>(chunk->data()), ni, nj, nplanes, nplanes*nj, nplanes, 1);
208 #if defined(_WIN32) && VXL_USE_WIN_WCHAR_T 212 unsigned ni,
unsigned nj,
215 wchar_t const* file_format = 0);
219 unsigned ni,
unsigned nj,
222 wchar_t const* file_format = 0);
227 unsigned ni,
unsigned nj,
230 wchar_t const* format = 0);
232 #endif //defined(_WIN32) && VXL_USE_WIN_WCHAR_T An abstract base class of smart pointers to actual image data in memory.
Concrete view of image data of type T held in memory.
vil_blocked_image_resource_sptr vil_new_blocked_image_facade(const vil_image_resource_sptr &src, const unsigned size_block_i=0, const unsigned size_block_j=0)
create a blocked interface around any image resource.
vil_image_view< T > vil_new_image_view_i_j_plane(unsigned ni, unsigned nj, unsigned nplanes, T)
Create a new image view whose plane step is 1 and whose j_step is nplanes.
vil_image_resource_sptr vil_new_image_resource(unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format)
Make a new image of given format.
vil_blocked_image_resource_sptr vil_new_blocked_image_resource(vil_stream *os, unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format, unsigned size_block_i, unsigned size_block_j, char const *file_format=nullptr)
Make a new blocked resource file.
vil_image_resource_sptr vil_new_image_resource_interleaved(unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format)
Make a new image of given format with interleaved planes.
vil_pyramid_image_resource_sptr vil_new_pyramid_image_resource(char const *file_or_directory, char const *file_format)
Make a new pyramid image resource for writing.
vil_image_view< T > vil_new_image_view_plane_i_j(unsigned ni, unsigned nj, unsigned nplanes, T)
Create a new image view whose j_step is 1.
Stream interface for VIL image loaders.
A blocked representation of the image_resource.
Representation of a pyramid resolution hierarchy.
vil_blocked_image_resource_sptr vil_new_cached_image_resource(const vil_blocked_image_resource_sptr &bir, const unsigned cache_size=100)
Make a new cached resource.
vil_pyramid_image_resource_sptr vil_new_pyramid_image_list_from_base(char const *directory, vil_image_resource_sptr const &base_image, unsigned nlevels, bool copy_base, char const *level_file_format, char const *filename)
Construct a new pyramid image resource from a base image.
A base class reference-counting view of some image data.
Ref. counted block of data on the heap.
vil_image_resource_sptr vil_new_image_resource_of_view(vil_image_view_base const &view)
Make a new image resource that is a wrapper on an existing view's data.
vil_image_view_base_sptr vil_new_image_view_base_sptr(const vil_image_view_base &)
Create a shallow copy of an image and wrap it in a vil_image_view_base_sptr.
Representation of a generic image source or destination.
vil_pyramid_image_resource_sptr vil_new_pyramid_image_from_base(char const *filename, vil_image_resource_sptr const &base_image, unsigned nlevels, char const *file_format, char const *temp_dir)
Construct a pyramid image resource from a base image.