Xmipp
v3.23.11-Nereus
|
#include "Python.h"
#include "core/xmipp_image_generic.h"
#include <numpy/ndarraytypes.h>
#include <numpy/arrayobject.h>
#include <memory>
Go to the source code of this file.
Classes | |
struct | ImageObject |
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
#define | Image_Check(v) (((v)->ob_type == &ImageType)) |
#define | Image_Value(v) ((*((ImageObject*)(v))->image)) |
Functions | |
void | Image_dealloc (ImageObject *self) |
PyObject * | Image_new (PyTypeObject *type, PyObject *args, PyObject *kwargs) |
PyObject * | Image_repr (PyObject *obj) |
PyObject * | Image_RichCompareBool (PyObject *obj, PyObject *obj2, int opid) |
PyObject * | Image_equal (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_write (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_read (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_readPreview (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_readPreviewSmooth (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_convertPSD (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_readApplyGeo (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_applyGeo (PyObject *obj, PyObject *args, PyObject *kwargs) |
NPY_TYPES | datatype2NpyType (DataType dt) |
DataType | npyType2Datatype (int npy) |
PyObject * | Image_getData (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_projectVolumeDouble (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_setData (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_getPixel (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_setPixel (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_initConstant (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_mirrorY (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_applyTransforMatScipion (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_warpAffine (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_applyCTF (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_initRandom (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_resize (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_scale (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_reslice (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_writeSlices (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_patch (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_getDataType (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_setDataType (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_convert2DataType (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_getDimensions (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_resetOrigin (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_getEulerAngles (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_getMainHeaderValue (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_setMainHeaderValue (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_getHeaderValue (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_setHeaderValue (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_computeStats (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_computePSD (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_adjustAndSubtract (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_correlation (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_correlationAfterAlignment (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_window2D (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_add (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_iadd (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_inplaceAdd (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | Image_subtract (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_isubtract (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_inplaceSubtract (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | Image_multiply (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_imultiply (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_inplaceMultiply (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | Image_true_divide (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_idivide (PyObject *obj1, PyObject *obj2) |
PyObject * | Image_inplaceDivide (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | Image_radialAvgAxis (PyObject *obj, PyObject *args, PyObject *kwargs) |
PyObject * | Image_centerOfMass (PyObject *obj) |
Variables | |
PyObject * | PyXmippError |
PyNumberMethods | Image_NumberMethods |
PyMethodDef | Image_methods [] |
PyTypeObject | ImageType |
#define Image_Check | ( | v | ) | (((v)->ob_type == &ImageType)) |
Definition at line 43 of file python_image.h.
#define Image_Value | ( | v | ) | ((*((ImageObject*)(v))->image)) |
Definition at line 44 of file python_image.h.
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
Definition at line 30 of file python_image.h.
NPY_TYPES datatype2NpyType | ( | DataType | dt | ) |
Definition at line 520 of file python_image.cpp.
PyObject* Image_add | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Definition at line 1376 of file python_image.cpp.
PyObject* Image_adjustAndSubtract | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1273 of file python_image.cpp.
PyObject* Image_applyCTF | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1236 of file xmippmodule.cpp.
PyObject* Image_applyGeo | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1860 of file python_image.cpp.
PyObject* Image_applyTransforMatScipion | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Image inplace subtraction, equivalent to -= operator
Definition at line 1672 of file python_image.cpp.
PyObject* Image_centerOfMass | ( | PyObject * | obj | ) |
Definition at line 1975 of file python_image.cpp.
PyObject* Image_computePSD | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1235 of file python_image.cpp.
PyObject* Image_computeStats | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1212 of file python_image.cpp.
PyObject* Image_convert2DataType | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1003 of file python_image.cpp.
PyObject* Image_convertPSD | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1169 of file xmippmodule.cpp.
PyObject* Image_correlation | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1301 of file python_image.cpp.
PyObject* Image_correlationAfterAlignment | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1336 of file python_image.cpp.
void Image_dealloc | ( | ImageObject * | self | ) |
Definition at line 205 of file python_image.cpp.
PyObject* Image_equal | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 313 of file python_image.cpp.
PyObject* Image_getData | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 604 of file python_image.cpp.
PyObject* Image_getDataType | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 959 of file python_image.cpp.
PyObject* Image_getDimensions | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1026 of file python_image.cpp.
PyObject* Image_getEulerAngles | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1070 of file python_image.cpp.
PyObject* Image_getHeaderValue | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1154 of file python_image.cpp.
PyObject* Image_getMainHeaderValue | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1095 of file python_image.cpp.
PyObject* Image_getPixel | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 680 of file python_image.cpp.
PyObject* Image_iadd | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Image inplace add, equivalent to += operator
Definition at line 1397 of file python_image.cpp.
PyObject* Image_idivide | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Image division NOTE (JM): For efficiency reasons, we break the Python convention and return None instead of a new reference of Image just to avoid creating a new Image object.
Definition at line 1618 of file python_image.cpp.
PyObject* Image_imultiply | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Definition at line 1539 of file python_image.cpp.
PyObject* Image_initConstant | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 740 of file python_image.cpp.
PyObject* Image_initRandom | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 779 of file python_image.cpp.
PyObject* Image_inplaceAdd | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Image inplace add, equivalent to *= operator but this not return a new instance of image, mainly for efficiency reasons.
Definition at line 1420 of file python_image.cpp.
PyObject* Image_inplaceDivide | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Image inplace divide, equivalent to /= operator but this not return a new instance of image, mainly for efficiency reasons.
Definition at line 1642 of file python_image.cpp.
PyObject* Image_inplaceMultiply | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Image inplace multiply, equivalent to *= operator but this not return a new instance of image, mainly for efficiency reasons.
Definition at line 1562 of file python_image.cpp.
PyObject* Image_inplaceSubtract | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Image inplace subtract, equivalent to *= operator but this not return a new instance of image, mainly for efficiency reasons.
Definition at line 1494 of file python_image.cpp.
PyObject* Image_isubtract | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Image inplace subtraction, equivalent to -= operator
Definition at line 1472 of file python_image.cpp.
PyObject* Image_mirrorY | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 762 of file python_image.cpp.
PyObject* Image_multiply | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Definition at line 1517 of file python_image.cpp.
PyObject* Image_new | ( | PyTypeObject * | type, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 213 of file python_image.cpp.
PyObject* Image_patch | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 935 of file python_image.cpp.
PyObject* Image_projectVolumeDouble | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1290 of file xmippmodule.cpp.
PyObject* Image_radialAvgAxis | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1943 of file python_image.cpp.
PyObject* Image_read | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 388 of file python_image.cpp.
PyObject* Image_readApplyGeo | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1740 of file python_image.cpp.
PyObject* Image_readPreview | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 446 of file python_image.cpp.
PyObject* Image_readPreviewSmooth | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 485 of file python_image.cpp.
PyObject* Image_repr | ( | PyObject * | obj | ) |
Definition at line 269 of file python_image.cpp.
PyObject* Image_resetOrigin | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1050 of file python_image.cpp.
PyObject* Image_resize | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 807 of file python_image.cpp.
PyObject* Image_reslice | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 862 of file python_image.cpp.
PyObject* Image_RichCompareBool | ( | PyObject * | obj, |
PyObject * | obj2, | ||
int | opid | ||
) |
Definition at line 279 of file python_image.cpp.
PyObject* Image_scale | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 832 of file python_image.cpp.
PyObject* Image_setData | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 644 of file python_image.cpp.
PyObject* Image_setDataType | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 981 of file python_image.cpp.
PyObject* Image_setHeaderValue | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1183 of file python_image.cpp.
PyObject* Image_setMainHeaderValue | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1125 of file python_image.cpp.
PyObject* Image_setPixel | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 710 of file python_image.cpp.
PyObject* Image_subtract | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Definition at line 1451 of file python_image.cpp.
PyObject* Image_true_divide | ( | PyObject * | obj1, |
PyObject * | obj2 | ||
) |
Definition at line 1591 of file python_image.cpp.
PyObject* Image_warpAffine | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Image inplace subtraction, equivalent to -= operator
Definition at line 1786 of file python_image.cpp.
PyObject* Image_window2D | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 1902 of file python_image.cpp.
PyObject* Image_write | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 340 of file python_image.cpp.
PyObject* Image_writeSlices | ( | PyObject * | obj, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 884 of file python_image.cpp.
DataType npyType2Datatype | ( | int | npy | ) |
Definition at line 553 of file python_image.cpp.
PyMethodDef Image_methods[] |
Definition at line 64 of file python_image.cpp.
PyNumberMethods Image_NumberMethods |
Definition at line 40 of file python_image.cpp.
PyTypeObject ImageType |
Definition at line 163 of file python_image.cpp.
PyObject* PyXmippError |
Definition at line 47 of file xmippmodule.cpp.