MagickCore  6.8.5
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/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)
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 *restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static void ExportDoublePixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static void ExportFloatPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static void ExportIntegerPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static void ExportLongPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static void ExportQuantumPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static void ExportShortPixel (Image *image, const RectangleInfo *roi, const char *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 void GetMagickPixelPacket (const Image *image, MagickPixelPacket *pixel)
static MagickRealType MagickMax (const MagickRealType x, const MagickRealType y)
static MagickRealType MagickMin (const MagickRealType x, const MagickRealType y)
MagickExport MagickRealType GetPixelIntensity (const Image *image, const PixelPacket *restrict pixel)
static void ImportCharPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static void ImportDoublePixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static void ImportFloatPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static void ImportIntegerPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static void ImportLongPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static void ImportQuantumPixel (Image *image, const RectangleInfo *roi, const char *restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static void ImportShortPixel (Image *image, const RectangleInfo *roi, const char *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 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

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

Referenced by DecodePixelGamma().

static double EncodeGamma ( const double  x)
inlinestatic

Referenced by EncodePixelGamma().

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 AcquirePixelThreadSet(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), BlackThresholdImageChannel(), ClassifyImageColors(), ClutImageChannel(), CompareImageBounds(), CompareImageChannels(), CompositeImageChannel(), DistortImage(), DrawAffineImage(), DrawGradientImage(), EvaluateImages(), FilterImageChannel(), FloodfillPaintImage(), FrameImage(), FxGetSymbol(), GetAbsoluteDistortion(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelRange(), GetImageDynamicThreshold(), GetImageProperty(), GetMedianPixelList(), GetNumberColors(), GetOneVirtualMagickPixel(), GradientImage(), HaldClutImageChannel(), IdentifyImage(), ImplodeImage(), InterpolatePixelColor(), InterpolativeResizeImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageSimilar(), IsPaletteImage(), LoadColorLists(), MaskPixelCacheNexus(), MorphologyPrimitiveDirect(), MotionBlurImageChannel(), OpaquePaintImageChannel(), PolynomialImageChannel(), QueryColorname(), QueryMagickColorCompliance(), RadialBlurImageChannel(), RandomThresholdImageChannel(), ResamplePixelColor(), RGBTransformImage(), ScaleImage(), SelectiveBlurImageChannel(), SetImageAlphaChannel(), SetImageBackgroundColor(), SketchImage(), SparseColorImage(), SpreadImage(), StatisticImageChannel(), SwirlImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), UnsharpMaskImageChannel(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

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

Referenced by GetPixelIntensity().

static MagickRealType MagickMin ( const MagickRealType  x,
const MagickRealType  y 
)
inlinestatic

Referenced by GetPixelIntensity().

static double MeshInterpolate ( const PointInfo delta,
const double  p,
const double  x,
const double  y 
)
inlinestatic
static void SplineWeights ( const MagickRealType  x,
MagickRealType(*)  weights[4] 
)
inlinestatic