GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
__magick_read__.cc File Reference
#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>
Include dependency graph for __magick_read__.cc:

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 &region)
 
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)
 

Macro Definition Documentation

#define COMPRESS_MAGICK_IMAGE_VECTOR (   GM_TYPE)
Value:
for (std::vector<Magick::Image>::size_type i = 0; i < imvec.size (); i++) \
imvec[i].compressType (GM_TYPE)
=val(i)}if ode{val(i)}occurs in table i
Definition: lookup.cc:239

Function Documentation

static std::map<std::string, octave_idx_type> calculate_region ( const octave_scalar_map options)
static
OCTAVE_EXPORT octave_value_list F__magick_read__ ( const octave_value_list args,
int  nargout 
)
static octave_idx_type get_depth ( Magick::Image &  img)
static

Definition at line 121 of file __magick_read__.cc.

Referenced by F__magick_read__().

static Range get_region_range ( const octave_value region)
static
static bool is_indexed ( const Magick::Image &  img)
static

Definition at line 75 of file __magick_read__.cc.

References string.

Referenced by F__magick_read__().

static void maybe_initialize_magick ( void  )
static
static void read_file ( const std::string filename,
std::vector< Magick::Image > &  imvec 
)
static

Definition at line 681 of file __magick_read__.cc.

References e, error(), Faddeeva::w(), and warning().

Referenced by F__magick_read__().

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
static octave_value_list read_maps ( Magick::Image &  img)
static

Definition at line 192 of file __magick_read__.cc.

References c.

Referenced by read_indexed_images().