#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "defun.h"
#include "error.h"
#include "ov-struct.h"
#include "errwarn.h"
#include <Magick++.h>
#include <clocale>
Go to the source code of this file.
Classes | |
class | image_region |
Macros | |
#define | COMPRESS_MAGICK_IMAGE_VECTOR(GM_TYPE) |
Functions | |
OCTAVE_EXPORT octave_value_list | F__magick_read__ (const octave_value_list &args, int nargout) ar |
static octave_idx_type | get_depth (Magick::Image &img) |
static Range | get_region_range (const octave_value ®ion) |
static bool | is_indexed (const Magick::Image &img) |
static void | maybe_initialize_magick (void) |
static void | read_file (const std::string &filename, std::vector< Magick::Image > &imvec) |
template<typename T > | |
octave_value_list | read_images (std::vector< Magick::Image > &imvec, const Array< octave_idx_type > &frameidx, const octave_idx_type &nargout, const octave_scalar_map &options) |
template<typename T > | |
static octave_value_list | read_indexed_images (const std::vector< Magick::Image > &imvec, const Array< octave_idx_type > &frameidx, const octave_idx_type &nargout, const octave_scalar_map &options) |
static octave_value_list | read_maps (Magick::Image &img) |
#define COMPRESS_MAGICK_IMAGE_VECTOR | ( | GM_TYPE | ) |
OCTAVE_EXPORT octave_value_list F__magick_read__ | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 820 of file __magick_read__.cc.
References err_disabled_feature(), error(), frame, get_depth(), i, is_indexed(), octave_value::is_string(), maybe_initialize_magick(), nargout(), Array< T >::numel(), options, print_usage(), read_file(), Array< T >::resize(), octave_value::string_value(), and octave_value::xint_vector_value().
|
static |
Definition at line 121 of file __magick_read__.cc.
Referenced by F__magick_read__().
|
static |
Definition at line 144 of file __magick_read__.cc.
References error(), octave_value::is_range(), octave_value::is_scalar_type(), octave_value::range_value(), octave_value::scalar_value(), and value.
Referenced by image_region::image_region().
|
static |
Definition at line 75 of file __magick_read__.cc.
References string.
Referenced by F__magick_read__().
|
static |
Definition at line 763 of file __magick_read__.cc.
References octave::sys::env::get_program_invocation_name(), initialized, string, and warning_with_id().
Referenced by F__magick_read__().
|
static |
Definition at line 746 of file __magick_read__.cc.
References e, error(), filename, Faddeeva::w(), and warning().
Referenced by F__magick_read__().
octave_value_list read_images | ( | std::vector< Magick::Image > & | imvec, |
const Array< octave_idx_type > & | frameidx, | ||
const octave_idx_type & | nargout, | ||
const octave_scalar_map & | options | ||
) |
Definition at line 367 of file __magick_read__.cc.
References image_region::col_cache(), image_region::col_out(), image_region::col_shift(), image_region::col_start(), error(), frame, max(), nargout(), Array< T >::numel(), options, retval, row, image_region::row_cache(), image_region::row_out(), image_region::row_shift(), image_region::row_start(), string, and type.
|
static |
Definition at line 270 of file __magick_read__.cc.
References image_region::col_cache(), image_region::col_out(), image_region::col_shift(), image_region::col_start(), Array< T >::fortran_vec(), frame, nargout(), Array< T >::numel(), octave_value(), options, read_maps(), retval, row, image_region::row_cache(), image_region::row_out(), image_region::row_shift(), and image_region::row_start().
|
static |
Definition at line 248 of file __magick_read__.cc.
Referenced by read_indexed_images().