MagickCore  6.9.7
pixel.c File Reference
#include "magick/studio.h"
#include "magick/property.h"
#include "magick/blob.h"
#include "magick/blob-private.h"
#include "magick/color-private.h"
#include "magick/draw.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/cache.h"
#include "magick/colorspace-private.h"
#include "magick/constitute.h"
#include "magick/delegate.h"
#include "magick/geometry.h"
#include "magick/list.h"
#include "magick/magick.h"
#include "magick/memory_.h"
#include "magick/memory-private.h"
#include "magick/monitor.h"
#include "magick/option.h"
#include "magick/pixel.h"
#include "magick/pixel-private.h"
#include "magick/quantum.h"
#include "magick/resource_.h"
#include "magick/semaphore.h"
#include "magick/statistic.h"
#include "magick/stream.h"
#include "magick/string_.h"
#include "magick/transform.h"
#include "magick/utility.h"
Include dependency graph for pixel.c:

Functions

MagickExport MagickPixelPacketCloneMagickPixelPacket (const MagickPixelPacket *pixel)
 
MagickExport void ConformMagickPixelPacket (Image *image, const MagickPixelPacket *source, MagickPixelPacket *destination, ExceptionInfo *exception)
 
static double DecodeGamma (const double x)
 
MagickExport MagickRealType DecodePixelGamma (const MagickRealType pixel)
 
static double EncodeGamma (const double x)
 
MagickExport MagickRealType EncodePixelGamma (const MagickRealType pixel)
 
static void ExportCharPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
static void ExportDoublePixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
static void ExportFloatPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
static void ExportIntegerPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
static void ExportLongPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
static void ExportQuantumPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
static void ExportShortPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
 
MagickExport MagickBooleanType ExportImagePixels (const Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const char *map, const StorageType type, void *pixels, ExceptionInfo *exception)
 
MagickExport MagickRealType GetMagickPixelIntensity (const Image *image, const MagickPixelPacket *magick_restrict pixel)
 
MagickExport void GetMagickPixelPacket (const Image *image, MagickPixelPacket *pixel)
 
MagickExport MagickRealType GetPixelIntensity (const Image *image, const PixelPacket *magick_restrict pixel)
 
static void ImportCharPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
static void ImportDoublePixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
static void ImportFloatPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
static void ImportIntegerPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
static void ImportLongPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
static void ImportQuantumPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
static void ImportShortPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
 
MagickExport MagickBooleanType ImportImagePixels (Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const char *map, const StorageType type, const void *pixels)
 
static void AlphaBlendMagickPixelPacket (const Image *image, const PixelPacket *color, const IndexPacket *indexes, MagickPixelPacket *pixel, MagickRealType *alpha)
 
static void CatromWeights (const MagickRealType x, MagickRealType(*weights)[4])
 
static double ConstrainPixelOffset (double x)
 
static void SplineWeights (const MagickRealType x, MagickRealType(*weights)[4])
 
static double MeshInterpolate (const PointInfo *delta, const double p, const double x, const double y)
 
MagickExport MagickBooleanType InterpolateMagickPixelPacket (const Image *image, const CacheView *image_view, const InterpolatePixelMethod method, const double x, const double y, MagickPixelPacket *pixel, ExceptionInfo *exception)
 

Function Documentation

◆ AlphaBlendMagickPixelPacket()

◆ CatromWeights()

static void CatromWeights ( const MagickRealType  x,
MagickRealType(*)  weights[4] 
)
inlinestatic

◆ CloneMagickPixelPacket()

◆ ConformMagickPixelPacket()

◆ ConstrainPixelOffset()

static double ConstrainPixelOffset ( double  x)
inlinestatic

◆ DecodeGamma()

static double DecodeGamma ( const double  x)
inlinestatic

Referenced by DecodePixelGamma().

◆ DecodePixelGamma()

◆ EncodeGamma()

static double EncodeGamma ( const double  x)
inlinestatic

Referenced by EncodePixelGamma().

◆ EncodePixelGamma()

◆ ExportCharPixel()

◆ ExportDoublePixel()

◆ ExportFloatPixel()

◆ ExportImagePixels()

◆ ExportIntegerPixel()

◆ ExportLongPixel()

◆ ExportQuantumPixel()

◆ ExportShortPixel()

◆ GetMagickPixelIntensity()

◆ GetMagickPixelPacket()

MagickExport void GetMagickPixelPacket ( const Image image,
MagickPixelPacket pixel 
)

References _MagickPixelPacket::blue, _MagickPixelPacket::colorspace, _Image::colorspace, _MagickPixelPacket::depth, _Image::depth, DirectClass, _MagickPixelPacket::fuzz, _Image::fuzz, _MagickPixelPacket::green, _MagickPixelPacket::index, MAGICKCORE_QUANTUM_DEPTH, MagickFalse, _MagickPixelPacket::matte, _Image::matte, _MagickPixelPacket::opacity, OpaqueOpacity, _MagickPixelPacket::red, sRGBColorspace, _MagickPixelPacket::storage_class, and _Image::storage_class.

Referenced by AcquireColorCache(), AcquirePixelThreadSet(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), BlackThresholdImageChannel(), CheckImageColors(), ClassifyImageColors(), ClutImageChannel(), CompareImageBounds(), CompareImageChannels(), CompositeImageChannel(), ConnectedComponentsImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), EvaluateImages(), FilterImageChannel(), FloodfillPaintImage(), FrameImage(), FxGetSymbol(), GetAbsoluteDistortion(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelMoments(), GetImageChannelRange(), GetImageDynamicThreshold(), GetImageProperty(), GetMedianPixelList(), GetNumberColors(), GetOneVirtualMagickPixel(), GradientImage(), HaldClutImageChannel(), IdentifyImage(), ImplodeImage(), InterpolateMagickPixelPacket(), InterpolatePixelColor(), InterpolativeResizeImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageSimilar(), KuwaharaImageChannel(), MaskPixelCacheNexus(), MeanShiftImage(), MorphologyPrimitiveDirect(), MotionBlurImageChannel(), OpaquePaintImageChannel(), PolynomialImageChannel(), QueryColorname(), QueryMagickColorCompliance(), RandomThresholdImageChannel(), ResamplePixelColor(), RGBTransformImage(), RotationalBlurImageChannel(), ScaleImage(), SelectiveBlurImageChannel(), SetImageAlphaChannel(), SetImageBackgroundColor(), SketchImage(), SparseColorImage(), SpreadImage(), StatisticImageChannel(), SwirlImage(), ThresholdImageChannel(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), UnsharpMaskImageChannel(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

◆ GetPixelIntensity()

◆ ImportCharPixel()

◆ ImportDoublePixel()

◆ ImportFloatPixel()

◆ ImportImagePixels()

◆ ImportIntegerPixel()

◆ ImportLongPixel()

◆ ImportQuantumPixel()

◆ ImportShortPixel()

◆ InterpolateMagickPixelPacket()

MagickExport MagickBooleanType InterpolateMagickPixelPacket ( const Image image,
const CacheView image_view,
const InterpolatePixelMethod  method,
const double  x,
const double  y,
MagickPixelPacket pixel,
ExceptionInfo exception 
)

◆ MeshInterpolate()

static double MeshInterpolate ( const PointInfo delta,
const double  p,
const double  x,
const double  y 
)
inlinestatic

◆ SplineWeights()

static void SplineWeights ( const MagickRealType  x,
MagickRealType(*)  weights[4] 
)
inlinestatic