GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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.
Macros | |
#define | COMPRESS_MAGICK_IMAGE_VECTOR(GM_TYPE) |
Functions | |
static std::map< std::string, octave_idx_type > | calculate_region (const octave_scalar_map &options) |
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 | ) |
|
static |
Definition at line 161 of file __magick_read__.cc.
References Range::base(), octave_value::cell_value(), get_region_range(), octave_scalar_map::getfield(), Range::inc(), Range::max(), and Range::numel().
Referenced by read_images(), and read_indexed_images().
OCTAVE_EXPORT octave_value_list F__magick_read__ | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 755 of file __magick_read__.cc.
References err_disabled_feature(), error(), frame, get_depth(), octave_scalar_map::getfield(), 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().
Referenced by install___magick_read___fcns().
|
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 calculate_region().
|
static |
Definition at line 75 of file __magick_read__.cc.
References string.
Referenced by F__magick_read__().
|
static |
Definition at line 698 of file __magick_read__.cc.
References octave::sys::env::get_program_invocation_name(), string, and warning_with_id().
Referenced by F__magick_read__().
|
static |
Definition at line 681 of file __magick_read__.cc.
References e, error(), 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 309 of file __magick_read__.cc.
References calculate_region(), error(), frame, max(), Array< T >::numel(), OCTAVE_QUIT, P, retval, row, string, and type.
|
static |
Definition at line 214 of file __magick_read__.cc.
References calculate_region(), Array< T >::fortran_vec(), frame, Array< T >::numel(), OCTAVE_QUIT, octave_value(), P, read_maps(), retval, and row.
|
static |
Definition at line 192 of file __magick_read__.cc.
References c.
Referenced by read_indexed_images().