GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
__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.

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

◆ COMPRESS_MAGICK_IMAGE_VECTOR

#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)
for i
Definition: data.cc:5264

Function Documentation

◆ F__magick_read__()

◆ get_depth()

static octave_idx_type get_depth ( Magick::Image &  img)
static

Definition at line 121 of file __magick_read__.cc.

Referenced by F__magick_read__().

◆ get_region_range()

static Range get_region_range ( const octave_value region)
static

◆ is_indexed()

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__().

◆ maybe_initialize_magick()

static void maybe_initialize_magick ( void  )
static

◆ read_file()

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

Definition at line 746 of file __magick_read__.cc.

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

Referenced by F__magick_read__().

◆ read_images()

◆ read_indexed_images()

◆ read_maps()

static octave_value_list read_maps ( Magick::Image &  img)
static

Definition at line 248 of file __magick_read__.cc.

References c, and i.

Referenced by read_indexed_images().