vips-cpp
8.11
libvips C++ binding
|
Public Member Functions | |
VImage (VipsImage *image, VSteal steal=STEAL) | |
VipsImage * | get_image () const |
int | width () const |
int | height () const |
int | bands () const |
VipsBandFormat | format () const |
VipsCoding | coding () const |
VipsInterpretation | interpretation () const |
VipsInterpretation | guess_interpretation () const |
double | xres () const |
double | yres () const |
int | xoffset () const |
int | yoffset () const |
bool | has_alpha () const |
const char * | filename () const |
const void * | data () const |
void | set (const char *field, int value) |
void | set (const char *field, int *value, int n) |
void | set (const char *field, std::vector< int > value) |
void | set (const char *field, double value) |
void | set (const char *field, const char *value) |
void | set (const char *field, VipsCallbackFn free_fn, void *data, size_t length) |
GType | get_typeof (const char *field) const |
int | get_int (const char *field) const |
void | get_array_int (const char *field, int **out, int *n) const |
std::vector< int > | get_array_int (const char *field) const |
double | get_double (const char *field) const |
const char * | get_string (const char *field) const |
const void * | get_blob (const char *field, size_t *length) const |
bool | remove (const char *name) const |
VImage | new_from_image (std::vector< double > pixel) const |
VImage | new_from_image (double pixel) const |
VImage | copy_memory () const |
VImage | write (VImage out) const |
void | write_to_file (const char *name, VOption *options=0) const |
void | write_to_buffer (const char *suffix, void **buf, size_t *size, VOption *options=0) const |
void | write_to_target (const char *suffix, VTarget target, VOption *options=0) const |
void * | write_to_memory (size_t *size) const |
VImage | linear (double a, double b, VOption *options=0) const |
VImage | linear (std::vector< double > a, double b, VOption *options=0) const |
VImage | linear (double a, std::vector< double > b, VOption *options=0) const |
std::vector< VImage > | bandsplit (VOption *options=0) const |
VImage | bandjoin (VImage other, VOption *options=0) const |
VImage | bandjoin (double other, VOption *options=0) const |
VImage | bandjoin (std::vector< double > other, VOption *options=0) const |
VImage | composite (VImage other, VipsBlendMode mode, VOption *options=0) const |
std::complex< double > | minpos (VOption *options=0) const |
std::complex< double > | maxpos (VOption *options=0) const |
VImage | fliphor (VOption *options=0) const |
VImage | flipver (VOption *options=0) const |
VImage | rot90 (VOption *options=0) const |
VImage | rot180 (VOption *options=0) const |
VImage | rot270 (VOption *options=0) const |
VImage | dilate (VImage mask, VOption *options=0) const |
VImage | erode (VImage mask, VOption *options=0) const |
VImage | median (int size=3, VOption *options=0) const |
VImage | floor (VOption *options=0) const |
VImage | ceil (VOption *options=0) const |
VImage | rint (VOption *options=0) const |
VImage | bandand (VOption *options=0) const |
VImage | bandor (VOption *options=0) const |
VImage | bandeor (VOption *options=0) const |
VImage | real (VOption *options=0) const |
VImage | imag (VOption *options=0) const |
VImage | polar (VOption *options=0) const |
VImage | rect (VOption *options=0) const |
VImage | conj (VOption *options=0) const |
VImage | sin (VOption *options=0) const |
VImage | cos (VOption *options=0) const |
VImage | tan (VOption *options=0) const |
VImage | asin (VOption *options=0) const |
VImage | acos (VOption *options=0) const |
VImage | atan (VOption *options=0) const |
VImage | log (VOption *options=0) const |
VImage | log10 (VOption *options=0) const |
VImage | exp (VOption *options=0) const |
VImage | exp10 (VOption *options=0) const |
VImage | pow (VImage other, VOption *options=0) const |
VImage | pow (double other, VOption *options=0) const |
VImage | pow (std::vector< double > other, VOption *options=0) const |
VImage | wop (VImage other, VOption *options=0) const |
VImage | wop (double other, VOption *options=0) const |
VImage | wop (std::vector< double > other, VOption *options=0) const |
VImage | ifthenelse (std::vector< double > th, VImage el, VOption *options=0) const |
VImage | ifthenelse (VImage th, std::vector< double > el, VOption *options=0) const |
VImage | ifthenelse (std::vector< double > th, std::vector< double > el, VOption *options=0) const |
VImage | ifthenelse (double th, VImage el, VOption *options=0) const |
VImage | ifthenelse (VImage th, double el, VOption *options=0) const |
VImage | ifthenelse (double th, double el, VOption *options=0) const |
VImage | operator[] (int index) const |
std::vector< double > | operator() (int x, int y) const |
VImage | CMC2LCh (VOption *options=0) const |
VImage | CMYK2XYZ (VOption *options=0) const |
VImage | HSV2sRGB (VOption *options=0) const |
VImage | LCh2CMC (VOption *options=0) const |
VImage | LCh2Lab (VOption *options=0) const |
VImage | Lab2LCh (VOption *options=0) const |
VImage | Lab2LabQ (VOption *options=0) const |
VImage | Lab2LabS (VOption *options=0) const |
VImage | Lab2XYZ (VOption *options=0) const |
VImage | LabQ2Lab (VOption *options=0) const |
VImage | LabQ2LabS (VOption *options=0) const |
VImage | LabQ2sRGB (VOption *options=0) const |
VImage | LabS2Lab (VOption *options=0) const |
VImage | LabS2LabQ (VOption *options=0) const |
VImage | XYZ2CMYK (VOption *options=0) const |
VImage | XYZ2Lab (VOption *options=0) const |
VImage | XYZ2Yxy (VOption *options=0) const |
VImage | XYZ2scRGB (VOption *options=0) const |
VImage | Yxy2XYZ (VOption *options=0) const |
VImage | abs (VOption *options=0) const |
VImage | add (VImage right, VOption *options=0) const |
VImage | affine (std::vector< double > matrix, VOption *options=0) const |
VImage | autorot (VOption *options=0) const |
double | avg (VOption *options=0) const |
VImage | bandbool (VipsOperationBoolean boolean, VOption *options=0) const |
VImage | bandfold (VOption *options=0) const |
VImage | bandjoin_const (std::vector< double > c, VOption *options=0) const |
VImage | bandmean (VOption *options=0) const |
VImage | bandunfold (VOption *options=0) const |
VImage | boolean (VImage right, VipsOperationBoolean boolean, VOption *options=0) const |
VImage | boolean_const (VipsOperationBoolean boolean, std::vector< double > c, VOption *options=0) const |
VImage | buildlut (VOption *options=0) const |
VImage | byteswap (VOption *options=0) const |
VImage | cache (VOption *options=0) const |
VImage | canny (VOption *options=0) const |
VImage | case_image (std::vector< VImage > cases, VOption *options=0) const |
VImage | cast (VipsBandFormat format, VOption *options=0) const |
VImage | colourspace (VipsInterpretation space, VOption *options=0) const |
VImage | compass (VImage mask, VOption *options=0) const |
VImage | complex (VipsOperationComplex cmplx, VOption *options=0) const |
VImage | complex2 (VImage right, VipsOperationComplex2 cmplx, VOption *options=0) const |
VImage | complexform (VImage right, VOption *options=0) const |
VImage | complexget (VipsOperationComplexget get, VOption *options=0) const |
VImage | composite2 (VImage overlay, VipsBlendMode mode, VOption *options=0) const |
VImage | conv (VImage mask, VOption *options=0) const |
VImage | conva (VImage mask, VOption *options=0) const |
VImage | convasep (VImage mask, VOption *options=0) const |
VImage | convf (VImage mask, VOption *options=0) const |
VImage | convi (VImage mask, VOption *options=0) const |
VImage | convsep (VImage mask, VOption *options=0) const |
VImage | copy (VOption *options=0) const |
double | countlines (VipsDirection direction, VOption *options=0) const |
VImage | crop (int left, int top, int width, int height, VOption *options=0) const |
void | csvsave (const char *filename, VOption *options=0) const |
void | csvsave_target (VTarget target, VOption *options=0) const |
VImage | dE00 (VImage right, VOption *options=0) const |
VImage | dE76 (VImage right, VOption *options=0) const |
VImage | dECMC (VImage right, VOption *options=0) const |
double | deviate (VOption *options=0) const |
VImage | divide (VImage right, VOption *options=0) const |
void | draw_circle (std::vector< double > ink, int cx, int cy, int radius, VOption *options=0) const |
void | draw_flood (std::vector< double > ink, int x, int y, VOption *options=0) const |
void | draw_image (VImage sub, int x, int y, VOption *options=0) const |
void | draw_line (std::vector< double > ink, int x1, int y1, int x2, int y2, VOption *options=0) const |
void | draw_mask (std::vector< double > ink, VImage mask, int x, int y, VOption *options=0) const |
void | draw_rect (std::vector< double > ink, int left, int top, int width, int height, VOption *options=0) const |
void | draw_smudge (int left, int top, int width, int height, VOption *options=0) const |
void | dzsave (const char *filename, VOption *options=0) const |
VipsBlob * | dzsave_buffer (VOption *options=0) const |
VImage | embed (int x, int y, int width, int height, VOption *options=0) const |
VImage | extract_area (int left, int top, int width, int height, VOption *options=0) const |
VImage | extract_band (int band, VOption *options=0) const |
VImage | falsecolour (VOption *options=0) const |
VImage | fastcor (VImage ref, VOption *options=0) const |
VImage | fill_nearest (VOption *options=0) const |
int | find_trim (int *top, int *width, int *height, VOption *options=0) const |
void | fitssave (const char *filename, VOption *options=0) const |
VImage | flatten (VOption *options=0) const |
VImage | flip (VipsDirection direction, VOption *options=0) const |
VImage | float2rad (VOption *options=0) const |
VImage | freqmult (VImage mask, VOption *options=0) const |
VImage | fwfft (VOption *options=0) const |
VImage | gamma (VOption *options=0) const |
VImage | gaussblur (double sigma, VOption *options=0) const |
std::vector< double > | getpoint (int x, int y, VOption *options=0) const |
VImage | globalbalance (VOption *options=0) const |
VImage | gravity (VipsCompassDirection direction, int width, int height, VOption *options=0) const |
VImage | grid (int tile_height, int across, int down, VOption *options=0) const |
void | heifsave (const char *filename, VOption *options=0) const |
VipsBlob * | heifsave_buffer (VOption *options=0) const |
void | heifsave_target (VTarget target, VOption *options=0) const |
VImage | hist_cum (VOption *options=0) const |
double | hist_entropy (VOption *options=0) const |
VImage | hist_equal (VOption *options=0) const |
VImage | hist_find (VOption *options=0) const |
VImage | hist_find_indexed (VImage index, VOption *options=0) const |
VImage | hist_find_ndim (VOption *options=0) const |
bool | hist_ismonotonic (VOption *options=0) const |
VImage | hist_local (int width, int height, VOption *options=0) const |
VImage | hist_match (VImage ref, VOption *options=0) const |
VImage | hist_norm (VOption *options=0) const |
VImage | hist_plot (VOption *options=0) const |
VImage | hough_circle (VOption *options=0) const |
VImage | hough_line (VOption *options=0) const |
VImage | icc_export (VOption *options=0) const |
VImage | icc_import (VOption *options=0) const |
VImage | icc_transform (const char *output_profile, VOption *options=0) const |
VImage | ifthenelse (VImage in1, VImage in2, VOption *options=0) const |
VImage | insert (VImage sub, int x, int y, VOption *options=0) const |
VImage | invert (VOption *options=0) const |
VImage | invertlut (VOption *options=0) const |
VImage | invfft (VOption *options=0) const |
VImage | join (VImage in2, VipsDirection direction, VOption *options=0) const |
void | jpegsave (const char *filename, VOption *options=0) const |
VipsBlob * | jpegsave_buffer (VOption *options=0) const |
void | jpegsave_mime (VOption *options=0) const |
void | jpegsave_target (VTarget target, VOption *options=0) const |
VImage | labelregions (VOption *options=0) const |
VImage | linear (std::vector< double > a, std::vector< double > b, VOption *options=0) const |
VImage | linecache (VOption *options=0) const |
void | magicksave (const char *filename, VOption *options=0) const |
VipsBlob * | magicksave_buffer (VOption *options=0) const |
VImage | mapim (VImage index, VOption *options=0) const |
VImage | maplut (VImage lut, VOption *options=0) const |
VImage | match (VImage sec, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options=0) const |
VImage | math (VipsOperationMath math, VOption *options=0) const |
VImage | math2 (VImage right, VipsOperationMath2 math2, VOption *options=0) const |
VImage | math2_const (VipsOperationMath2 math2, std::vector< double > c, VOption *options=0) const |
VImage | matrixinvert (VOption *options=0) const |
void | matrixprint (VOption *options=0) const |
void | matrixsave (const char *filename, VOption *options=0) const |
void | matrixsave_target (VTarget target, VOption *options=0) const |
double | max (VOption *options=0) const |
VImage | measure (int h, int v, VOption *options=0) const |
VImage | merge (VImage sec, VipsDirection direction, int dx, int dy, VOption *options=0) const |
double | min (VOption *options=0) const |
VImage | morph (VImage mask, VipsOperationMorphology morph, VOption *options=0) const |
VImage | mosaic (VImage sec, VipsDirection direction, int xref, int yref, int xsec, int ysec, VOption *options=0) const |
VImage | mosaic1 (VImage sec, VipsDirection direction, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options=0) const |
VImage | msb (VOption *options=0) const |
VImage | multiply (VImage right, VOption *options=0) const |
void | niftisave (const char *filename, VOption *options=0) const |
int | percent (double percent, VOption *options=0) const |
VImage | phasecor (VImage in2, VOption *options=0) const |
void | pngsave (const char *filename, VOption *options=0) const |
VipsBlob * | pngsave_buffer (VOption *options=0) const |
void | pngsave_target (VTarget target, VOption *options=0) const |
void | ppmsave (const char *filename, VOption *options=0) const |
void | ppmsave_target (VTarget target, VOption *options=0) const |
VImage | premultiply (VOption *options=0) const |
VImage | profile (VImage *rows, VOption *options=0) const |
VImage | project (VImage *rows, VOption *options=0) const |
VImage | quadratic (VImage coeff, VOption *options=0) const |
VImage | rad2float (VOption *options=0) const |
void | radsave (const char *filename, VOption *options=0) const |
VipsBlob * | radsave_buffer (VOption *options=0) const |
void | radsave_target (VTarget target, VOption *options=0) const |
VImage | rank (int width, int height, int index, VOption *options=0) const |
void | rawsave (const char *filename, VOption *options=0) const |
void | rawsave_fd (int fd, VOption *options=0) const |
VImage | recomb (VImage m, VOption *options=0) const |
VImage | reduce (double hshrink, double vshrink, VOption *options=0) const |
VImage | reduceh (double hshrink, VOption *options=0) const |
VImage | reducev (double vshrink, VOption *options=0) const |
VImage | relational (VImage right, VipsOperationRelational relational, VOption *options=0) const |
VImage | relational_const (VipsOperationRelational relational, std::vector< double > c, VOption *options=0) const |
VImage | remainder (VImage right, VOption *options=0) const |
VImage | remainder_const (std::vector< double > c, VOption *options=0) const |
VImage | replicate (int across, int down, VOption *options=0) const |
VImage | resize (double scale, VOption *options=0) const |
VImage | rot (VipsAngle angle, VOption *options=0) const |
VImage | rot45 (VOption *options=0) const |
VImage | rotate (double angle, VOption *options=0) const |
VImage | round (VipsOperationRound round, VOption *options=0) const |
VImage | sRGB2HSV (VOption *options=0) const |
VImage | sRGB2scRGB (VOption *options=0) const |
VImage | scRGB2BW (VOption *options=0) const |
VImage | scRGB2XYZ (VOption *options=0) const |
VImage | scRGB2sRGB (VOption *options=0) const |
VImage | scale (VOption *options=0) const |
VImage | sequential (VOption *options=0) const |
VImage | sharpen (VOption *options=0) const |
VImage | shrink (double hshrink, double vshrink, VOption *options=0) const |
VImage | shrinkh (int hshrink, VOption *options=0) const |
VImage | shrinkv (int vshrink, VOption *options=0) const |
VImage | sign (VOption *options=0) const |
VImage | similarity (VOption *options=0) const |
VImage | smartcrop (int width, int height, VOption *options=0) const |
VImage | sobel (VOption *options=0) const |
VImage | spcor (VImage ref, VOption *options=0) const |
VImage | spectrum (VOption *options=0) const |
VImage | stats (VOption *options=0) const |
VImage | stdif (int width, int height, VOption *options=0) const |
VImage | subsample (int xfac, int yfac, VOption *options=0) const |
VImage | subtract (VImage right, VOption *options=0) const |
VImage | thumbnail_image (int width, VOption *options=0) const |
void | tiffsave (const char *filename, VOption *options=0) const |
VipsBlob * | tiffsave_buffer (VOption *options=0) const |
VImage | tilecache (VOption *options=0) const |
VImage | transpose3d (VOption *options=0) const |
VImage | unpremultiply (VOption *options=0) const |
void | vipssave (const char *filename, VOption *options=0) const |
void | webpsave (const char *filename, VOption *options=0) const |
VipsBlob * | webpsave_buffer (VOption *options=0) const |
void | webpsave_target (VTarget target, VOption *options=0) const |
VImage | wrap (VOption *options=0) const |
VImage | zoom (int xfac, int yfac, VOption *options=0) const |
bool | is_null () const |
Static Public Member Functions | |
static VOption * | option () |
static void | call_option_string (const char *operation_name, const char *option_string, VOption *options=0) |
static void | call (const char *operation_name, VOption *options=0) |
static VImage | new_memory () |
static VImage | new_temp_file (const char *file_format=".v") |
static VImage | new_from_file (const char *name, VOption *options=0) |
static VImage | new_from_memory (void *data, size_t size, int width, int height, int bands, VipsBandFormat format) |
static VImage | new_from_buffer (const void *buf, size_t len, const char *option_string, VOption *options=0) |
static VImage | new_from_buffer (const std::string &buf, const char *option_string, VOption *options=0) |
static VImage | new_from_source (VSource source, const char *option_string, VOption *options=0) |
static VImage | new_matrix (int width, int height) |
static VImage | new_matrix (int width, int height, double *array, int size) |
static VImage | new_matrixv (int width, int height,...) |
static VImage | analyzeload (const char *filename, VOption *options=0) |
static VImage | arrayjoin (std::vector< VImage > in, VOption *options=0) |
static VImage | bandjoin (std::vector< VImage > in, VOption *options=0) |
static VImage | bandrank (std::vector< VImage > in, VOption *options=0) |
static VImage | black (int width, int height, VOption *options=0) |
static VImage | composite (std::vector< VImage > in, std::vector< int > mode, VOption *options=0) |
static VImage | csvload (const char *filename, VOption *options=0) |
static VImage | csvload_source (VSource source, VOption *options=0) |
static VImage | eye (int width, int height, VOption *options=0) |
static VImage | fitsload (const char *filename, VOption *options=0) |
static VImage | fractsurf (int width, int height, double fractal_dimension, VOption *options=0) |
static VImage | gaussmat (double sigma, double min_ampl, VOption *options=0) |
static VImage | gaussnoise (int width, int height, VOption *options=0) |
static VImage | gifload (const char *filename, VOption *options=0) |
static VImage | gifload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | gifload_source (VSource source, VOption *options=0) |
static VImage | grey (int width, int height, VOption *options=0) |
static VImage | heifload (const char *filename, VOption *options=0) |
static VImage | heifload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | heifload_source (VSource source, VOption *options=0) |
static VImage | identity (VOption *options=0) |
static VImage | jpegload (const char *filename, VOption *options=0) |
static VImage | jpegload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | jpegload_source (VSource source, VOption *options=0) |
static VImage | logmat (double sigma, double min_ampl, VOption *options=0) |
static VImage | magickload (const char *filename, VOption *options=0) |
static VImage | magickload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | mask_butterworth (int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, VOption *options=0) |
static VImage | mask_butterworth_band (int width, int height, double order, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options=0) |
static VImage | mask_butterworth_ring (int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options=0) |
static VImage | mask_fractal (int width, int height, double fractal_dimension, VOption *options=0) |
static VImage | mask_gaussian (int width, int height, double frequency_cutoff, double amplitude_cutoff, VOption *options=0) |
static VImage | mask_gaussian_band (int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options=0) |
static VImage | mask_gaussian_ring (int width, int height, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options=0) |
static VImage | mask_ideal (int width, int height, double frequency_cutoff, VOption *options=0) |
static VImage | mask_ideal_band (int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, VOption *options=0) |
static VImage | mask_ideal_ring (int width, int height, double frequency_cutoff, double ringwidth, VOption *options=0) |
static VImage | matload (const char *filename, VOption *options=0) |
static VImage | matrixload (const char *filename, VOption *options=0) |
static VImage | matrixload_source (VSource source, VOption *options=0) |
static VImage | niftiload (const char *filename, VOption *options=0) |
static VImage | openexrload (const char *filename, VOption *options=0) |
static VImage | openslideload (const char *filename, VOption *options=0) |
static VImage | pdfload (const char *filename, VOption *options=0) |
static VImage | pdfload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | pdfload_source (VSource source, VOption *options=0) |
static VImage | perlin (int width, int height, VOption *options=0) |
static VImage | pngload (const char *filename, VOption *options=0) |
static VImage | pngload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | pngload_source (VSource source, VOption *options=0) |
static VImage | ppmload (const char *filename, VOption *options=0) |
static VImage | ppmload_source (VSource source, VOption *options=0) |
static VipsBlob * | profile_load (const char *name, VOption *options=0) |
static VImage | radload (const char *filename, VOption *options=0) |
static VImage | radload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | radload_source (VSource source, VOption *options=0) |
static VImage | rawload (const char *filename, int width, int height, int bands, VOption *options=0) |
static VImage | sines (int width, int height, VOption *options=0) |
static VImage | sum (std::vector< VImage > in, VOption *options=0) |
static VImage | svgload (const char *filename, VOption *options=0) |
static VImage | svgload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | svgload_source (VSource source, VOption *options=0) |
static VImage | switch_image (std::vector< VImage > tests, VOption *options=0) |
static void | system (const char *cmd_format, VOption *options=0) |
static VImage | text (const char *text, VOption *options=0) |
static VImage | thumbnail (const char *filename, int width, VOption *options=0) |
static VImage | thumbnail_buffer (VipsBlob *buffer, int width, VOption *options=0) |
static VImage | thumbnail_source (VSource source, int width, VOption *options=0) |
static VImage | tiffload (const char *filename, VOption *options=0) |
static VImage | tiffload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | tiffload_source (VSource source, VOption *options=0) |
static VImage | tonelut (VOption *options=0) |
static VImage | vipsload (const char *filename, VOption *options=0) |
static VImage | webpload (const char *filename, VOption *options=0) |
static VImage | webpload_buffer (VipsBlob *buffer, VOption *options=0) |
static VImage | webpload_source (VSource source, VOption *options=0) |
static VImage | worley (int width, int height, VOption *options=0) |
static VImage | xyz (int width, int height, VOption *options=0) |
static VImage | zone (int width, int height, VOption *options=0) |
Friends | |
VIPS_CPLUSPLUS_API VImage | operator+ (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator+ (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator+ (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator+ (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator+ (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator+= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator+= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator+= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator- (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator- (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator- (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator- (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator- (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator-= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator-= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator-= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator- (const VImage a) |
VIPS_CPLUSPLUS_API VImage | operator* (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator* (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator* (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator* (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator* (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator*= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator*= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator*= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator/ (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator/ (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator/ (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator/ (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator/ (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator/= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator/= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator/= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator% (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator% (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator% (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator%= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator%= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator%= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator< (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator< (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator< (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator< (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator< (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator<= (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator<= (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator<= (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator<= (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator<= (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator> (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator> (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator> (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator> (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator> (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator>= (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator>= (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator>= (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator>= (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator>= (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator== (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator== (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator== (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator== (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator== (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator!= (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator!= (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator!= (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator!= (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator!= (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator& (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator& (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator& (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator& (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator& (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator&= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator&= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator&= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator| (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator| (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator| (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator| (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator| (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator|= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator|= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator|= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator^ (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator^ (const double a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator^ (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator^ (const std::vector< double > a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator^ (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator^= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator^= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator^= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator<< (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator<< (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator<< (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator<<= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator<<= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator<<= (VImage &a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage | operator>> (const VImage a, const VImage b) |
VIPS_CPLUSPLUS_API VImage | operator>> (const VImage a, const double b) |
VIPS_CPLUSPLUS_API VImage | operator>> (const VImage a, const std::vector< double > b) |
VIPS_CPLUSPLUS_API VImage & | operator>>= (VImage &a, const VImage b) |
VIPS_CPLUSPLUS_API VImage & | operator>>= (VImage &a, const double b) |
VIPS_CPLUSPLUS_API VImage & | operator>>= (VImage &a, const std::vector< double > b) |
Absolute value of an image.
options | Set of options. |
Add two images.
right | Right-hand image argument. |
options | Set of options. |
Affine transform of an image.
Optional parameters
matrix | Transformation matrix. |
options | Set of options. |
Load an analyze6 image.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Join an array of images.
Optional parameters
in | Array of input images. |
options | Set of options. |
Autorotate image by exif tag.
options | Set of options. |
double VImage::avg | ( | VOption * | options = 0 | ) | const |
Find image average.
options | Set of options. |
Boolean operation across image bands.
boolean | boolean to perform. |
options | Set of options. |
Fold up x axis into bands.
Optional parameters
options | Set of options. |
Bandwise join a set of images.
in | Array of input images. |
options | Set of options. |
Append a constant band to an image.
c | Array of constants to add. |
options | Set of options. |
Band-wise average.
options | Set of options. |
Band-wise rank of a set of images.
Optional parameters
in | Array of input images. |
options | Set of options. |
Unfold image bands into x axis.
Optional parameters
options | Set of options. |
Make a black image.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Boolean operation on two images.
right | Right-hand image argument. |
boolean | boolean to perform. |
options | Set of options. |
VImage VImage::boolean_const | ( | VipsOperationBoolean | boolean, |
std::vector< double > | c, | ||
VOption * | options = 0 |
||
) | const |
Boolean operations against a constant.
boolean | boolean to perform. |
c | Array of constants. |
options | Set of options. |
Build a look-up table.
options | Set of options. |
Byteswap an image.
options | Set of options. |
Cache an image.
Optional parameters
options | Set of options. |
Canny edge detector.
Optional parameters
options | Set of options. |
Use pixel values to pick cases from an array of images.
cases | Array of case images. |
options | Set of options. |
Cast an image.
Optional parameters
format | Format to cast to. |
options | Set of options. |
Transform lch to cmc.
options | Set of options. |
Transform cmyk to xyz.
options | Set of options. |
Convert to a new colorspace.
Optional parameters
space | Destination color space. |
options | Set of options. |
Convolve with rotating mask.
Optional parameters
mask | Input matrix image. |
options | Set of options. |
Perform a complex operation on an image.
cmplx | complex to perform. |
options | Set of options. |
Complex binary operations on two images.
right | Right-hand image argument. |
cmplx | binary complex operation to perform. |
options | Set of options. |
Form a complex image from two real images.
right | Right-hand image argument. |
options | Set of options. |
Get a component from a complex image.
get | complex to perform. |
options | Set of options. |
|
static |
Blend an array of images with an array of blend modes.
Optional parameters
in | Array of input images. |
mode | Array of VipsBlendMode to join with. |
options | Set of options. |
Blend a pair of images with a blend mode.
Optional parameters
overlay | Overlay image. |
mode | VipsBlendMode to join with. |
options | Set of options. |
Convolution operation.
Optional parameters
mask | Input matrix image. |
options | Set of options. |
Approximate integer convolution.
Optional parameters
mask | Input matrix image. |
options | Set of options. |
Approximate separable integer convolution.
Optional parameters
mask | Input matrix image. |
options | Set of options. |
Float convolution operation.
mask | Input matrix image. |
options | Set of options. |
Int convolution operation.
mask | Input matrix image. |
options | Set of options. |
Seperable convolution operation.
Optional parameters
mask | Input matrix image. |
options | Set of options. |
Copy an image.
Optional parameters
options | Set of options. |
double VImage::countlines | ( | VipsDirection | direction, |
VOption * | options = 0 |
||
) | const |
Count lines in an image.
direction | Countlines left-right or up-down. |
options | Set of options. |
Extract an area from an image.
left | Left edge of extract area. |
top | Top edge of extract area. |
width | Width of extract area. |
height | Height of extract area. |
options | Set of options. |
Load csv.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load csv.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::csvsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to csv.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
Save image to csv.
Optional parameters
target | Target to save to. |
options | Set of options. |
Calculate de00.
right | Right-hand input image. |
options | Set of options. |
Calculate de76.
right | Right-hand input image. |
options | Set of options. |
Calculate decmc.
right | Right-hand input image. |
options | Set of options. |
double VImage::deviate | ( | VOption * | options = 0 | ) | const |
Find image standard deviation.
options | Set of options. |
Divide two images.
right | Right-hand image argument. |
options | Set of options. |
void VImage::draw_circle | ( | std::vector< double > | ink, |
int | cx, | ||
int | cy, | ||
int | radius, | ||
VOption * | options = 0 |
||
) | const |
Draw a circle on an image.
Optional parameters
ink | Color for pixels. |
cx | Centre of draw_circle. |
cy | Centre of draw_circle. |
radius | Radius in pixels. |
options | Set of options. |
void VImage::draw_flood | ( | std::vector< double > | ink, |
int | x, | ||
int | y, | ||
VOption * | options = 0 |
||
) | const |
Flood-fill an area.
Optional parameters
ink | Color for pixels. |
x | DrawFlood start point. |
y | DrawFlood start point. |
options | Set of options. |
Paint an image into another image.
Optional parameters
sub | Sub-image to insert into main image. |
x | Draw image here. |
y | Draw image here. |
options | Set of options. |
void VImage::draw_line | ( | std::vector< double > | ink, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
VOption * | options = 0 |
||
) | const |
Draw a line on an image.
ink | Color for pixels. |
x1 | Start of draw_line. |
y1 | Start of draw_line. |
x2 | End of draw_line. |
y2 | End of draw_line. |
options | Set of options. |
void VImage::draw_mask | ( | std::vector< double > | ink, |
VImage | mask, | ||
int | x, | ||
int | y, | ||
VOption * | options = 0 |
||
) | const |
Draw a mask on an image.
ink | Color for pixels. |
mask | Mask of pixels to draw. |
x | Draw mask here. |
y | Draw mask here. |
options | Set of options. |
void VImage::draw_rect | ( | std::vector< double > | ink, |
int | left, | ||
int | top, | ||
int | width, | ||
int | height, | ||
VOption * | options = 0 |
||
) | const |
Paint a rectangle on an image.
Optional parameters
ink | Color for pixels. |
left | Rect to fill. |
top | Rect to fill. |
width | Rect to fill. |
height | Rect to fill. |
options | Set of options. |
void VImage::draw_smudge | ( | int | left, |
int | top, | ||
int | width, | ||
int | height, | ||
VOption * | options = 0 |
||
) | const |
Blur a rectangle on an image.
left | Rect to fill. |
top | Rect to fill. |
width | Rect to fill. |
height | Rect to fill. |
options | Set of options. |
void VImage::dzsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to deepzoom file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::dzsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to dz buffer.
Optional parameters
options | Set of options. |
Embed an image in a larger image.
Optional parameters
x | Left edge of input in output. |
y | Top edge of input in output. |
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
VImage VImage::extract_area | ( | int | left, |
int | top, | ||
int | width, | ||
int | height, | ||
VOption * | options = 0 |
||
) | const |
Extract an area from an image.
left | Left edge of extract area. |
top | Top edge of extract area. |
width | Width of extract area. |
height | Height of extract area. |
options | Set of options. |
Extract band from an image.
Optional parameters
band | Band to extract. |
options | Set of options. |
Make an image showing the eye's spatial response.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
False-color an image.
options | Set of options. |
Fast correlation.
ref | Input reference image. |
options | Set of options. |
Fill image zeros with nearest non-zero pixel.
options | Set of options. |
int VImage::find_trim | ( | int * | top, |
int * | width, | ||
int * | height, | ||
VOption * | options = 0 |
||
) | const |
Search an image for non-edge areas.
Optional parameters
top | Top edge of extract area. |
width | Width of extract area. |
height | Height of extract area. |
options | Set of options. |
Load a fits image.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
void VImage::fitssave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to fits file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
Flatten alpha out of an image.
Optional parameters
options | Set of options. |
Flip an image.
direction | Direction to flip image. |
options | Set of options. |
Transform float rgb to radiance coding.
options | Set of options. |
|
static |
Make a fractal surface.
width | Image width in pixels. |
height | Image height in pixels. |
fractal_dimension | Fractal dimension. |
options | Set of options. |
Frequency-domain filtering.
mask | Input mask image. |
options | Set of options. |
Forward fft.
options | Set of options. |
Gamma an image.
Optional parameters
options | Set of options. |
Gaussian blur.
Optional parameters
sigma | Sigma of Gaussian. |
options | Set of options. |
Make a gaussian image.
Optional parameters
sigma | Sigma of Gaussian. |
min_ampl | Minimum amplitude of Gaussian. |
options | Set of options. |
Make a gaussnoise image.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
std::vector< double > VImage::getpoint | ( | int | x, |
int | y, | ||
VOption * | options = 0 |
||
) | const |
Read a point from an image.
x | Point to read. |
y | Point to read. |
options | Set of options. |
Load gif with giflib.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load gif with giflib.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load gif with giflib.
Optional parameters
source | Source to load from. |
options | Set of options. |
Global balance an image mosaic.
Optional parameters
options | Set of options. |
VImage VImage::gravity | ( | VipsCompassDirection | direction, |
int | width, | ||
int | height, | ||
VOption * | options = 0 |
||
) | const |
Place an image within a larger image with a certain gravity.
Optional parameters
direction | direction to place image within width/height. |
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Make a grey ramp image.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Grid an image.
tile_height | chop into tiles this high. |
across | number of tiles across. |
down | number of tiles down. |
options | Set of options. |
Load a heif image.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load a heif image.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load a heif image.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::heifsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image in heif format.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
VipsBlob * VImage::heifsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image in heif format.
Optional parameters
options | Set of options. |
Save image in heif format.
Optional parameters
target | Target to save to. |
options | Set of options. |
Form cumulative histogram.
options | Set of options. |
double VImage::hist_entropy | ( | VOption * | options = 0 | ) | const |
Estimate image entropy.
options | Set of options. |
Histogram equalisation.
Optional parameters
options | Set of options. |
Find image histogram.
Optional parameters
options | Set of options. |
Find indexed image histogram.
Optional parameters
index | Index image. |
options | Set of options. |
Find n-dimensional image histogram.
Optional parameters
options | Set of options. |
bool VImage::hist_ismonotonic | ( | VOption * | options = 0 | ) | const |
Test for monotonicity.
options | Set of options. |
Local histogram equalisation.
Optional parameters
width | Window width in pixels. |
height | Window height in pixels. |
options | Set of options. |
Match two histograms.
ref | Reference histogram. |
options | Set of options. |
Normalise histogram.
options | Set of options. |
Plot histogram.
options | Set of options. |
Find hough circle transform.
Optional parameters
options | Set of options. |
Find hough line transform.
Optional parameters
options | Set of options. |
Transform hsv to srgb.
options | Set of options. |
Output to device with icc profile.
Optional parameters
options | Set of options. |
Import from device with icc profile.
Optional parameters
options | Set of options. |
Transform between devices with icc profiles.
Optional parameters
output_profile | Filename to load output profile from. |
options | Set of options. |
Make a 1d image where pixel values are indexes.
Optional parameters
options | Set of options. |
Ifthenelse an image.
Optional parameters
in1 | Source for TRUE pixels. |
in2 | Source for FALSE pixels. |
options | Set of options. |
Insert image @sub into @main at @x, @y.
Optional parameters
sub | Sub-image to insert into main image. |
x | Left edge of sub in main. |
y | Top edge of sub in main. |
options | Set of options. |
Invert an image.
options | Set of options. |
Build an inverted look-up table.
Optional parameters
options | Set of options. |
Inverse fft.
Optional parameters
options | Set of options. |
Join a pair of images.
Optional parameters
in2 | Second input image. |
direction | Join left-right or up-down. |
options | Set of options. |
Load jpeg from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load jpeg from buffer.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load image from jpeg source.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::jpegsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to jpeg file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::jpegsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to jpeg buffer.
Optional parameters
options | Set of options. |
void VImage::jpegsave_mime | ( | VOption * | options = 0 | ) | const |
Save image to jpeg mime.
Optional parameters
options | Set of options. |
Save image to jpeg target.
Optional parameters
target | Target to save to. |
options | Set of options. |
Transform float lab to labq coding.
options | Set of options. |
Transform float lab to signed short.
options | Set of options. |
Transform lab to lch.
options | Set of options. |
Transform cielab to xyz.
Optional parameters
options | Set of options. |
Label regions in an image.
options | Set of options. |
Unpack a labq image to float lab.
options | Set of options. |
Unpack a labq image to short lab.
options | Set of options. |
Convert a labq image to srgb.
options | Set of options. |
Transform signed short lab to float.
options | Set of options. |
Transform short lab to labq coding.
options | Set of options. |
Transform lch to cmc.
options | Set of options. |
Transform lch to lab.
options | Set of options. |
VImage VImage::linear | ( | std::vector< double > | a, |
std::vector< double > | b, | ||
VOption * | options = 0 |
||
) | const |
Calculate (a * in + b).
Optional parameters
a | Multiply by this. |
b | Add this. |
options | Set of options. |
Cache an image as a set of lines.
Optional parameters
options | Set of options. |
Make a laplacian of gaussian image.
Optional parameters
sigma | Radius of Logmatian. |
min_ampl | Minimum amplitude of Logmatian. |
options | Set of options. |
Load file with imagemagick.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load buffer with imagemagick.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
void VImage::magicksave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save file with imagemagick.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::magicksave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to magick buffer.
Optional parameters
options | Set of options. |
Resample with a map image.
Optional parameters
index | Index pixels with this. |
options | Set of options. |
Map an image though a lut.
Optional parameters
lut | Look-up table image. |
options | Set of options. |
|
static |
Make a butterworth filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
order | Filter order. |
frequency_cutoff | Frequency cutoff. |
amplitude_cutoff | Amplitude cutoff. |
options | Set of options. |
|
static |
Make a butterworth_band filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
order | Filter order. |
frequency_cutoff_x | Frequency cutoff x. |
frequency_cutoff_y | Frequency cutoff y. |
radius | radius of circle. |
amplitude_cutoff | Amplitude cutoff. |
options | Set of options. |
|
static |
Make a butterworth ring filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
order | Filter order. |
frequency_cutoff | Frequency cutoff. |
amplitude_cutoff | Amplitude cutoff. |
ringwidth | Ringwidth. |
options | Set of options. |
|
static |
Make fractal filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
fractal_dimension | Fractal dimension. |
options | Set of options. |
|
static |
Make a gaussian filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
frequency_cutoff | Frequency cutoff. |
amplitude_cutoff | Amplitude cutoff. |
options | Set of options. |
|
static |
Make a gaussian filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
frequency_cutoff_x | Frequency cutoff x. |
frequency_cutoff_y | Frequency cutoff y. |
radius | radius of circle. |
amplitude_cutoff | Amplitude cutoff. |
options | Set of options. |
|
static |
Make a gaussian ring filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
frequency_cutoff | Frequency cutoff. |
amplitude_cutoff | Amplitude cutoff. |
ringwidth | Ringwidth. |
options | Set of options. |
|
static |
Make an ideal filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
frequency_cutoff | Frequency cutoff. |
options | Set of options. |
|
static |
Make an ideal band filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
frequency_cutoff_x | Frequency cutoff x. |
frequency_cutoff_y | Frequency cutoff y. |
radius | radius of circle. |
options | Set of options. |
|
static |
Make an ideal ring filter.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
frequency_cutoff | Frequency cutoff. |
ringwidth | Ringwidth. |
options | Set of options. |
VImage VImage::match | ( | VImage | sec, |
int | xr1, | ||
int | yr1, | ||
int | xs1, | ||
int | ys1, | ||
int | xr2, | ||
int | yr2, | ||
int | xs2, | ||
int | ys2, | ||
VOption * | options = 0 |
||
) | const |
First-order match of two images.
Optional parameters
sec | Secondary image. |
xr1 | Position of first reference tie-point. |
yr1 | Position of first reference tie-point. |
xs1 | Position of first secondary tie-point. |
ys1 | Position of first secondary tie-point. |
xr2 | Position of second reference tie-point. |
yr2 | Position of second reference tie-point. |
xs2 | Position of second secondary tie-point. |
ys2 | Position of second secondary tie-point. |
options | Set of options. |
Apply a math operation to an image.
math | math to perform. |
options | Set of options. |
Binary math operations.
right | Right-hand image argument. |
math2 | math to perform. |
options | Set of options. |
VImage VImage::math2_const | ( | VipsOperationMath2 | math2, |
std::vector< double > | c, | ||
VOption * | options = 0 |
||
) | const |
Binary math operations with a constant.
math2 | math to perform. |
c | Array of constants. |
options | Set of options. |
Load mat from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Invert an matrix.
options | Set of options. |
Load matrix.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load matrix.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::matrixprint | ( | VOption * | options = 0 | ) | const |
Print matrix.
Optional parameters
options | Set of options. |
void VImage::matrixsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to matrix.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
Save image to matrix.
Optional parameters
target | Target to save to. |
options | Set of options. |
double VImage::max | ( | VOption * | options = 0 | ) | const |
Find image maximum.
Optional parameters
options | Set of options. |
Measure a set of patches on a color chart.
Optional parameters
h | Number of patches across chart. |
v | Number of patches down chart. |
options | Set of options. |
VImage VImage::merge | ( | VImage | sec, |
VipsDirection | direction, | ||
int | dx, | ||
int | dy, | ||
VOption * | options = 0 |
||
) | const |
Merge two images.
Optional parameters
sec | Secondary image. |
direction | Horizontal or vertical merge. |
dx | Horizontal displacement from sec to ref. |
dy | Vertical displacement from sec to ref. |
options | Set of options. |
double VImage::min | ( | VOption * | options = 0 | ) | const |
Find image minimum.
Optional parameters
options | Set of options. |
Morphology operation.
mask | Input matrix image. |
morph | Morphological operation to perform. |
options | Set of options. |
VImage VImage::mosaic | ( | VImage | sec, |
VipsDirection | direction, | ||
int | xref, | ||
int | yref, | ||
int | xsec, | ||
int | ysec, | ||
VOption * | options = 0 |
||
) | const |
Mosaic two images.
Optional parameters
sec | Secondary image. |
direction | Horizontal or vertical mosaic. |
xref | Position of reference tie-point. |
yref | Position of reference tie-point. |
xsec | Position of secondary tie-point. |
ysec | Position of secondary tie-point. |
options | Set of options. |
VImage VImage::mosaic1 | ( | VImage | sec, |
VipsDirection | direction, | ||
int | xr1, | ||
int | yr1, | ||
int | xs1, | ||
int | ys1, | ||
int | xr2, | ||
int | yr2, | ||
int | xs2, | ||
int | ys2, | ||
VOption * | options = 0 |
||
) | const |
First-order mosaic of two images.
Optional parameters
sec | Secondary image. |
direction | Horizontal or vertical mosaic. |
xr1 | Position of first reference tie-point. |
yr1 | Position of first reference tie-point. |
xs1 | Position of first secondary tie-point. |
ys1 | Position of first secondary tie-point. |
xr2 | Position of second reference tie-point. |
yr2 | Position of second reference tie-point. |
xs2 | Position of second secondary tie-point. |
ys2 | Position of second secondary tie-point. |
options | Set of options. |
Pick most-significant byte from an image.
Optional parameters
options | Set of options. |
Multiply two images.
right | Right-hand image argument. |
options | Set of options. |
Load a nifti image.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
void VImage::niftisave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to nifti file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
Load an openexr image.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load file with openslide.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load pdf from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load pdf from buffer.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load pdf from source.
Optional parameters
source | Source to load from. |
options | Set of options. |
int VImage::percent | ( | double | percent, |
VOption * | options = 0 |
||
) | const |
Find threshold for percent of pixels.
percent | Percent of pixels. |
options | Set of options. |
Make a perlin noise image.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Calculate phase correlation.
in2 | Second input image. |
options | Set of options. |
Load png from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load png from buffer.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load png from source.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::pngsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to png file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::pngsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to png buffer.
Optional parameters
options | Set of options. |
Save image to target as png.
Optional parameters
target | Target to save to. |
options | Set of options. |
Load ppm from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load ppm base class.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::ppmsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to ppm file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
Save to ppm.
Optional parameters
target | Target to save to. |
options | Set of options. |
Premultiply image alpha.
Optional parameters
options | Set of options. |
Find image profiles.
rows | First non-zero pixel in row. |
options | Set of options. |
|
static |
Load named icc profile.
name | Profile name. |
options | Set of options. |
Find image projections.
rows | Sums of rows. |
options | Set of options. |
Resample an image with a quadratic transform.
Optional parameters
coeff | Coefficient matrix. |
options | Set of options. |
Unpack radiance coding to float rgb.
options | Set of options. |
Load a radiance image from a file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load rad from buffer.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load rad from source.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::radsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to radiance file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::radsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to radiance buffer.
Optional parameters
options | Set of options. |
Save image to radiance target.
Optional parameters
target | Target to save to. |
options | Set of options. |
Rank filter.
width | Window width in pixels. |
height | Window height in pixels. |
index | Select pixel at index. |
options | Set of options. |
|
static |
Load raw data from a file.
Optional parameters
filename | Filename to load from. |
width | Image width in pixels. |
height | Image height in pixels. |
bands | Number of bands in image. |
options | Set of options. |
void VImage::rawsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to raw file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
void VImage::rawsave_fd | ( | int | fd, |
VOption * | options = 0 |
||
) | const |
Write raw image to file descriptor.
Optional parameters
fd | File descriptor to write to. |
options | Set of options. |
Linear recombination with matrix.
m | matrix of coefficients. |
options | Set of options. |
Reduce an image.
Optional parameters
hshrink | Horizontal shrink factor. |
vshrink | Vertical shrink factor. |
options | Set of options. |
Shrink an image horizontally.
Optional parameters
hshrink | Horizontal shrink factor. |
options | Set of options. |
Shrink an image vertically.
Optional parameters
vshrink | Vertical shrink factor. |
options | Set of options. |
VImage VImage::relational | ( | VImage | right, |
VipsOperationRelational | relational, | ||
VOption * | options = 0 |
||
) | const |
Relational operation on two images.
right | Right-hand image argument. |
relational | relational to perform. |
options | Set of options. |
VImage VImage::relational_const | ( | VipsOperationRelational | relational, |
std::vector< double > | c, | ||
VOption * | options = 0 |
||
) | const |
Relational operations against a constant.
relational | relational to perform. |
c | Array of constants. |
options | Set of options. |
Remainder after integer division of two images.
right | Right-hand image argument. |
options | Set of options. |
Remainder after integer division of an image and a constant.
c | Array of constants. |
options | Set of options. |
Replicate an image.
across | Repeat this many times horizontally. |
down | Repeat this many times vertically. |
options | Set of options. |
Resize an image.
Optional parameters
scale | Scale image by this factor. |
options | Set of options. |
Rotate an image.
angle | Angle to rotate image. |
options | Set of options. |
Rotate an image.
Optional parameters
options | Set of options. |
Rotate an image by a number of degrees.
Optional parameters
angle | Rotate anticlockwise by this many degrees. |
options | Set of options. |
Perform a round function on an image.
round | rounding operation to perform. |
options | Set of options. |
Scale an image to uchar.
Optional parameters
options | Set of options. |
Convert scrgb to bw.
Optional parameters
options | Set of options. |
Convert an scrgb image to srgb.
Optional parameters
options | Set of options. |
Transform scrgb to xyz.
options | Set of options. |
Check sequential access.
Optional parameters
options | Set of options. |
Unsharp masking for print.
Optional parameters
options | Set of options. |
Shrink an image.
hshrink | Horizontal shrink factor. |
vshrink | Vertical shrink factor. |
options | Set of options. |
Shrink an image horizontally.
hshrink | Horizontal shrink factor. |
options | Set of options. |
Shrink an image vertically.
vshrink | Vertical shrink factor. |
options | Set of options. |
Unit vector of pixel.
options | Set of options. |
Similarity transform of an image.
Optional parameters
options | Set of options. |
Make a 2d sine wave.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Extract an area from an image.
Optional parameters
width | Width of extract area. |
height | Height of extract area. |
options | Set of options. |
Sobel edge detector.
options | Set of options. |
Spatial correlation.
ref | Input reference image. |
options | Set of options. |
Make displayable power spectrum.
options | Set of options. |
Transform srgb to hsv.
options | Set of options. |
Convert an srgb image to scrgb.
options | Set of options. |
Find many image stats.
options | Set of options. |
Statistical difference.
Optional parameters
width | Window width in pixels. |
height | Window height in pixels. |
options | Set of options. |
Subsample an image.
Optional parameters
xfac | Horizontal subsample factor. |
yfac | Vertical subsample factor. |
options | Set of options. |
Subtract two images.
right | Right-hand image argument. |
options | Set of options. |
Sum an array of images.
in | Array of input images. |
options | Set of options. |
Load svg with rsvg.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load svg with rsvg.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load svg from source.
Optional parameters
source | Source to load from. |
options | Set of options. |
Find the index of the first non-zero pixel in tests.
tests | Table of images to test. |
options | Set of options. |
|
static |
Run an external command.
Optional parameters
cmd_format | Command to run. |
options | Set of options. |
Make a text image.
Optional parameters
text | Text to render. |
options | Set of options. |
Generate thumbnail from file.
Optional parameters
filename | Filename to read from. |
width | Size to this width. |
options | Set of options. |
Generate thumbnail from buffer.
Optional parameters
buffer | Buffer to load from. |
width | Size to this width. |
options | Set of options. |
Generate thumbnail from image.
Optional parameters
width | Size to this width. |
options | Set of options. |
Generate thumbnail from source.
Optional parameters
source | Source to load from. |
width | Size to this width. |
options | Set of options. |
Load tiff from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load tiff from buffer.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load tiff from source.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::tiffsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to tiff file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::tiffsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to tiff buffer.
Optional parameters
options | Set of options. |
Cache an image as a set of tiles.
Optional parameters
options | Set of options. |
Build a look-up table.
Optional parameters
options | Set of options. |
Transpose3d an image.
Optional parameters
options | Set of options. |
Unpremultiply image alpha.
Optional parameters
options | Set of options. |
Load vips from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
void VImage::vipssave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to vips file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
Load webp from file.
Optional parameters
filename | Filename to load from. |
options | Set of options. |
Load webp from buffer.
Optional parameters
buffer | Buffer to load from. |
options | Set of options. |
Load webp from source.
Optional parameters
source | Source to load from. |
options | Set of options. |
void VImage::webpsave | ( | const char * | filename, |
VOption * | options = 0 |
||
) | const |
Save image to webp file.
Optional parameters
filename | Filename to save to. |
options | Set of options. |
VipsBlob * VImage::webpsave_buffer | ( | VOption * | options = 0 | ) | const |
Save image to webp buffer.
Optional parameters
options | Set of options. |
Save image to webp target.
Optional parameters
target | Target to save to. |
options | Set of options. |
Make a worley noise image.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Wrap image origin.
Optional parameters
options | Set of options. |
Make an image where pixel values are coordinates.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Transform xyz to cmyk.
options | Set of options. |
Transform xyz to lab.
Optional parameters
options | Set of options. |
Transform xyz to scrgb.
options | Set of options. |
Transform xyz to yxy.
options | Set of options. |
Transform yxy to xyz.
options | Set of options. |
Make a zone plate.
Optional parameters
width | Image width in pixels. |
height | Image height in pixels. |
options | Set of options. |
Zoom an image.
xfac | Horizontal zoom factor. |
yfac | Vertical zoom factor. |
options | Set of options. |