Loading...
Searching...
No Matches
VImage8.h
// VIPS image wrapper
/*
This file is part of VIPS.
VIPS is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
*/
#ifndef VIPS_VIMAGE_H
#define VIPS_VIMAGE_H
#include <list>
#include <complex>
#include <vector>
#include <cstring>
#include <vips/vips.h>
VIPS_NAMESPACE_START
/* Small utility things.
*/
VIPS_CPLUSPLUS_API std::vector<double> to_vectorv(int n, ...);
VIPS_CPLUSPLUS_API std::vector<double> to_vector(double value);
VIPS_CPLUSPLUS_API std::vector<double> to_vector(int n, double array[]);
VIPS_CPLUSPLUS_API std::vector<double> negate(std::vector<double> value);
VIPS_CPLUSPLUS_API std::vector<double> invert(std::vector<double> value);
enum VSteal {
NOSTEAL = 0,
STEAL = 1
};
class VObject {
private:
// can be NULL, see eg. VObject()
VipsObject *vobject;
public:
explicit VObject(VipsObject *new_vobject, VSteal steal = STEAL)
: vobject(new_vobject)
{
// we allow NULL init, eg. "VImage a;"
g_assert(!new_vobject ||
VIPS_IS_OBJECT(new_vobject));
#ifdef VIPS_DEBUG_VERBOSE
printf("VObject constructor, obj = %p, steal = %d\n",
new_vobject, steal);
if (new_vobject) {
printf(" obj ");
vips_object_print_name(VIPS_OBJECT(new_vobject));
printf("\n");
}
#endif /*VIPS_DEBUG_VERBOSE*/
if (!steal && vobject) {
#ifdef VIPS_DEBUG_VERBOSE
printf(" reffing object\n");
#endif /*VIPS_DEBUG_VERBOSE*/
g_object_ref(vobject);
}
}
VObject() : vobject(nullptr)
{
}
VObject(const VObject &a) : vobject(a.vobject)
{
g_assert(!vobject ||
VIPS_IS_OBJECT(vobject));
#ifdef VIPS_DEBUG_VERBOSE
printf("VObject copy constructor, obj = %p\n",
vobject);
printf(" reffing object\n");
#endif /*VIPS_DEBUG_VERBOSE*/
if (vobject)
g_object_ref(vobject);
}
// assignment ... we must delete the old ref
VObject &
operator=(const VObject &a)
{
#ifdef VIPS_DEBUG_VERBOSE
printf("VObject assignment\n");
printf(" reffing %p\n", a.vobject);
printf(" unreffing %p\n", vobject);
#endif /*VIPS_DEBUG_VERBOSE*/
g_assert(!vobject ||
VIPS_IS_OBJECT(vobject));
g_assert(!a.vobject ||
VIPS_IS_OBJECT(a.vobject));
// delete the old ref at the end ... otherwise "a = a;" could
// unref before reffing again
if (a.vobject)
g_object_ref(a.vobject);
if (vobject)
g_object_unref(vobject);
vobject = a.vobject;
return *this;
}
// this mustn't be virtual: we want this class to only be a pointer,
// no vtable allowed
~VObject()
{
#ifdef VIPS_DEBUG_VERBOSE
printf("VObject destructor\n");
printf(" unreffing %p\n", vobject);
#endif /*VIPS_DEBUG_VERBOSE*/
g_assert(!vobject ||
VIPS_IS_OBJECT(vobject));
if (vobject)
g_object_unref(vobject);
}
VipsObject *
get_object() const
{
g_assert(!vobject ||
VIPS_IS_OBJECT(vobject));
return vobject;
}
bool
is_null() const
{
return vobject == nullptr;
}
};
class VIPS_CPLUSPLUS_API VImage;
class VIPS_CPLUSPLUS_API VInterpolate;
class VIPS_CPLUSPLUS_API VRegion;
class VIPS_CPLUSPLUS_API VSource;
class VIPS_CPLUSPLUS_API VTarget;
class VIPS_CPLUSPLUS_API VOption;
class VOption {
private:
struct Pair {
const char *name;
// the thing we pass to and from our caller
GValue value;
// an input or output parameter ... we guess the direction
// from the arg to set()
bool input;
// the pointer we write output values to
union {
bool *vbool;
int *vint;
double *vdouble;
VImage *vimage;
std::vector<double> *vvector;
VipsBlob **vblob;
};
explicit Pair(const char *name) : name(name), value(G_VALUE_INIT),
input(false), vimage(nullptr)
{
}
~Pair()
{
g_value_unset(&value);
}
};
std::list<Pair *> options;
public:
VOption() = default;
virtual ~VOption();
VOption *
set(const char *name, bool value);
VOption *
set(const char *name, int value);
VOption *
set(const char *name, guint64 value);
VOption *
set(const char *name, double value);
VOption *
set(const char *name, const char *value);
VOption *
set(const char *name, const VObject value);
VOption *
set(const char *name, std::vector<int> value);
VOption *
set(const char *name, std::vector<double> value);
VOption *
set(const char *name, std::vector<VImage> value);
VOption *
set(const char *name, VipsBlob *value);
VOption *
set(const char *name, bool *value);
VOption *
set(const char *name, int *value);
VOption *
set(const char *name, double *value);
VOption *
set(const char *name, VImage *value);
VOption *
set(const char *name, std::vector<double> *value);
VOption *
set(const char *name, VipsBlob **blob);
void
set_operation(VipsOperation *operation);
void
get_operation(VipsOperation *operation);
};
class VImage : public VObject {
public:
using VObject::is_null;
explicit VImage(VipsImage *image, VSteal steal = STEAL)
: VObject((VipsObject *) image, steal)
{
}
VImage() : VObject(nullptr)
{
}
VipsImage *
get_image() const
{
return (VipsImage *) VObject::get_object();
}
int
width() const
{
return vips_image_get_width(get_image());
}
int
height() const
{
return vips_image_get_height(get_image());
}
int
bands() const
{
return vips_image_get_bands(get_image());
}
VipsBandFormat
format() const
{
return vips_image_get_format(get_image());
}
VipsCoding
coding() const
{
return vips_image_get_coding(get_image());
}
VipsInterpretation
interpretation() const
{
return vips_image_get_interpretation(get_image());
}
VipsInterpretation
guess_interpretation() const
{
return vips_image_guess_interpretation(get_image());
}
double
xres() const
{
return vips_image_get_xres(get_image());
}
double
yres() const
{
return vips_image_get_yres(get_image());
}
int
xoffset() const
{
return vips_image_get_xoffset(get_image());
}
int
yoffset() const
{
return vips_image_get_yoffset(get_image());
}
bool
has_alpha() const
{
return vips_image_hasalpha(get_image());
}
const char *
filename() const
{
return vips_image_get_filename(get_image());
}
VImage
gainmap() const
{
return VImage(vips_image_get_gainmap(get_image()));
}
void
inplace()
{
if (vips_image_inplace(this->get_image()))
throw(VError());
}
const void *
data() const
{
return vips_image_get_data(get_image());
}
void
set(const char *field, int value)
{
vips_image_set_int(this->get_image(), field, value);
}
void
set(const char *field, int *value, int n)
{
vips_image_set_array_int(this->get_image(), field, value, n);
}
void
set(const char *field, std::vector<int> value)
{
vips_image_set_array_int(this->get_image(), field, &value[0],
static_cast<int>(value.size()));
}
void
set(const char *field, double *value, int n)
{
vips_image_set_array_double(this->get_image(), field, value, n);
}
void
set(const char *field, std::vector<double> value)
{
vips_image_set_array_double(this->get_image(), field, &value[0],
static_cast<int>(value.size()));
}
void
set(const char *field, double value)
{
vips_image_set_double(this->get_image(), field, value);
}
void
set(const char *field, const char *value)
{
vips_image_set_string(this->get_image(), field, value);
}
void
set(const char *field,
VipsCallbackFn free_fn, void *data, size_t length)
{
vips_image_set_blob(this->get_image(), field,
free_fn, data, length);
}
void
set(const char *field, const VImage value)
{
vips_image_set_image(this->get_image(), field, value.get_image());
}
GType
get_typeof(const char *field) const
{
return vips_image_get_typeof(this->get_image(), field);
}
int
get_int(const char *field) const
{
int value;
if (vips_image_get_int(this->get_image(), field, &value))
throw(VError());
return value;
}
void
get_array_int(const char *field, int **out, int *n) const
{
if (vips_image_get_array_int(this->get_image(),
field, out, n))
throw(VError());
}
std::vector<int>
get_array_int(const char *field) const
{
int length;
int *array;
if (vips_image_get_array_int(this->get_image(),
field, &array, &length))
throw(VError());
std::vector<int> vector(array, array + length);
return vector;
}
void
get_array_double(const char *field, double **out, int *n) const
{
if (vips_image_get_array_double(this->get_image(),
field, out, n))
throw(VError());
}
std::vector<double>
get_array_double(const char *field) const
{
int length;
double *array;
if (vips_image_get_array_double(this->get_image(),
field, &array, &length))
throw(VError());
std::vector<double> vector(array, array + length);
return vector;
}
double
get_double(const char *field) const
{
double value;
if (vips_image_get_double(this->get_image(), field, &value))
throw(VError());
return value;
}
const char *
get_string(const char *field) const
{
const char *value;
if (vips_image_get_string(this->get_image(), field, &value))
throw(VError());
return value;
}
const void *
get_blob(const char *field, size_t *length) const
{
const void *value;
if (vips_image_get_blob(this->get_image(), field,
&value, length))
throw(VError());
return value;
}
bool
remove(const char *name) const
{
return vips_image_remove(get_image(), name);
}
static VOption *
option()
{
return new VOption();
}
static void
call_option_string(const char *operation_name,
const char *option_string, VOption *options = nullptr);
static void
call(const char *operation_name, VOption *options = nullptr);
static VImage
new_memory()
{
return VImage(vips_image_new_memory());
}
static VImage
new_temp_file(const char *file_format = ".v")
{
VipsImage *image;
if (!(image = vips_image_new_temp_file(file_format)))
throw(VError());
return VImage(image);
}
static VImage
new_from_file(const char *name, VOption *options = nullptr);
static VImage
new_from_buffer(const void *buf, size_t len,
const char *option_string, VOption *options = nullptr);
static VImage
new_from_buffer(const std::string &buf,
const char *option_string, VOption *options = nullptr);
static VImage
new_from_source(VSource source,
const char *option_string, VOption *options = nullptr);
static VImage
new_from_memory(const void *data, size_t size,
int width, int height, int bands, VipsBandFormat format)
{
VipsImage *image;
if (!(image = vips_image_new_from_memory(data, size,
width, height, bands, format)))
throw(VError());
return VImage(image);
}
static VImage
new_from_memory_copy(const void *data, size_t size,
int width, int height, int bands, VipsBandFormat format)
{
VipsImage *image;
if (!(image = vips_image_new_from_memory_copy(data, size,
width, height, bands, format)))
throw(VError());
return VImage(image);
}
static VImage
new_from_memory_steal(const void *data, size_t size,
int width, int height, int bands, VipsBandFormat format);
static VImage
new_matrix(int width, int height);
static VImage
new_matrix(int width, int height, double *array, int size)
{
VipsImage *image;
if (!(image = vips_image_new_matrix_from_array(width, height,
array, size)))
throw(VError());
return VImage(image);
}
static VImage
new_matrixv(int width, int height, ...);
VImage
new_from_image(std::vector<double> pixel) const
{
VipsImage *image;
if (!(image = vips_image_new_from_image(this->get_image(),
&pixel[0], static_cast<int>(pixel.size()))))
throw(VError());
return VImage(image);
}
VImage
new_from_image(double pixel) const
{
return new_from_image(to_vectorv(1, pixel));
}
VImage
copy_memory() const
{
VipsImage *image;
if (!(image = vips_image_copy_memory(this->get_image())))
throw(VError());
return VImage(image);
}
VImage write(VImage out) const;
void write_to_file(const char *name, VOption *options = nullptr) const;
void write_to_buffer(const char *suffix, void **buf, size_t *size,
VOption *options = nullptr) const;
void write_to_target(const char *suffix, VTarget target,
VOption *options = nullptr) const;
void *
write_to_memory(size_t *size) const
{
void *result;
if (!(result = vips_image_write_to_memory(this->get_image(),
size)))
throw(VError());
return result;
}
VRegion
region() const;
VRegion
region(VipsRect *rect) const;
VRegion
region(int left, int top, int width, int height) const;
VImage
linear(double a, double b, VOption *options = nullptr) const
{
return this->linear(to_vector(a), to_vector(b),
options);
}
VImage
linear(std::vector<double> a, double b, VOption *options = nullptr) const
{
return this->linear(a, to_vector(b), options);
}
VImage
linear(double a, std::vector<double> b, VOption *options = nullptr) const
{
return this->linear(to_vector(a), b, options);
}
std::vector<VImage> bandsplit(VOption *options = nullptr) const;
VImage bandjoin(VImage other, VOption *options = nullptr) const;
VImage
bandjoin(double other, VOption *options = nullptr) const
{
return bandjoin(to_vector(other), options);
}
VImage
bandjoin(std::vector<double> other, VOption *options = nullptr) const
{
return bandjoin_const(other, options);
}
VImage composite(VImage other, VipsBlendMode mode,
VOption *options = nullptr) const;
std::complex<double> minpos(VOption *options = nullptr) const;
std::complex<double> maxpos(VOption *options = nullptr) const;
VImage
fliphor(VOption *options = nullptr) const
{
return flip(VIPS_DIRECTION_HORIZONTAL, options);
}
VImage
flipver(VOption *options = nullptr) const
{
return flip(VIPS_DIRECTION_VERTICAL, options);
}
VImage
rot90(VOption *options = nullptr) const
{
return rot(VIPS_ANGLE_D90, options);
}
VImage
rot180(VOption *options = nullptr) const
{
return rot(VIPS_ANGLE_D180, options);
}
VImage
rot270(VOption *options = nullptr) const
{
return rot(VIPS_ANGLE_D270, options);
}
VImage
dilate(VImage mask, VOption *options = nullptr) const
{
return morph(mask, VIPS_OPERATION_MORPHOLOGY_DILATE,
options);
}
VImage
erode(VImage mask, VOption *options = nullptr) const
{
return morph(mask, VIPS_OPERATION_MORPHOLOGY_ERODE,
options);
}
VImage
median(int size = 3, VOption *options = nullptr) const
{
return rank(size, size, (size * size) / 2, options);
}
VImage
floor(VOption *options = nullptr) const
{
return round(VIPS_OPERATION_ROUND_FLOOR, options);
}
VImage
ceil(VOption *options = nullptr) const
{
return round(VIPS_OPERATION_ROUND_CEIL, options);
}
VImage
rint(VOption *options = nullptr) const
{
return round(VIPS_OPERATION_ROUND_RINT, options);
}
VImage
bandand(VOption *options = nullptr) const
{
return bandbool(VIPS_OPERATION_BOOLEAN_AND, options);
}
VImage
bandor(VOption *options = nullptr) const
{
return bandbool(VIPS_OPERATION_BOOLEAN_OR, options);
}
VImage
bandeor(VOption *options = nullptr) const
{
return bandbool(VIPS_OPERATION_BOOLEAN_EOR, options);
}
VImage
real(VOption *options = nullptr) const
{
return complexget(VIPS_OPERATION_COMPLEXGET_REAL, options);
}
VImage
imag(VOption *options = nullptr) const
{
return complexget(VIPS_OPERATION_COMPLEXGET_IMAG, options);
}
VImage
polar(VOption *options = nullptr) const
{
return complex(VIPS_OPERATION_COMPLEX_POLAR, options);
}
VImage
rect(VOption *options = nullptr) const
{
return complex(VIPS_OPERATION_COMPLEX_RECT, options);
}
VImage
conj(VOption *options = nullptr) const
{
return complex(VIPS_OPERATION_COMPLEX_CONJ, options);
}
VImage
sin(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_SIN, options);
}
VImage
cos(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_COS, options);
}
VImage
tan(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_TAN, options);
}
VImage
asin(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_ASIN, options);
}
VImage
acos(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_ACOS, options);
}
VImage
atan(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_ATAN, options);
}
VImage
sinh(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_SINH, options);
}
VImage
cosh(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_COSH, options);
}
VImage
tanh(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_TANH, options);
}
VImage
asinh(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_ASINH, options);
}
VImage
acosh(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_ACOSH, options);
}
VImage
atanh(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_ATANH, options);
}
VImage
log(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_LOG, options);
}
VImage
log10(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_LOG10, options);
}
VImage
exp(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_EXP, options);
}
VImage
exp10(VOption *options = nullptr) const
{
return math(VIPS_OPERATION_MATH_EXP10, options);
}
VImage
pow(VImage other, VOption *options = nullptr) const
{
return math2(other, VIPS_OPERATION_MATH2_POW, options);
}
VImage
pow(double other, VOption *options = nullptr) const
{
return math2_const(VIPS_OPERATION_MATH2_POW,
to_vector(other), options);
}
VImage
pow(std::vector<double> other, VOption *options = nullptr) const
{
return math2_const(VIPS_OPERATION_MATH2_POW,
other, options);
}
VImage
wop(VImage other, VOption *options = nullptr) const
{
return math2(other, VIPS_OPERATION_MATH2_WOP, options);
}
VImage
wop(double other, VOption *options = nullptr) const
{
return math2_const(VIPS_OPERATION_MATH2_WOP,
to_vector(other), options);
}
VImage
wop(std::vector<double> other, VOption *options = nullptr) const
{
return math2_const(VIPS_OPERATION_MATH2_WOP,
other, options);
}
VImage
atan2(VImage other, VOption *options = nullptr) const
{
return math2(other, VIPS_OPERATION_MATH2_ATAN2, options);
}
VImage
atan2(double other, VOption *options = nullptr) const
{
return math2_const(VIPS_OPERATION_MATH2_ATAN2,
to_vector(other), options);
}
VImage
atan2(std::vector<double> other, VOption *options = nullptr) const
{
return math2_const(VIPS_OPERATION_MATH2_ATAN2,
other, options);
}
VImage
ifthenelse(std::vector<double> th, VImage el,
VOption *options = nullptr) const
{
return ifthenelse(el.new_from_image(th), el, options);
}
VImage
ifthenelse(VImage th, std::vector<double> el,
VOption *options = nullptr) const
{
return ifthenelse(th, th.new_from_image(el), options);
}
VImage
ifthenelse(std::vector<double> th, std::vector<double> el,
VOption *options = nullptr) const
{
return ifthenelse(new_from_image(th), new_from_image(el),
options);
}
VImage
ifthenelse(double th, VImage el, VOption *options = nullptr) const
{
return ifthenelse(to_vector(th), el, options);
}
VImage
ifthenelse(VImage th, double el, VOption *options = nullptr) const
{
return ifthenelse(th, to_vector(el), options);
}
VImage
ifthenelse(double th, double el, VOption *options = nullptr) const
{
return ifthenelse(to_vector(th), to_vector(el),
options);
}
void
draw_circle(double ink, int cx, int cy, int radius, VOption *options = nullptr) const
{
return draw_circle(to_vector(ink), cx, cy, radius, options);
}
void
draw_line(double ink, int x1, int y1, int x2, int y2, VOption *options = nullptr) const
{
return draw_line(to_vector(ink), x1, y1, x2, y2, options);
}
void
draw_rect(double ink, int left, int top, int width, int height, VOption *options = nullptr) const
{
return draw_rect(to_vector(ink), left, top, width, height, options);
}
void
draw_point(double ink, int x, int y, VOption *options = nullptr) const
{
return draw_rect(ink, x, y, 1, 1, options);
}
void
draw_point(std::vector<double> ink, int x, int y, VOption *options = nullptr) const
{
return draw_rect(ink, x, y, 1, 1, options);
}
void
draw_flood(double ink, int x, int y, VOption *options = nullptr) const
{
return draw_flood(to_vector(ink), x, y, options);
}
void
draw_mask(double ink, VImage mask, int x, int y, VOption *options = nullptr) const
{
return draw_mask(to_vector(ink), mask, x, y, options);
}
static VImage thumbnail_buffer(void *buf, size_t len, int width, VOption *options = nullptr);
// Operator overloads
VImage operator[](int index) const;
std::vector<double> operator()(int x, int y) const;
friend VIPS_CPLUSPLUS_API VImage
operator+(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator+(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator+(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator+(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator+(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator+=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator+=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator+=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator-(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator-(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator-(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator-(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator-(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator-=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator-=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator-=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator-(const VImage a);
friend VIPS_CPLUSPLUS_API VImage
operator*(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator*(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator*(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator*(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator*(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator*=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator*=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator*=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator/(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator/(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator/(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator/(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator/(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator/=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator/=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator/=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator%(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator%(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator%(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator%=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator%=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator%=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator<(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator<(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator<=(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<=(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<=(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator<=(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<=(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator>(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator>(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator>=(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>=(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>=(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator>=(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>=(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator==(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator==(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator==(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator==(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator==(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator!=(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator!=(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator!=(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator!=(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator!=(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator&(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator&(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator&(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator&(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator&(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator&=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator&=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator&=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator|(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator|(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator|(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator|(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator|(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator|=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator|=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator|=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator^(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator^(const double a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator^(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator^(const std::vector<double> a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator^(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator^=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator^=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator^=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator<<(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator<<(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator<<(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator<<=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator<<=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator<<=(VImage &a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage
operator>>(const VImage a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage
operator>>(const VImage a, const double b);
friend VIPS_CPLUSPLUS_API VImage
operator>>(const VImage a, const std::vector<double> b);
friend VIPS_CPLUSPLUS_API VImage &
operator>>=(VImage &a, const VImage b);
friend VIPS_CPLUSPLUS_API VImage &
operator>>=(VImage &a, const double b);
friend VIPS_CPLUSPLUS_API VImage &
operator>>=(VImage &a, const std::vector<double> b);
// Compat operations
static VImage
new_from_memory_steal(void *data, size_t size,
int width, int height, int bands, VipsBandFormat format);
[[deprecated("Use 'rawsave_target' instead")]]
void rawsave_fd(int fd, VOption *options = nullptr) const;
/* Automatically generated members.
*
* Rebuild with:
*
* meson compile -Cbuild vips-operators-header
*
* Then delete from here to the end of the class and paste in
* vips-operators.h. We could just #include "vips-operators.h", but
* that confuses doxygen.
*/
// headers for vips operations
// this file is generated automatically, do not edit!
// clang-format off
VImage CMC2LCh(VOption *options = nullptr) const;
VImage CMYK2XYZ(VOption *options = nullptr) const;
VImage HSV2sRGB(VOption *options = nullptr) const;
VImage LCh2CMC(VOption *options = nullptr) const;
VImage LCh2Lab(VOption *options = nullptr) const;
VImage Lab2LCh(VOption *options = nullptr) const;
VImage Lab2LabQ(VOption *options = nullptr) const;
VImage Lab2LabS(VOption *options = nullptr) const;
VImage Lab2XYZ(VOption *options = nullptr) const;
VImage LabQ2Lab(VOption *options = nullptr) const;
VImage LabQ2LabS(VOption *options = nullptr) const;
VImage LabQ2sRGB(VOption *options = nullptr) const;
VImage LabS2Lab(VOption *options = nullptr) const;
VImage LabS2LabQ(VOption *options = nullptr) const;
VImage Oklab2Oklch(VOption *options = nullptr) const;
VImage Oklab2XYZ(VOption *options = nullptr) const;
VImage Oklch2Oklab(VOption *options = nullptr) const;
VImage XYZ2CMYK(VOption *options = nullptr) const;
VImage XYZ2Lab(VOption *options = nullptr) const;
VImage XYZ2Oklab(VOption *options = nullptr) const;
VImage XYZ2Yxy(VOption *options = nullptr) const;
VImage XYZ2scRGB(VOption *options = nullptr) const;
VImage Yxy2XYZ(VOption *options = nullptr) const;
VImage abs(VOption *options = nullptr) const;
VImage add(VImage right, VOption *options = nullptr) const;
VImage addalpha(VOption *options = nullptr) const;
VImage affine(std::vector<double> matrix, VOption *options = nullptr) const;
static VImage analyzeload(const char *filename, VOption *options = nullptr);
static VImage arrayjoin(std::vector<VImage> in, VOption *options = nullptr);
VImage autorot(VOption *options = nullptr) const;
double avg(VOption *options = nullptr) const;
VImage bandbool(VipsOperationBoolean boolean, VOption *options = nullptr) const;
VImage bandfold(VOption *options = nullptr) const;
static VImage bandjoin(std::vector<VImage> in, VOption *options = nullptr);
VImage bandjoin_const(std::vector<double> c, VOption *options = nullptr) const;
VImage bandmean(VOption *options = nullptr) const;
static VImage bandrank(std::vector<VImage> in, VOption *options = nullptr);
VImage bandunfold(VOption *options = nullptr) const;
static VImage black(int width, int height, VOption *options = nullptr);
VImage boolean(VImage right, VipsOperationBoolean boolean, VOption *options = nullptr) const;
VImage boolean_const(VipsOperationBoolean boolean, std::vector<double> c, VOption *options = nullptr) const;
VImage buildlut(VOption *options = nullptr) const;
VImage byteswap(VOption *options = nullptr) const;
G_DEPRECATED
VImage cache(VOption *options = nullptr) const;
VImage canny(VOption *options = nullptr) const;
VImage case_image(std::vector<VImage> cases, VOption *options = nullptr) const;
VImage cast(VipsBandFormat format, VOption *options = nullptr) const;
VImage clamp(VOption *options = nullptr) const;
VImage colourspace(VipsInterpretation space, VOption *options = nullptr) const;
VImage compass(VImage mask, VOption *options = nullptr) const;
VImage complex(VipsOperationComplex cmplx, VOption *options = nullptr) const;
VImage complex2(VImage right, VipsOperationComplex2 cmplx, VOption *options = nullptr) const;
VImage complexform(VImage right, VOption *options = nullptr) const;
VImage complexget(VipsOperationComplexget get, VOption *options = nullptr) const;
static VImage composite(std::vector<VImage> in, std::vector<int> mode, VOption *options = nullptr);
VImage composite2(VImage overlay, VipsBlendMode mode, VOption *options = nullptr) const;
VImage conv(VImage mask, VOption *options = nullptr) const;
VImage conva(VImage mask, VOption *options = nullptr) const;
VImage convasep(VImage mask, VOption *options = nullptr) const;
VImage convf(VImage mask, VOption *options = nullptr) const;
VImage convi(VImage mask, VOption *options = nullptr) const;
VImage convsep(VImage mask, VOption *options = nullptr) const;
VImage copy(VOption *options = nullptr) const;
double countlines(VipsDirection direction, VOption *options = nullptr) const;
VImage crop(int left, int top, int width, int height, VOption *options = nullptr) const;
static VImage csvload(const char *filename, VOption *options = nullptr);
static VImage csvload_source(VSource source, VOption *options = nullptr);
void csvsave(const char *filename, VOption *options = nullptr) const;
void csvsave_target(VTarget target, VOption *options = nullptr) const;
VImage dE00(VImage right, VOption *options = nullptr) const;
VImage dE76(VImage right, VOption *options = nullptr) const;
VImage dECMC(VImage right, VOption *options = nullptr) const;
static VImage dcrawload(const char *filename, VOption *options = nullptr);
static VImage dcrawload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage dcrawload_source(VSource source, VOption *options = nullptr);
double deviate(VOption *options = nullptr) const;
VImage divide(VImage right, VOption *options = nullptr) const;
void draw_circle(std::vector<double> ink, int cx, int cy, int radius, VOption *options = nullptr) const;
void draw_flood(std::vector<double> ink, int x, int y, VOption *options = nullptr) const;
void draw_image(VImage sub, int x, int y, VOption *options = nullptr) const;
void draw_line(std::vector<double> ink, int x1, int y1, int x2, int y2, VOption *options = nullptr) const;
void draw_mask(std::vector<double> ink, VImage mask, int x, int y, VOption *options = nullptr) const;
void draw_rect(std::vector<double> ink, int left, int top, int width, int height, VOption *options = nullptr) const;
void draw_smudge(int left, int top, int width, int height, VOption *options = nullptr) const;
void dzsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *dzsave_buffer(VOption *options = nullptr) const;
void dzsave_target(VTarget target, VOption *options = nullptr) const;
VImage embed(int x, int y, int width, int height, VOption *options = nullptr) const;
VImage extract_area(int left, int top, int width, int height, VOption *options = nullptr) const;
VImage extract_band(int band, VOption *options = nullptr) const;
static VImage eye(int width, int height, VOption *options = nullptr);
VImage falsecolour(VOption *options = nullptr) const;
VImage fastcor(VImage ref, VOption *options = nullptr) const;
VImage fill_nearest(VOption *options = nullptr) const;
int find_trim(int *top, int *width, int *height, VOption *options = nullptr) const;
static VImage fitsload(const char *filename, VOption *options = nullptr);
static VImage fitsload_source(VSource source, VOption *options = nullptr);
void fitssave(const char *filename, VOption *options = nullptr) const;
VImage flatten(VOption *options = nullptr) const;
VImage flip(VipsDirection direction, VOption *options = nullptr) const;
VImage float2rad(VOption *options = nullptr) const;
static VImage fractsurf(int width, int height, double fractal_dimension, VOption *options = nullptr);
VImage freqmult(VImage mask, VOption *options = nullptr) const;
VImage fwfft(VOption *options = nullptr) const;
VImage gamma(VOption *options = nullptr) const;
VImage gaussblur(double sigma, VOption *options = nullptr) const;
static VImage gaussmat(double sigma, double min_ampl, VOption *options = nullptr);
static VImage gaussnoise(int width, int height, VOption *options = nullptr);
std::vector<double> getpoint(int x, int y, VOption *options = nullptr) const;
static VImage gifload(const char *filename, VOption *options = nullptr);
static VImage gifload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage gifload_source(VSource source, VOption *options = nullptr);
void gifsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *gifsave_buffer(VOption *options = nullptr) const;
void gifsave_target(VTarget target, VOption *options = nullptr) const;
VImage globalbalance(VOption *options = nullptr) const;
VImage gravity(VipsCompassDirection direction, int width, int height, VOption *options = nullptr) const;
static VImage grey(int width, int height, VOption *options = nullptr);
VImage grid(int tile_height, int across, int down, VOption *options = nullptr) const;
static VImage heifload(const char *filename, VOption *options = nullptr);
static VImage heifload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage heifload_source(VSource source, VOption *options = nullptr);
void heifsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *heifsave_buffer(VOption *options = nullptr) const;
void heifsave_target(VTarget target, VOption *options = nullptr) const;
VImage hist_cum(VOption *options = nullptr) const;
double hist_entropy(VOption *options = nullptr) const;
VImage hist_equal(VOption *options = nullptr) const;
VImage hist_find(VOption *options = nullptr) const;
VImage hist_find_indexed(VImage index, VOption *options = nullptr) const;
VImage hist_find_ndim(VOption *options = nullptr) const;
bool hist_ismonotonic(VOption *options = nullptr) const;
VImage hist_local(int width, int height, VOption *options = nullptr) const;
VImage hist_match(VImage ref, VOption *options = nullptr) const;
VImage hist_norm(VOption *options = nullptr) const;
VImage hist_plot(VOption *options = nullptr) const;
VImage hough_circle(VOption *options = nullptr) const;
VImage hough_line(VOption *options = nullptr) const;
VImage icc_export(VOption *options = nullptr) const;
VImage icc_import(VOption *options = nullptr) const;
VImage icc_transform(const char *output_profile, VOption *options = nullptr) const;
static VImage identity(VOption *options = nullptr);
VImage ifthenelse(VImage in1, VImage in2, VOption *options = nullptr) const;
VImage insert(VImage sub, int x, int y, VOption *options = nullptr) const;
VImage invert(VOption *options = nullptr) const;
VImage invertlut(VOption *options = nullptr) const;
VImage invfft(VOption *options = nullptr) const;
VImage join(VImage in2, VipsDirection direction, VOption *options = nullptr) const;
static VImage jp2kload(const char *filename, VOption *options = nullptr);
static VImage jp2kload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage jp2kload_source(VSource source, VOption *options = nullptr);
void jp2ksave(const char *filename, VOption *options = nullptr) const;
VipsBlob *jp2ksave_buffer(VOption *options = nullptr) const;
void jp2ksave_target(VTarget target, VOption *options = nullptr) const;
static VImage jpegload(const char *filename, VOption *options = nullptr);
static VImage jpegload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage jpegload_source(VSource source, VOption *options = nullptr);
void jpegsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *jpegsave_buffer(VOption *options = nullptr) const;
void jpegsave_mime(VOption *options = nullptr) const;
void jpegsave_target(VTarget target, VOption *options = nullptr) const;
static VImage jxlload(const char *filename, VOption *options = nullptr);
static VImage jxlload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage jxlload_source(VSource source, VOption *options = nullptr);
void jxlsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *jxlsave_buffer(VOption *options = nullptr) const;
void jxlsave_target(VTarget target, VOption *options = nullptr) const;
VImage labelregions(VOption *options = nullptr) const;
VImage linear(std::vector<double> a, std::vector<double> b, VOption *options = nullptr) const;
VImage linecache(VOption *options = nullptr) const;
static VImage logmat(double sigma, double min_ampl, VOption *options = nullptr);
static VImage magickload(const char *filename, VOption *options = nullptr);
static VImage magickload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage magickload_source(VSource source, VOption *options = nullptr);
void magicksave(const char *filename, VOption *options = nullptr) const;
VipsBlob *magicksave_buffer(VOption *options = nullptr) const;
VImage mapim(VImage index, VOption *options = nullptr) const;
VImage maplut(VImage lut, VOption *options = nullptr) const;
static VImage mask_butterworth(int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, VOption *options = nullptr);
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 = nullptr);
static VImage mask_butterworth_ring(int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options = nullptr);
static VImage mask_fractal(int width, int height, double fractal_dimension, VOption *options = nullptr);
static VImage mask_gaussian(int width, int height, double frequency_cutoff, double amplitude_cutoff, VOption *options = nullptr);
static VImage mask_gaussian_band(int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options = nullptr);
static VImage mask_gaussian_ring(int width, int height, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options = nullptr);
static VImage mask_ideal(int width, int height, double frequency_cutoff, VOption *options = nullptr);
static VImage mask_ideal_band(int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, VOption *options = nullptr);
static VImage mask_ideal_ring(int width, int height, double frequency_cutoff, double ringwidth, VOption *options = nullptr);
VImage match(VImage sec, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options = nullptr) const;
VImage math(VipsOperationMath math, VOption *options = nullptr) const;
VImage math2(VImage right, VipsOperationMath2 math2, VOption *options = nullptr) const;
VImage math2_const(VipsOperationMath2 math2, std::vector<double> c, VOption *options = nullptr) const;
static VImage matload(const char *filename, VOption *options = nullptr);
VImage matrixinvert(VOption *options = nullptr) const;
static VImage matrixload(const char *filename, VOption *options = nullptr);
static VImage matrixload_source(VSource source, VOption *options = nullptr);
VImage matrixmultiply(VImage right, VOption *options = nullptr) const;
void matrixprint(VOption *options = nullptr) const;
void matrixsave(const char *filename, VOption *options = nullptr) const;
void matrixsave_target(VTarget target, VOption *options = nullptr) const;
double max(VOption *options = nullptr) const;
VImage maxpair(VImage right, VOption *options = nullptr) const;
VImage measure(int h, int v, VOption *options = nullptr) const;
VImage merge(VImage sec, VipsDirection direction, int dx, int dy, VOption *options = nullptr) const;
double min(VOption *options = nullptr) const;
VImage minpair(VImage right, VOption *options = nullptr) const;
VImage morph(VImage mask, VipsOperationMorphology morph, VOption *options = nullptr) const;
VImage mosaic(VImage sec, VipsDirection direction, int xref, int yref, int xsec, int ysec, VOption *options = nullptr) 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 = nullptr) const;
VImage msb(VOption *options = nullptr) const;
VImage multiply(VImage right, VOption *options = nullptr) const;
static VImage niftiload(const char *filename, VOption *options = nullptr);
static VImage niftiload_source(VSource source, VOption *options = nullptr);
void niftisave(const char *filename, VOption *options = nullptr) const;
static VImage openexrload(const char *filename, VOption *options = nullptr);
static VImage openslideload(const char *filename, VOption *options = nullptr);
static VImage openslideload_source(VSource source, VOption *options = nullptr);
static VImage pdfload(const char *filename, VOption *options = nullptr);
static VImage pdfload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage pdfload_source(VSource source, VOption *options = nullptr);
int percent(double percent, VOption *options = nullptr) const;
static VImage perlin(int width, int height, VOption *options = nullptr);
VImage phasecor(VImage in2, VOption *options = nullptr) const;
static VImage pngload(const char *filename, VOption *options = nullptr);
static VImage pngload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage pngload_source(VSource source, VOption *options = nullptr);
void pngsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *pngsave_buffer(VOption *options = nullptr) const;
void pngsave_target(VTarget target, VOption *options = nullptr) const;
static VImage ppmload(const char *filename, VOption *options = nullptr);
static VImage ppmload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage ppmload_source(VSource source, VOption *options = nullptr);
void ppmsave(const char *filename, VOption *options = nullptr) const;
void ppmsave_target(VTarget target, VOption *options = nullptr) const;
VImage premultiply(VOption *options = nullptr) const;
VImage prewitt(VOption *options = nullptr) const;
VImage profile(VImage *rows, VOption *options = nullptr) const;
static VipsBlob *profile_load(const char *name, VOption *options = nullptr);
VImage project(VImage *rows, VOption *options = nullptr) const;
VImage quadratic(VImage coeff, VOption *options = nullptr) const;
VImage rad2float(VOption *options = nullptr) const;
static VImage radload(const char *filename, VOption *options = nullptr);
static VImage radload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage radload_source(VSource source, VOption *options = nullptr);
void radsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *radsave_buffer(VOption *options = nullptr) const;
void radsave_target(VTarget target, VOption *options = nullptr) const;
VImage rank(int width, int height, int index, VOption *options = nullptr) const;
static VImage rawload(const char *filename, int width, int height, int bands, VOption *options = nullptr);
void rawsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *rawsave_buffer(VOption *options = nullptr) const;
void rawsave_target(VTarget target, VOption *options = nullptr) const;
VImage recomb(VImage m, VOption *options = nullptr) const;
VImage reduce(double hshrink, double vshrink, VOption *options = nullptr) const;
VImage reduceh(double hshrink, VOption *options = nullptr) const;
VImage reducev(double vshrink, VOption *options = nullptr) const;
VImage relational(VImage right, VipsOperationRelational relational, VOption *options = nullptr) const;
VImage relational_const(VipsOperationRelational relational, std::vector<double> c, VOption *options = nullptr) const;
VImage remainder(VImage right, VOption *options = nullptr) const;
VImage remainder_const(std::vector<double> c, VOption *options = nullptr) const;
VImage remosaic(const char *old_str, const char *new_str, VOption *options = nullptr) const;
VImage replicate(int across, int down, VOption *options = nullptr) const;
VImage resize(double scale, VOption *options = nullptr) const;
VImage rot(VipsAngle angle, VOption *options = nullptr) const;
VImage rot45(VOption *options = nullptr) const;
VImage rotate(double angle, VOption *options = nullptr) const;
VImage round(VipsOperationRound round, VOption *options = nullptr) const;
VImage sRGB2HSV(VOption *options = nullptr) const;
VImage sRGB2scRGB(VOption *options = nullptr) const;
VImage scRGB2BW(VOption *options = nullptr) const;
VImage scRGB2XYZ(VOption *options = nullptr) const;
VImage scRGB2sRGB(VOption *options = nullptr) const;
VImage scale(VOption *options = nullptr) const;
VImage scharr(VOption *options = nullptr) const;
static VImage sdf(int width, int height, VipsSdfShape shape, VOption *options = nullptr);
VImage sequential(VOption *options = nullptr) const;
VImage sharpen(VOption *options = nullptr) const;
VImage shrink(double hshrink, double vshrink, VOption *options = nullptr) const;
VImage shrinkh(int hshrink, VOption *options = nullptr) const;
VImage shrinkv(int vshrink, VOption *options = nullptr) const;
VImage sign(VOption *options = nullptr) const;
VImage similarity(VOption *options = nullptr) const;
static VImage sines(int width, int height, VOption *options = nullptr);
VImage smartcrop(int width, int height, VOption *options = nullptr) const;
VImage sobel(VOption *options = nullptr) const;
VImage spcor(VImage ref, VOption *options = nullptr) const;
VImage spectrum(VOption *options = nullptr) const;
VImage stats(VOption *options = nullptr) const;
VImage stdif(int width, int height, VOption *options = nullptr) const;
VImage subsample(int xfac, int yfac, VOption *options = nullptr) const;
VImage subtract(VImage right, VOption *options = nullptr) const;
static VImage sum(std::vector<VImage> in, VOption *options = nullptr);
static VImage svgload(const char *filename, VOption *options = nullptr);
static VImage svgload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage svgload_source(VSource source, VOption *options = nullptr);
static VImage switch_image(std::vector<VImage> tests, VOption *options = nullptr);
static void system(const char *cmd_format, VOption *options = nullptr);
static VImage text(const char *text, VOption *options = nullptr);
static VImage thumbnail(const char *filename, int width, VOption *options = nullptr);
static VImage thumbnail_buffer(VipsBlob *buffer, int width, VOption *options = nullptr);
VImage thumbnail_image(int width, VOption *options = nullptr) const;
static VImage thumbnail_source(VSource source, int width, VOption *options = nullptr);
static VImage tiffload(const char *filename, VOption *options = nullptr);
static VImage tiffload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage tiffload_source(VSource source, VOption *options = nullptr);
void tiffsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *tiffsave_buffer(VOption *options = nullptr) const;
void tiffsave_target(VTarget target, VOption *options = nullptr) const;
VImage tilecache(VOption *options = nullptr) const;
static VImage tonelut(VOption *options = nullptr);
VImage transpose3d(VOption *options = nullptr) const;
VImage uhdr2scRGB(VOption *options = nullptr) const;
static VImage uhdrload(const char *filename, VOption *options = nullptr);
static VImage uhdrload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage uhdrload_source(VSource source, VOption *options = nullptr);
void uhdrsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *uhdrsave_buffer(VOption *options = nullptr) const;
void uhdrsave_target(VTarget target, VOption *options = nullptr) const;
VImage unpremultiply(VOption *options = nullptr) const;
static VImage vipsload(const char *filename, VOption *options = nullptr);
static VImage vipsload_source(VSource source, VOption *options = nullptr);
void vipssave(const char *filename, VOption *options = nullptr) const;
void vipssave_target(VTarget target, VOption *options = nullptr) const;
static VImage webpload(const char *filename, VOption *options = nullptr);
static VImage webpload_buffer(VipsBlob *buffer, VOption *options = nullptr);
static VImage webpload_source(VSource source, VOption *options = nullptr);
void webpsave(const char *filename, VOption *options = nullptr) const;
VipsBlob *webpsave_buffer(VOption *options = nullptr) const;
void webpsave_mime(VOption *options = nullptr) const;
void webpsave_target(VTarget target, VOption *options = nullptr) const;
static VImage worley(int width, int height, VOption *options = nullptr);
VImage wrap(VOption *options = nullptr) const;
static VImage xyz(int width, int height, VOption *options = nullptr);
static VImage zone(int width, int height, VOption *options = nullptr);
VImage zoom(int xfac, int yfac, VOption *options = nullptr) const;
};
VIPS_NAMESPACE_END
#endif /*VIPS_VIMAGE_H*/
VError
Definition VError8.h:45
VImage
Definition VImage8.h:398
VImage::LabQ2sRGB
VImage LabQ2sRGB(VOption *options=nullptr) const
Definition vips-operators.cpp:138
VImage::hist_norm
VImage hist_norm(VOption *options=nullptr) const
Definition vips-operators.cpp:1641
VImage::rint
VImage rint(VOption *options=nullptr) const
Definition VImage8.h:1311
VImage::fastcor
VImage fastcor(VImage ref, VOption *options=nullptr) const
Definition vips-operators.cpp:1133
VImage::scRGB2sRGB
VImage scRGB2sRGB(VOption *options=nullptr) const
Definition vips-operators.cpp:3326
VImage::niftisave
void niftisave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:2635
VImage::set
void set(const char *field, double *value, int n)
Definition VImage8.h:630
VImage::flatten
VImage flatten(VOption *options=nullptr) const
Definition vips-operators.cpp:1205
VImage::convi
VImage convi(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:751
VImage::uhdrload_buffer
static VImage uhdrload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:3835
VImage::xres
double xres() const
Definition VImage8.h:500
VImage::bandrank
static VImage bandrank(std::vector< VImage > in, VOption *options=nullptr)
Definition vips-operators.cpp:442
VImage::sign
VImage sign(VOption *options=nullptr) const
Definition vips-operators.cpp:3440
VImage::stdif
VImage stdif(int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:3540
VImage::svgload_source
static VImage svgload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:3617
VImage::switch_image
static VImage switch_image(std::vector< VImage > tests, VOption *options=nullptr)
Definition vips-operators.cpp:3629
VImage::conv
VImage conv(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:699
VImage::mask_butterworth_ring
static VImage mask_butterworth_ring(int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options=nullptr)
Definition vips-operators.cpp:2182
VImage::atan2
VImage atan2(VImage other, VOption *options=nullptr) const
Definition VImage8.h:1603
VImage::gifload_source
static VImage gifload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:1370
VImage::get_int
int get_int(const char *field) const
Definition VImage8.h:707
VImage::radload
static VImage radload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2957
VImage::tiffsave_buffer
VipsBlob * tiffsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:3756
VImage::zone
static VImage zone(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:4048
VImage::get_array_double
std::vector< double > get_array_double(const char *field) const
Definition VImage8.h:771
VImage::set
void set(const char *field, int *value, int n)
Definition VImage8.h:607
VImage::new_matrixv
static VImage new_matrixv(int width, int height,...)
Definition VImage.cpp:657
VImage::set
void set(const char *field, std::vector< int > value)
Definition VImage8.h:618
VImage::jp2kload_source
static VImage jp2kload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:1840
VImage::draw_point
void draw_point(std::vector< double > ink, int x, int y, VOption *options=nullptr) const
Definition VImage8.h:1766
VImage::pngsave_buffer
VipsBlob * pngsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:2798
VImage::deviate
double deviate(VOption *options=nullptr) const
Definition vips-operators.cpp:933
VImage::fill_nearest
VImage fill_nearest(VOption *options=nullptr) const
Definition vips-operators.cpp:1146
VImage::filename
const char * filename() const
Definition VImage8.h:546
VImage::rawsave_target
void rawsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:3071
VImage::wop
VImage wop(VImage other, VOption *options=nullptr) const
Definition VImage8.h:1574
VImage::rawsave_fd
void rawsave_fd(int fd, VOption *options=nullptr) const
Definition VImage.cpp:1563
VImage::matrixmultiply
VImage matrixmultiply(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:2416
VImage::msb
VImage msb(VOption *options=nullptr) const
Definition vips-operators.cpp:2586
VImage::hough_circle
VImage hough_circle(VOption *options=nullptr) const
Definition vips-operators.cpp:1665
VImage::mask_ideal_ring
static VImage mask_ideal_ring(int width, int height, double frequency_cutoff, double ringwidth, VOption *options=nullptr)
Definition vips-operators.cpp:2291
VImage::mask_ideal_band
static VImage mask_ideal_band(int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, VOption *options=nullptr)
Definition vips-operators.cpp:2275
VImage::subsample
VImage subsample(int xfac, int yfac, VOption *options=nullptr) const
Definition vips-operators.cpp:3554
VImage::matrixinvert
VImage matrixinvert(VOption *options=nullptr) const
Definition vips-operators.cpp:2380
VImage::divide
VImage divide(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:945
VImage::gaussblur
VImage gaussblur(double sigma, VOption *options=nullptr) const
Definition vips-operators.cpp:1293
VImage::extract_area
VImage extract_area(int left, int top, int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:1079
VImage::replicate
VImage replicate(int across, int down, VOption *options=nullptr) const
Definition vips-operators.cpp:3200
VImage::exp10
VImage exp10(VOption *options=nullptr) const
Definition VImage8.h:1536
VImage::exp
VImage exp(VOption *options=nullptr) const
Definition VImage8.h:1527
VImage::webpsave_buffer
VipsBlob * webpsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:3983
VImage::mask_gaussian_band
static VImage mask_gaussian_band(int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options=nullptr)
Definition vips-operators.cpp:2228
VImage::copy
VImage copy(VOption *options=nullptr) const
Definition vips-operators.cpp:777
VImage::fitsload
static VImage fitsload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:1173
VImage::cache
G_DEPRECATED VImage cache(VOption *options=nullptr) const
Definition vips-operators.cpp:531
VImage::write_to_memory
void * write_to_memory(size_t *size) const
Definition VImage8.h:1102
VImage::ppmload_buffer
static VImage ppmload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:2830
VImage::webpload_buffer
static VImage webpload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:3951
VImage::vipsload_source
static VImage vipsload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:3911
VImage::heifload_buffer
static VImage heifload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:1477
VImage::fitssave
void fitssave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1197
VImage::morph
VImage morph(VImage mask, VipsOperationMorphology morph, VOption *options=nullptr) const
Definition vips-operators.cpp:2532
VImage::matrixload_source
static VImage matrixload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2404
VImage::gifload_buffer
static VImage gifload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:1358
VImage::gifsave_target
void gifsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:1402
VImage::Yxy2XYZ
VImage Yxy2XYZ(VOption *options=nullptr) const
Definition vips-operators.cpp:270
VImage::csvload
static VImage csvload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:818
VImage::uhdrload_source
static VImage uhdrload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:3847
VImage::pngload
static VImage pngload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2754
VImage::rot45
VImage rot45(VOption *options=nullptr) const
Definition vips-operators.cpp:3240
VImage::new_memory
static VImage new_memory()
Definition VImage8.h:874
VImage::jpegload_buffer
static VImage jpegload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:1892
VImage::jp2ksave_target
void jp2ksave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:1872
VImage::has_alpha
bool has_alpha() const
Definition VImage8.h:536
VImage::new_from_file
static VImage new_from_file(const char *name, VOption *options=nullptr)
Definition VImage.cpp:556
VImage::bandjoin
VImage bandjoin(double other, VOption *options=nullptr) const
Definition VImage8.h:1180
VImage::draw_smudge
void draw_smudge(int left, int top, int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:1024
VImage::set
void set(const char *field, int value)
Definition VImage8.h:596
VImage::conva
VImage conva(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:712
VImage::uhdrsave_target
void uhdrsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:3879
VImage::gamma
VImage gamma(VOption *options=nullptr) const
Definition vips-operators.cpp:1281
VImage::sin
VImage sin(VOption *options=nullptr) const
Definition VImage8.h:1401
VImage::csvsave_target
void csvsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:850
VImage::hist_match
VImage hist_match(VImage ref, VOption *options=nullptr) const
Definition vips-operators.cpp:1628
VImage::jpegload_source
static VImage jpegload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:1904
VImage::boolean
VImage boolean(VImage right, VipsOperationBoolean boolean, VOption *options=nullptr) const
Definition vips-operators.cpp:479
VImage::uhdrsave
void uhdrsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:3859
VImage::byteswap
VImage byteswap(VOption *options=nullptr) const
Definition vips-operators.cpp:519
VImage::merge
VImage merge(VImage sec, VipsDirection direction, int dx, int dy, VOption *options=nullptr) const
Definition vips-operators.cpp:2491
VImage::jp2kload
static VImage jp2kload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:1816
VImage::vipsload
static VImage vipsload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:3899
VImage::project
VImage project(VImage *rows, VOption *options=nullptr) const
Definition vips-operators.cpp:2919
VImage::recomb
VImage recomb(VImage m, VOption *options=nullptr) const
Definition vips-operators.cpp:3079
VImage::jxlload_source
static VImage jxlload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:1975
VImage::write
VImage write(VImage out) const
Definition VImage.cpp:674
VImage::tiffload_buffer
static VImage tiffload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:3724
VImage::rotate
VImage rotate(double angle, VOption *options=nullptr) const
Definition vips-operators.cpp:3252
VImage::LabS2Lab
VImage LabS2Lab(VOption *options=nullptr) const
Definition vips-operators.cpp:150
VImage::bandeor
VImage bandeor(VOption *options=nullptr) const
Definition VImage8.h:1347
VImage::bandjoin_const
VImage bandjoin_const(std::vector< double > c, VOption *options=nullptr) const
Definition vips-operators.cpp:417
VImage::sum
static VImage sum(std::vector< VImage > in, VOption *options=nullptr)
Definition vips-operators.cpp:3581
VImage::jxlsave_buffer
VipsBlob * jxlsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:1995
VImage::wrap
VImage wrap(VOption *options=nullptr) const
Definition vips-operators.cpp:4023
VImage::niftiload_source
static VImage niftiload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2623
VImage::affine
VImage affine(std::vector< double > matrix, VOption *options=nullptr) const
Definition vips-operators.cpp:319
VImage::dE76
VImage dE76(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:871
VImage::tiffload
static VImage tiffload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:3712
VImage::rot90
VImage rot90(VOption *options=nullptr) const
Definition VImage8.h:1233
VImage::radsave
void radsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:2993
VImage::jp2ksave
void jp2ksave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1852
VImage::smartcrop
VImage smartcrop(int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:3477
VImage::new_from_image
VImage new_from_image(double pixel) const
Definition VImage8.h:1032
VImage::gaussnoise
static VImage gaussnoise(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:1319
VImage::mask_ideal
static VImage mask_ideal(int width, int height, double frequency_cutoff, VOption *options=nullptr)
Definition vips-operators.cpp:2261
VImage::reduceh
VImage reduceh(double hshrink, VOption *options=nullptr) const
Definition vips-operators.cpp:3106
VImage::Oklab2XYZ
VImage Oklab2XYZ(VOption *options=nullptr) const
Definition vips-operators.cpp:186
VImage::case_image
VImage case_image(std::vector< VImage > cases, VOption *options=nullptr) const
Definition vips-operators.cpp:555
VImage::pdfload
static VImage pdfload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2679
VImage::fitsload_source
static VImage fitsload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:1185
VImage::remainder_const
VImage remainder_const(std::vector< double > c, VOption *options=nullptr) const
Definition vips-operators.cpp:3173
VImage::atanh
VImage atanh(VOption *options=nullptr) const
Definition VImage8.h:1500
VImage::median
VImage median(int size=3, VOption *options=nullptr) const
Definition VImage8.h:1284
VImage::get_image
VipsImage * get_image() const
Definition VImage8.h:426
VImage::csvsave
void csvsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:842
VImage::pdfload_buffer
static VImage pdfload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:2691
VImage::bandor
VImage bandor(VOption *options=nullptr) const
Definition VImage8.h:1335
VImage::convasep
VImage convasep(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:725
VImage::compass
VImage compass(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:606
VImage::svgload
static VImage svgload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:3593
VImage::magicksave
void magicksave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:2102
VImage::uhdr2scRGB
VImage uhdr2scRGB(VOption *options=nullptr) const
Definition vips-operators.cpp:3811
VImage::flipver
VImage flipver(VOption *options=nullptr) const
Definition VImage8.h:1224
VImage::hist_local
VImage hist_local(int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:1614
VImage::webpsave
void webpsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:3975
VImage::jpegload
static VImage jpegload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:1880
VImage::logmat
static VImage logmat(double sigma, double min_ampl, VOption *options=nullptr)
Definition vips-operators.cpp:2053
VImage::mask_butterworth
static VImage mask_butterworth(int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, VOption *options=nullptr)
Definition vips-operators.cpp:2148
VImage::minpos
std::complex< double > minpos(VOption *options=nullptr) const
Definition VImage.cpp:855
VImage::LabQ2Lab
VImage LabQ2Lab(VOption *options=nullptr) const
Definition vips-operators.cpp:114
VImage::maxpos
std::complex< double > maxpos(VOption *options=nullptr) const
Definition VImage.cpp:867
VImage::get_blob
const void * get_blob(const char *field, size_t *length) const
Definition VImage8.h:825
VImage::sobel
VImage sobel(VOption *options=nullptr) const
Definition vips-operators.cpp:3491
VImage::xyz
static VImage xyz(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:4035
VImage::coding
VipsCoding coding() const
Definition VImage8.h:471
VImage::remainder
VImage remainder(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:3160
VImage::magickload_buffer
static VImage magickload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:2078
VImage::dcrawload_source
static VImage dcrawload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:921
VImage::LCh2CMC
VImage LCh2CMC(VOption *options=nullptr) const
Definition vips-operators.cpp:42
VImage::spcor
VImage spcor(VImage ref, VOption *options=nullptr) const
Definition vips-operators.cpp:3503
VImage::set
void set(const char *field, const VImage value)
Definition VImage8.h:686
VImage::text
static VImage text(const char *text, VOption *options=nullptr)
Definition vips-operators.cpp:3648
VImage::hist_cum
VImage hist_cum(VOption *options=nullptr) const
Definition vips-operators.cpp:1529
VImage::crop
VImage crop(int left, int top, int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:802
VImage::tiffsave_target
void tiffsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:3768
VImage::float2rad
VImage float2rad(VOption *options=nullptr) const
Definition vips-operators.cpp:1230
VImage::globalbalance
VImage globalbalance(VOption *options=nullptr) const
Definition vips-operators.cpp:1410
VImage::bandsplit
std::vector< VImage > bandsplit(VOption *options=nullptr) const
Definition VImage.cpp:823
VImage::atan2
VImage atan2(double other, VOption *options=nullptr) const
Definition VImage8.h:1612
VImage::pow
VImage pow(double other, VOption *options=nullptr) const
Definition VImage8.h:1554
VImage::avg
double avg(VOption *options=nullptr) const
Definition vips-operators.cpp:368
VImage::sequential
VImage sequential(VOption *options=nullptr) const
Definition vips-operators.cpp:3376
VImage::radsave_buffer
VipsBlob * radsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:3001
VImage::matrixload
static VImage matrixload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2392
VImage::hist_find
VImage hist_find(VOption *options=nullptr) const
Definition vips-operators.cpp:1565
VImage::write_to_buffer
void write_to_buffer(const char *suffix, void **buf, size_t *size, VOption *options=nullptr) const
Definition VImage.cpp:702
VImage::draw_image
void draw_image(VImage sub, int x, int y, VOption *options=nullptr) const
Definition vips-operators.cpp:979
VImage::webpsave_mime
void webpsave_mime(VOption *options=nullptr) const
Definition vips-operators.cpp:3995
VImage::pngload_buffer
static VImage pngload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:2766
VImage::dE00
VImage dE00(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:858
VImage::uhdrsave_buffer
VipsBlob * uhdrsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:3867
VImage::rect
VImage rect(VOption *options=nullptr) const
Definition VImage8.h:1383
VImage::mosaic1
VImage mosaic1(VImage sec, VipsDirection direction, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options=nullptr) const
Definition vips-operators.cpp:2564
VImage::call
static void call(const char *operation_name, VOption *options=nullptr)
Definition VImage.cpp:550
VImage::jxlload
static VImage jxlload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:1951
VImage::arrayjoin
static VImage arrayjoin(std::vector< VImage > in, VOption *options=nullptr)
Definition vips-operators.cpp:344
VImage::matrixprint
void matrixprint(VOption *options=nullptr) const
Definition vips-operators.cpp:2429
VImage::grid
VImage grid(int tile_height, int across, int down, VOption *options=nullptr) const
Definition vips-operators.cpp:1450
VImage::ppmsave
void ppmsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:2854
VImage::gravity
VImage gravity(VipsCompassDirection direction, int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:1422
VImage::jp2kload_buffer
static VImage jp2kload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:1828
VImage::get_string
const char * get_string(const char *field) const
Definition VImage8.h:808
VImage::polar
VImage polar(VOption *options=nullptr) const
Definition VImage8.h:1374
VImage::gaussmat
static VImage gaussmat(double sigma, double min_ampl, VOption *options=nullptr)
Definition vips-operators.cpp:1306
VImage::find_trim
int find_trim(int *top, int *width, int *height, VOption *options=nullptr) const
Definition vips-operators.cpp:1158
VImage::linecache
VImage linecache(VOption *options=nullptr) const
Definition vips-operators.cpp:2041
VImage::bandjoin
VImage bandjoin(std::vector< double > other, VOption *options=nullptr) const
Definition VImage8.h:1190
VImage::mask_fractal
static VImage mask_fractal(int width, int height, double fractal_dimension, VOption *options=nullptr)
Definition vips-operators.cpp:2199
VImage::magickload_source
static VImage magickload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2090
VImage::fwfft
VImage fwfft(VOption *options=nullptr) const
Definition vips-operators.cpp:1269
VImage::autorot
VImage autorot(VOption *options=nullptr) const
Definition vips-operators.cpp:356
VImage::phasecor
VImage phasecor(VImage in2, VOption *options=nullptr) const
Definition vips-operators.cpp:2741
VImage::ifthenelse
VImage ifthenelse(std::vector< double > th, VImage el, VOption *options=nullptr) const
Definition VImage8.h:1633
VImage::webpsave_target
void webpsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:4002
VImage::resize
VImage resize(double scale, VOption *options=nullptr) const
Definition vips-operators.cpp:3214
VImage::fractsurf
static VImage fractsurf(int width, int height, double fractal_dimension, VOption *options=nullptr)
Definition vips-operators.cpp:1242
VImage::gifload
static VImage gifload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:1346
VImage::XYZ2Yxy
VImage XYZ2Yxy(VOption *options=nullptr) const
Definition vips-operators.cpp:246
VImage::XYZ2scRGB
VImage XYZ2scRGB(VOption *options=nullptr) const
Definition vips-operators.cpp:258
VImage::niftiload
static VImage niftiload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2611
VImage::complexget
VImage complexget(VipsOperationComplexget get, VOption *options=nullptr) const
Definition vips-operators.cpp:659
VImage::matrixsave
void matrixsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:2436
VImage::match
VImage match(VImage sec, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options=nullptr) const
Definition vips-operators.cpp:2306
VImage::dzsave_target
void dzsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:1055
VImage::pow
VImage pow(std::vector< double > other, VOption *options=nullptr) const
Definition VImage8.h:1564
VImage::bandunfold
VImage bandunfold(VOption *options=nullptr) const
Definition vips-operators.cpp:454
VImage::reduce
VImage reduce(double hshrink, double vshrink, VOption *options=nullptr) const
Definition vips-operators.cpp:3092
VImage::set
void set(const char *field, VipsCallbackFn free_fn, void *data, size_t length)
Definition VImage8.h:675
VImage::magicksave_buffer
VipsBlob * magicksave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:2110
VImage::bandand
VImage bandand(VOption *options=nullptr) const
Definition VImage8.h:1323
VImage::draw_line
void draw_line(double ink, int x1, int y1, int x2, int y2, VOption *options=nullptr) const
Definition VImage8.h:1721
VImage::vipssave
void vipssave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:3923
VImage::hist_equal
VImage hist_equal(VOption *options=nullptr) const
Definition vips-operators.cpp:1553
VImage::hist_find_ndim
VImage hist_find_ndim(VOption *options=nullptr) const
Definition vips-operators.cpp:1590
VImage::new_from_image
VImage new_from_image(std::vector< double > pixel) const
Definition VImage8.h:1016
VImage::thumbnail_source
static VImage thumbnail_source(VSource source, int width, VOption *options=nullptr)
Definition vips-operators.cpp:3699
VImage::profile_load
static VipsBlob * profile_load(const char *name, VOption *options=nullptr)
Definition vips-operators.cpp:2907
VImage::openslideload
static VImage openslideload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2655
VImage::imag
VImage imag(VOption *options=nullptr) const
Definition VImage8.h:1365
VImage::matload
static VImage matload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2368
VImage::add
VImage add(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:294
VImage::new_from_memory_steal
static VImage new_from_memory_steal(const void *data, size_t size, int width, int height, int bands, VipsBandFormat format)
Definition VImage.cpp:635
VImage::rawsave
void rawsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:3051
VImage::thumbnail
static VImage thumbnail(const char *filename, int width, VOption *options=nullptr)
Definition vips-operators.cpp:3660
VImage::heifsave_buffer
VipsBlob * heifsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:1509
VImage::jp2ksave_buffer
VipsBlob * jp2ksave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:1860
VImage::pdfload_source
static VImage pdfload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2703
VImage::eye
static VImage eye(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:1108
VImage::ifthenelse
VImage ifthenelse(std::vector< double > th, std::vector< double > el, VOption *options=nullptr) const
Definition VImage8.h:1655
VImage::HSV2sRGB
VImage HSV2sRGB(VOption *options=nullptr) const
Definition vips-operators.cpp:30
VImage::ppmsave_target
void ppmsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:2862
VImage::hist_find_indexed
VImage hist_find_indexed(VImage index, VOption *options=nullptr) const
Definition vips-operators.cpp:1577
VImage::radload_source
static VImage radload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2981
VImage::jxlload_buffer
static VImage jxlload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:1963
VImage::boolean_const
VImage boolean_const(VipsOperationBoolean boolean, std::vector< double > c, VOption *options=nullptr) const
Definition vips-operators.cpp:493
VImage::hist_entropy
double hist_entropy(VOption *options=nullptr) const
Definition vips-operators.cpp:1541
VImage::dECMC
VImage dECMC(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:884
VImage::copy_memory
VImage copy_memory() const
Definition VImage8.h:1050
VImage::tonelut
static VImage tonelut(VOption *options=nullptr)
Definition vips-operators.cpp:3788
VImage::wop
VImage wop(std::vector< double > other, VOption *options=nullptr) const
Definition VImage8.h:1593
VImage::ppmload
static VImage ppmload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2818
VImage::insert
VImage insert(VImage sub, int x, int y, VOption *options=nullptr) const
Definition vips-operators.cpp:1751
VImage::relational
VImage relational(VImage right, VipsOperationRelational relational, VOption *options=nullptr) const
Definition vips-operators.cpp:3132
VImage::get_array_double
void get_array_double(const char *field, double **out, int *n) const
Definition VImage8.h:758
VImage::sRGB2scRGB
VImage sRGB2scRGB(VOption *options=nullptr) const
Definition vips-operators.cpp:3290
VImage::percent
int percent(double percent, VOption *options=nullptr) const
Definition vips-operators.cpp:2715
VImage::atan
VImage atan(VOption *options=nullptr) const
Definition VImage8.h:1446
VImage::remove
bool remove(const char *name) const
Definition VImage8.h:841
VImage::sinh
VImage sinh(VOption *options=nullptr) const
Definition VImage8.h:1455
VImage::icc_export
VImage icc_export(VOption *options=nullptr) const
Definition vips-operators.cpp:1689
VImage::pow
VImage pow(VImage other, VOption *options=nullptr) const
Definition VImage8.h:1545
VImage::log
VImage log(VOption *options=nullptr) const
Definition VImage8.h:1509
VImage::new_from_buffer
static VImage new_from_buffer(const void *buf, size_t len, const char *option_string, VOption *options=nullptr)
Definition VImage.cpp:579
VImage::tiffload_source
static VImage tiffload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:3736
VImage::clamp
VImage clamp(VOption *options=nullptr) const
Definition vips-operators.cpp:581
VImage::pngload_source
static VImage pngload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2778
VImage::matrixsave_target
void matrixsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:2444
VImage::asin
VImage asin(VOption *options=nullptr) const
Definition VImage8.h:1428
VImage::gainmap
VImage gainmap() const
Definition VImage8.h:555
VImage::ceil
VImage ceil(VOption *options=nullptr) const
Definition VImage8.h:1302
VImage::mask_gaussian
static VImage mask_gaussian(int width, int height, double frequency_cutoff, double amplitude_cutoff, VOption *options=nullptr)
Definition vips-operators.cpp:2213
VImage::scharr
VImage scharr(VOption *options=nullptr) const
Definition vips-operators.cpp:3350
VImage::rot
VImage rot(VipsAngle angle, VOption *options=nullptr) const
Definition vips-operators.cpp:3227
VImage::mask_gaussian_ring
static VImage mask_gaussian_ring(int width, int height, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options=nullptr)
Definition vips-operators.cpp:2245
VImage::bandjoin
VImage bandjoin(VImage other, VOption *options=nullptr) const
Definition VImage.cpp:835
VImage::relational_const
VImage relational_const(VipsOperationRelational relational, std::vector< double > c, VOption *options=nullptr) const
Definition vips-operators.cpp:3146
VImage::call_option_string
static void call_option_string(const char *operation_name, const char *option_string, VOption *options=nullptr)
Definition VImage.cpp:493
VImage::remosaic
VImage remosaic(const char *old_str, const char *new_str, VOption *options=nullptr) const
Definition vips-operators.cpp:3186
VImage::convsep
VImage convsep(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:764
VImage::draw_flood
void draw_flood(double ink, int x, int y, VOption *options=nullptr) const
Definition VImage8.h:1784
VImage::dilate
VImage dilate(VImage mask, VOption *options=nullptr) const
Definition VImage8.h:1262
VImage::jxlsave_target
void jxlsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:2007
VImage::hough_line
VImage hough_line(VOption *options=nullptr) const
Definition vips-operators.cpp:1677
VImage::csvload_source
static VImage csvload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:830
VImage::invfft
VImage invfft(VOption *options=nullptr) const
Definition vips-operators.cpp:1790
VImage::sdf
static VImage sdf(int width, int height, VipsSdfShape shape, VOption *options=nullptr)
Definition vips-operators.cpp:3362
VImage::yres
double yres() const
Definition VImage8.h:509
VImage::grey
static VImage grey(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:1437
VImage::set
void set(const char *field, std::vector< double > value)
Definition VImage8.h:641
VImage::max
double max(VOption *options=nullptr) const
Definition vips-operators.cpp:2452
VImage::thumbnail_buffer
static VImage thumbnail_buffer(void *buf, size_t len, int width, VOption *options=nullptr)
Definition VImage.cpp:775
VImage::vipssave_target
void vipssave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:3931
VImage::scRGB2XYZ
VImage scRGB2XYZ(VOption *options=nullptr) const
Definition vips-operators.cpp:3314
VImage::Lab2XYZ
VImage Lab2XYZ(VOption *options=nullptr) const
Definition vips-operators.cpp:102
VImage::radsave_target
void radsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:3013
VImage::radload_buffer
static VImage radload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:2969
VImage::yoffset
int yoffset() const
Definition VImage8.h:527
VImage::complexform
VImage complexform(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:646
VImage::black
static VImage black(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:466
VImage::falsecolour
VImage falsecolour(VOption *options=nullptr) const
Definition vips-operators.cpp:1121
VImage::jpegsave_buffer
VipsBlob * jpegsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:1924
VImage::interpretation
VipsInterpretation interpretation() const
Definition VImage8.h:481
VImage::identity
static VImage identity(VOption *options=nullptr)
Definition vips-operators.cpp:1726
VImage::height
int height() const
Definition VImage8.h:444
VImage::set
void set(const char *field, const char *value)
Definition VImage8.h:662
VImage::gifsave
void gifsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1382
VImage::acos
VImage acos(VOption *options=nullptr) const
Definition VImage8.h:1437
VImage::draw_circle
void draw_circle(double ink, int cx, int cy, int radius, VOption *options=nullptr) const
Definition VImage8.h:1706
VImage::math2
VImage math2(VImage right, VipsOperationMath2 math2, VOption *options=nullptr) const
Definition vips-operators.cpp:2340
VImage::spectrum
VImage spectrum(VOption *options=nullptr) const
Definition vips-operators.cpp:3516
VImage::worley
static VImage worley(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:4010
VImage::sRGB2HSV
VImage sRGB2HSV(VOption *options=nullptr) const
Definition vips-operators.cpp:3278
VImage::abs
VImage abs(VOption *options=nullptr) const
Definition vips-operators.cpp:282
VImage::composite2
VImage composite2(VImage overlay, VipsBlendMode mode, VOption *options=nullptr) const
Definition vips-operators.cpp:685
VImage::get_typeof
GType get_typeof(const char *field) const
Definition VImage8.h:696
VImage::region
VRegion region() const
Definition VImage.cpp:795
VImage::stats
VImage stats(VOption *options=nullptr) const
Definition vips-operators.cpp:3528
VImage::linear
VImage linear(std::vector< double > a, double b, VOption *options=nullptr) const
Definition VImage8.h:1149
VImage::bandmean
VImage bandmean(VOption *options=nullptr) const
Definition vips-operators.cpp:430
VImage::embed
VImage embed(int x, int y, int width, int height, VOption *options=nullptr) const
Definition vips-operators.cpp:1063
VImage::get_array_int
std::vector< int > get_array_int(const char *field) const
Definition VImage8.h:737
VImage::mask_butterworth_band
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=nullptr)
Definition vips-operators.cpp:2164
VImage::new_matrix
static VImage new_matrix(int width, int height, double *array, int size)
Definition VImage8.h:993
VImage::real
VImage real(VOption *options=nullptr) const
Definition VImage8.h:1356
VImage::rot180
VImage rot180(VOption *options=nullptr) const
Definition VImage8.h:1242
VImage::magickload
static VImage magickload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2066
VImage::guess_interpretation
VipsInterpretation guess_interpretation() const
Definition VImage8.h:491
VImage::get_double
double get_double(const char *field) const
Definition VImage8.h:791
VImage::perlin
static VImage perlin(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:2728
VImage::cos
VImage cos(VOption *options=nullptr) const
Definition VImage8.h:1410
VImage::Lab2LabQ
VImage Lab2LabQ(VOption *options=nullptr) const
Definition vips-operators.cpp:78
VImage::tiffsave
void tiffsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:3748
VImage::openexrload
static VImage openexrload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:2643
VImage::shrinkh
VImage shrinkh(int hshrink, VOption *options=nullptr) const
Definition vips-operators.cpp:3414
VImage::hist_plot
VImage hist_plot(VOption *options=nullptr) const
Definition vips-operators.cpp:1653
VImage::tanh
VImage tanh(VOption *options=nullptr) const
Definition VImage8.h:1473
VImage::zoom
VImage zoom(int xfac, int yfac, VOption *options=nullptr) const
Definition vips-operators.cpp:4061
VImage::bandfold
VImage bandfold(VOption *options=nullptr) const
Definition vips-operators.cpp:393
VImage::premultiply
VImage premultiply(VOption *options=nullptr) const
Definition vips-operators.cpp:2870
VImage::bands
int bands() const
Definition VImage8.h:453
VImage::ifthenelse
VImage ifthenelse(double th, double el, VOption *options=nullptr) const
Definition VImage8.h:1687
VImage::tilecache
VImage tilecache(VOption *options=nullptr) const
Definition vips-operators.cpp:3776
VImage::svgload_buffer
static VImage svgload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:3605
VImage::heifload
static VImage heifload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:1465
VImage::Oklch2Oklab
VImage Oklch2Oklab(VOption *options=nullptr) const
Definition vips-operators.cpp:198
VImage::minpair
VImage minpair(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:2519
VImage::prewitt
VImage prewitt(VOption *options=nullptr) const
Definition vips-operators.cpp:2882
VImage::LCh2Lab
VImage LCh2Lab(VOption *options=nullptr) const
Definition vips-operators.cpp:54
VImage::heifsave
void heifsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1501
VImage::atan2
VImage atan2(std::vector< double > other, VOption *options=nullptr) const
Definition VImage8.h:1622
VImage::analyzeload
static VImage analyzeload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:332
VImage::scRGB2BW
VImage scRGB2BW(VOption *options=nullptr) const
Definition vips-operators.cpp:3302
VImage::ifthenelse
VImage ifthenelse(double th, VImage el, VOption *options=nullptr) const
Definition VImage8.h:1667
VImage::LabS2LabQ
VImage LabS2LabQ(VOption *options=nullptr) const
Definition vips-operators.cpp:162
VImage::write_to_target
void write_to_target(const char *suffix, VTarget target, VOption *options=nullptr) const
Definition VImage.cpp:755
VImage::VImage
VImage()
Definition VImage8.h:416
VImage::buildlut
VImage buildlut(VOption *options=nullptr) const
Definition vips-operators.cpp:507
VImage::new_temp_file
static VImage new_temp_file(const char *file_format=".v")
Definition VImage8.h:884
VImage::labelregions
VImage labelregions(VOption *options=nullptr) const
Definition vips-operators.cpp:2015
VImage::multiply
VImage multiply(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:2598
VImage::fliphor
VImage fliphor(VOption *options=nullptr) const
Definition VImage8.h:1215
VImage::write_to_file
void write_to_file(const char *name, VOption *options=nullptr) const
Definition VImage.cpp:683
VImage::set
void set(const char *field, double value)
Definition VImage8.h:651
VImage::new_matrix
static VImage new_matrix(int width, int height)
Definition VImage.cpp:651
VImage::draw_mask
void draw_mask(double ink, VImage mask, int x, int y, VOption *options=nullptr) const
Definition VImage8.h:1798
VImage::dcrawload_buffer
static VImage dcrawload_buffer(VipsBlob *buffer, VOption *options=nullptr)
Definition vips-operators.cpp:909
VImage::VImage
VImage(VipsImage *image, VSteal steal=STEAL)
Definition VImage8.h:408
VImage::linear
VImage linear(double a, std::vector< double > b, VOption *options=nullptr) const
Definition VImage8.h:1160
VImage::pngsave
void pngsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:2790
VImage::hist_ismonotonic
bool hist_ismonotonic(VOption *options=nullptr) const
Definition vips-operators.cpp:1602
VImage::XYZ2CMYK
VImage XYZ2CMYK(VOption *options=nullptr) const
Definition vips-operators.cpp:210
VImage::complex
VImage complex(VipsOperationComplex cmplx, VOption *options=nullptr) const
Definition vips-operators.cpp:619
VImage::freqmult
VImage freqmult(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:1256
VImage::icc_import
VImage icc_import(VOption *options=nullptr) const
Definition vips-operators.cpp:1701
VImage::rot270
VImage rot270(VOption *options=nullptr) const
Definition VImage8.h:1251
VImage::pngsave_target
void pngsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:2810
VImage::mosaic
VImage mosaic(VImage sec, VipsDirection direction, int xref, int yref, int xsec, int ysec, VOption *options=nullptr) const
Definition vips-operators.cpp:2546
VImage::sharpen
VImage sharpen(VOption *options=nullptr) const
Definition vips-operators.cpp:3388
VImage::maxpair
VImage maxpair(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:2464
VImage::new_from_source
static VImage new_from_source(VSource source, const char *option_string, VOption *options=nullptr)
Definition VImage.cpp:613
VImage::mapim
VImage mapim(VImage index, VOption *options=nullptr) const
Definition vips-operators.cpp:2122
VImage::quadratic
VImage quadratic(VImage coeff, VOption *options=nullptr) const
Definition vips-operators.cpp:2932
VImage::XYZ2Oklab
VImage XYZ2Oklab(VOption *options=nullptr) const
Definition vips-operators.cpp:234
VImage::system
static void system(const char *cmd_format, VOption *options=nullptr)
Definition vips-operators.cpp:3641
VImage::shrink
VImage shrink(double hshrink, double vshrink, VOption *options=nullptr) const
Definition vips-operators.cpp:3400
VImage::composite
VImage composite(VImage other, VipsBlendMode mode, VOption *options=nullptr) const
Definition VImage.cpp:844
VImage::convf
VImage convf(VImage mask, VOption *options=nullptr) const
Definition vips-operators.cpp:738
VImage::profile
VImage profile(VImage *rows, VOption *options=nullptr) const
Definition vips-operators.cpp:2894
VImage::extract_band
VImage extract_band(int band, VOption *options=nullptr) const
Definition vips-operators.cpp:1095
VImage::bandbool
VImage bandbool(VipsOperationBoolean boolean, VOption *options=nullptr) const
Definition vips-operators.cpp:380
VImage::format
VipsBandFormat format() const
Definition VImage8.h:462
VImage::math2_const
VImage math2_const(VipsOperationMath2 math2, std::vector< double > c, VOption *options=nullptr) const
Definition vips-operators.cpp:2354
VImage::new_from_memory_copy
static VImage new_from_memory_copy(const void *data, size_t size, int width, int height, int bands, VipsBandFormat format)
Definition VImage8.h:958
VImage::transpose3d
VImage transpose3d(VOption *options=nullptr) const
Definition vips-operators.cpp:3799
VImage::reducev
VImage reducev(double vshrink, VOption *options=nullptr) const
Definition vips-operators.cpp:3119
VImage::dzsave
void dzsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1035
VImage::webpload
static VImage webpload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:3939
VImage::erode
VImage erode(VImage mask, VOption *options=nullptr) const
Definition VImage8.h:1274
VImage::floor
VImage floor(VOption *options=nullptr) const
Definition VImage8.h:1293
VImage::linear
VImage linear(double a, double b, VOption *options=nullptr) const
Definition VImage8.h:1137
VImage::colourspace
VImage colourspace(VipsInterpretation space, VOption *options=nullptr) const
Definition vips-operators.cpp:593
VImage::addalpha
VImage addalpha(VOption *options=nullptr) const
Definition vips-operators.cpp:307
VImage::ifthenelse
VImage ifthenelse(VImage th, std::vector< double > el, VOption *options=nullptr) const
Definition VImage8.h:1644
VImage::get_array_int
void get_array_int(const char *field, int **out, int *n) const
Definition VImage8.h:724
VImage::tan
VImage tan(VOption *options=nullptr) const
Definition VImage8.h:1419
VImage::rawsave_buffer
VipsBlob * rawsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:3059
VImage::jpegsave_target
void jpegsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:1943
VImage::cosh
VImage cosh(VOption *options=nullptr) const
Definition VImage8.h:1464
VImage::countlines
double countlines(VipsDirection direction, VOption *options=nullptr) const
Definition vips-operators.cpp:789
VImage::icc_transform
VImage icc_transform(const char *output_profile, VOption *options=nullptr) const
Definition vips-operators.cpp:1713
VImage::ifthenelse
VImage ifthenelse(VImage th, double el, VOption *options=nullptr) const
Definition VImage8.h:1677
VImage::inplace
void inplace()
Definition VImage8.h:574
VImage::rad2float
VImage rad2float(VOption *options=nullptr) const
Definition vips-operators.cpp:2945
VImage::sines
static VImage sines(int width, int height, VOption *options=nullptr)
Definition vips-operators.cpp:3464
VImage::Lab2LCh
VImage Lab2LCh(VOption *options=nullptr) const
Definition vips-operators.cpp:66
VImage::width
int width() const
Definition VImage8.h:435
VImage::flip
VImage flip(VipsDirection direction, VOption *options=nullptr) const
Definition vips-operators.cpp:1217
VImage::math
VImage math(VipsOperationMath math, VOption *options=nullptr) const
Definition vips-operators.cpp:2327
VImage::similarity
VImage similarity(VOption *options=nullptr) const
Definition vips-operators.cpp:3452
VImage::unpremultiply
VImage unpremultiply(VOption *options=nullptr) const
Definition vips-operators.cpp:3887
VImage::maplut
VImage maplut(VImage lut, VOption *options=nullptr) const
Definition vips-operators.cpp:2135
VImage::gifsave_buffer
VipsBlob * gifsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:1390
VImage::ppmload_source
static VImage ppmload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2842
VImage::jpegsave
void jpegsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1916
VImage::draw_rect
void draw_rect(double ink, int left, int top, int width, int height, VOption *options=nullptr) const
Definition VImage8.h:1740
VImage::Lab2LabS
VImage Lab2LabS(VOption *options=nullptr) const
Definition vips-operators.cpp:90
VImage::log10
VImage log10(VOption *options=nullptr) const
Definition VImage8.h:1518
VImage::invert
VImage invert(VOption *options=nullptr) const
Definition vips-operators.cpp:1766
VImage::xoffset
int xoffset() const
Definition VImage8.h:518
VImage::uhdrload
static VImage uhdrload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:3823
VImage::rank
VImage rank(int width, int height, int index, VOption *options=nullptr) const
Definition vips-operators.cpp:3021
VImage::CMC2LCh
VImage CMC2LCh(VOption *options=nullptr) const
Definition vips-operators.cpp:6
VImage::LabQ2LabS
VImage LabQ2LabS(VOption *options=nullptr) const
Definition vips-operators.cpp:126
VImage::rawload
static VImage rawload(const char *filename, int width, int height, int bands, VOption *options=nullptr)
Definition vips-operators.cpp:3036
VImage::jpegsave_mime
void jpegsave_mime(VOption *options=nullptr) const
Definition vips-operators.cpp:1936
VImage::heifload_source
static VImage heifload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:1489
VImage::XYZ2Lab
VImage XYZ2Lab(VOption *options=nullptr) const
Definition vips-operators.cpp:222
VImage::openslideload_source
static VImage openslideload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:2667
VImage::draw_point
void draw_point(double ink, int x, int y, VOption *options=nullptr) const
Definition VImage8.h:1753
VImage::asinh
VImage asinh(VOption *options=nullptr) const
Definition VImage8.h:1482
VImage::data
const void * data() const
Definition VImage8.h:587
VImage::min
double min(VOption *options=nullptr) const
Definition vips-operators.cpp:2507
VImage::invertlut
VImage invertlut(VOption *options=nullptr) const
Definition vips-operators.cpp:1778
VImage::option
static VOption * option()
Definition VImage8.h:850
VImage::new_from_memory
static VImage new_from_memory(const void *data, size_t size, int width, int height, int bands, VipsBandFormat format)
Definition VImage8.h:940
VImage::measure
VImage measure(int h, int v, VOption *options=nullptr) const
Definition vips-operators.cpp:2477
VImage::jxlsave
void jxlsave(const char *filename, VOption *options=nullptr) const
Definition vips-operators.cpp:1987
VImage::wop
VImage wop(double other, VOption *options=nullptr) const
Definition VImage8.h:1583
VImage::round
VImage round(VipsOperationRound round, VOption *options=nullptr) const
Definition vips-operators.cpp:3265
VImage::Oklab2Oklch
VImage Oklab2Oklch(VOption *options=nullptr) const
Definition vips-operators.cpp:174
VImage::getpoint
std::vector< double > getpoint(int x, int y, VOption *options=nullptr) const
Definition vips-operators.cpp:1332
VImage::dcrawload
static VImage dcrawload(const char *filename, VOption *options=nullptr)
Definition vips-operators.cpp:897
VImage::subtract
VImage subtract(VImage right, VOption *options=nullptr) const
Definition vips-operators.cpp:3568
VImage::scale
VImage scale(VOption *options=nullptr) const
Definition vips-operators.cpp:3338
VImage::complex2
VImage complex2(VImage right, VipsOperationComplex2 cmplx, VOption *options=nullptr) const
Definition vips-operators.cpp:632
VImage::acosh
VImage acosh(VOption *options=nullptr) const
Definition VImage8.h:1491
VImage::dzsave_buffer
VipsBlob * dzsave_buffer(VOption *options=nullptr) const
Definition vips-operators.cpp:1043
VImage::thumbnail_image
VImage thumbnail_image(int width, VOption *options=nullptr) const
Definition vips-operators.cpp:3686
VImage::shrinkv
VImage shrinkv(int vshrink, VOption *options=nullptr) const
Definition vips-operators.cpp:3427
VImage::conj
VImage conj(VOption *options=nullptr) const
Definition VImage8.h:1392
VImage::webpload_source
static VImage webpload_source(VSource source, VOption *options=nullptr)
Definition vips-operators.cpp:3963
VImage::CMYK2XYZ
VImage CMYK2XYZ(VOption *options=nullptr) const
Definition vips-operators.cpp:18
VImage::join
VImage join(VImage in2, VipsDirection direction, VOption *options=nullptr) const
Definition vips-operators.cpp:1802
VImage::heifsave_target
void heifsave_target(VTarget target, VOption *options=nullptr) const
Definition vips-operators.cpp:1521
VImage::canny
VImage canny(VOption *options=nullptr) const
Definition vips-operators.cpp:543
VImage::cast
VImage cast(VipsBandFormat format, VOption *options=nullptr) const
Definition vips-operators.cpp:568
VObject
Definition VImage8.h:67
VObject::VObject
VObject(VipsObject *new_vobject, VSteal steal=STEAL)
Definition VImage8.h:79
VObject::get_object
VipsObject * get_object() const
Definition VImage8.h:170
VObject::is_null
bool is_null() const
Definition VImage8.h:182
VOption
Definition VImage8.h:216
VOption::get_operation
void get_operation(VipsOperation *operation)
Definition VImage.cpp:446
VOption::set
VOption * set(const char *name, bool value)
Definition VImage.cpp:122
VOption::set_operation
void set_operation(VipsOperation *operation)
Definition VImage.cpp:425
VRegion
Definition VRegion8.h:40
VSource
Definition VConnection8.h:45
VTarget
Definition VConnection8.h:104