MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
pixel-accessor.h File Reference
#include <assert.h>
#include "MagickCore/cache.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/color.h"
#include "MagickCore/colorspace.h"
#include "MagickCore/gem.h"
#include "MagickCore/image.h"
Include dependency graph for pixel-accessor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static Quantum ClampPixel (const MagickRealType pixel)
 
static Quantum GetPixela (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static Quantum GetPixelAlpha (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelAlphaTraits (const Image *magick_restrict image)
 
static Quantum GetPixelb (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static Quantum GetPixelBlack (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelBlackTraits (const Image *magick_restrict image)
 
static Quantum GetPixelBlue (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelBlueTraits (const Image *magick_restrict image)
 
static Quantum GetPixelCb (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelCbTraits (const Image *magick_restrict image)
 
static Quantum GetPixelChannel (const Image *magick_restrict image, const PixelChannel channel, const Quantum *magick_restrict pixel)
 
static PixelChannel GetPixelChannelChannel (const Image *magick_restrict image, const ssize_t offset)
 
static ssize_t GetPixelChannelOffset (const Image *magick_restrict image, const PixelChannel channel)
 
static PixelTrait GetPixelChannelTraits (const Image *magick_restrict image, const PixelChannel channel)
 
static size_t GetPixelChannels (const Image *magick_restrict image)
 
static Quantum GetPixelCr (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelCrTraits (const Image *magick_restrict image)
 
static Quantum GetPixelCyan (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelCyanTraits (const Image *magick_restrict image)
 
static Quantum GetPixelGray (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelGrayTraits (const Image *magick_restrict image)
 
static Quantum GetPixelGreen (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelGreenTraits (const Image *magick_restrict image)
 
static Quantum GetPixelIndex (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelIndexTraits (const Image *magick_restrict image)
 
static MagickRealType GetPixelInfoChannel (const PixelInfo *magick_restrict pixel_info, const PixelChannel channel)
 
static double PerceptibleReciprocal (const double x)
 
static MagickRealType GetPixelInfoLuma (const PixelInfo *magick_restrict pixel)
 
static MagickRealType GetPixelInfoLuminance (const PixelInfo *magick_restrict pixel)
 
static Quantum GetPixelL (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static ssize_t GetPixelLabel (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static MagickRealType GetPixelLuma (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static MagickRealType GetPixelLuminance (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static Quantum GetPixelMagenta (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelMagentaTraits (const Image *magick_restrict image)
 
static Quantum GetPixelReadMask (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static Quantum GetPixelWriteMask (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelReadMaskTraits (const Image *magick_restrict image)
 
static size_t GetPixelMetaChannels (const Image *magick_restrict image)
 
static size_t GetPixelMetacontentExtent (const Image *magick_restrict image)
 
static Quantum GetPixelOpacity (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static Quantum GetPixelRed (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelRedTraits (const Image *magick_restrict image)
 
static void GetPixelInfoPixel (const Image *magick_restrict image, const Quantum *magick_restrict pixel, PixelInfo *magick_restrict pixel_info)
 
static PixelTrait GetPixelTraits (const Image *magick_restrict image, const PixelChannel channel)
 
static Quantum GetPixelY (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelYTraits (const Image *magick_restrict image)
 
static Quantum GetPixelYellow (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static PixelTrait GetPixelYellowTraits (const Image *magick_restrict image)
 
static MagickRealType AbsolutePixelValue (const MagickRealType x)
 
static MagickBooleanType IsPixelAtDepth (const Quantum pixel, const QuantumAny range)
 
static MagickBooleanType IsPixelEquivalent (const Image *magick_restrict image, const Quantum *magick_restrict p, const PixelInfo *magick_restrict q)
 
static MagickBooleanType IsPixelGray (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static MagickBooleanType IsPixelInfoEquivalent (const PixelInfo *magick_restrict p, const PixelInfo *magick_restrict q)
 
static MagickBooleanType IsPixelMonochrome (const Image *magick_restrict image, const Quantum *magick_restrict pixel)
 
static MagickBooleanType IsPixelInfoGray (const PixelInfo *magick_restrict pixel)
 
static MagickBooleanType IsPixelInfoMonochrome (const PixelInfo *magick_restrict pixel_info)
 
static void SetPixela (const Image *magick_restrict image, const Quantum a, Quantum *magick_restrict pixel)
 
static void SetPixelAlpha (const Image *magick_restrict image, const Quantum alpha, Quantum *magick_restrict pixel)
 
static void SetPixelAlphaTraits (Image *image, const PixelTrait traits)
 
static void SetPixelb (const Image *magick_restrict image, const Quantum b, Quantum *magick_restrict pixel)
 
static void SetPixelBackgoundColor (const Image *magick_restrict image, Quantum *magick_restrict pixel)
 
static void SetPixelBlack (const Image *magick_restrict image, const Quantum black, Quantum *magick_restrict pixel)
 
static void SetPixelBlackTraits (Image *image, const PixelTrait traits)
 
static void SetPixelBlue (const Image *magick_restrict image, const Quantum blue, Quantum *magick_restrict pixel)
 
static void SetPixelBlueTraits (Image *image, const PixelTrait traits)
 
static void SetPixelCb (const Image *magick_restrict image, const Quantum cb, Quantum *magick_restrict pixel)
 
static void SetPixelCbTraits (Image *image, const PixelTrait traits)
 
static void SetPixelChannel (const Image *magick_restrict image, const PixelChannel channel, const Quantum quantum, Quantum *magick_restrict pixel)
 
static void SetPixelChannelAttributes (const Image *magick_restrict image, const PixelChannel channel, const PixelTrait traits, const ssize_t offset)
 
static void SetPixelChannelChannel (const Image *magick_restrict image, const PixelChannel channel, const ssize_t offset)
 
static void SetPixelChannels (Image *image, const size_t number_channels)
 
static void SetPixelChannelTraits (Image *image, const PixelChannel channel, const PixelTrait traits)
 
static void SetPixelCr (const Image *magick_restrict image, const Quantum cr, Quantum *magick_restrict pixel)
 
static void SetPixelCrTraits (Image *image, const PixelTrait traits)
 
static void SetPixelCyan (const Image *magick_restrict image, const Quantum cyan, Quantum *magick_restrict pixel)
 
static void SetPixelGray (const Image *magick_restrict image, const Quantum gray, Quantum *magick_restrict pixel)
 
static void SetPixelGrayTraits (Image *image, const PixelTrait traits)
 
static void SetPixelGreen (const Image *magick_restrict image, const Quantum green, Quantum *magick_restrict pixel)
 
static void SetPixelGreenTraits (Image *image, const PixelTrait traits)
 
static void SetPixelIndex (const Image *magick_restrict image, const Quantum index, Quantum *magick_restrict pixel)
 
static void SetPixelIndexTraits (Image *image, const PixelTrait traits)
 
static void SetPixelViaPixelInfo (const Image *magick_restrict image, const PixelInfo *magick_restrict pixel_info, Quantum *magick_restrict pixel)
 
static void SetPixelL (const Image *magick_restrict image, const Quantum L, Quantum *magick_restrict pixel)
 
static void SetPixelMagenta (const Image *magick_restrict image, const Quantum magenta, Quantum *magick_restrict pixel)
 
static void SetPixelMagentaTraits (Image *image, const PixelTrait traits)
 
static void SetPixelReadMask (const Image *magick_restrict image, const Quantum mask, Quantum *magick_restrict pixel)
 
static void SetPixelWriteMask (const Image *magick_restrict image, const Quantum mask, Quantum *magick_restrict pixel)
 
static void SetPixelMetacontentExtent (Image *image, const size_t extent)
 
static void SetPixelOpacity (const Image *magick_restrict image, const Quantum alpha, Quantum *magick_restrict pixel)
 
static void SetPixelRed (const Image *magick_restrict image, const Quantum red, Quantum *magick_restrict pixel)
 
static void SetPixelRedTraits (Image *image, const PixelTrait traits)
 
static void SetPixelYellow (const Image *magick_restrict image, const Quantum yellow, Quantum *magick_restrict pixel)
 
static void SetPixelYellowTraits (Image *image, const PixelTrait traits)
 
static void SetPixelY (const Image *magick_restrict image, const Quantum y, Quantum *magick_restrict pixel)
 
static void SetPixelYTraits (Image *image, const PixelTrait traits)
 

Function Documentation

◆ AbsolutePixelValue()

static MagickRealType AbsolutePixelValue ( const MagickRealType  x)
inlinestatic

◆ ClampPixel()

◆ GetPixela()

static Quantum GetPixela ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 48 of file pixel-accessor.h.

References aPixelChannel.

◆ GetPixelAlpha()

static Quantum GetPixelAlpha ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 54 of file pixel-accessor.h.

References AlphaPixelChannel, OpaqueAlpha, and UndefinedPixelTrait.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AlphaBlendPixelInfo(), AssociateAlphaPixel(), CheckImageColors(), ClassifyImageColors(), ColorMatrixImage(), CompareImages(), ComplexImages(), CompositeImage(), CompositeOverImage(), ConnectedComponentsImage(), DrawPolygonPrimitive(), DrawPrimitive(), ExportAlphaQuantum(), ExportBGRAQuantum(), ExportCharPixel(), ExportCMYKAQuantum(), ExportDoublePixel(), ExportFloatPixel(), ExportGrayAlphaQuantum(), ExportIndexAlphaQuantum(), ExportLongLongPixel(), ExportLongPixel(), ExportQuantumPixel(), ExportQuantumPixels(), ExportRGBAQuantum(), ExportShortPixel(), ForwardFourierTransformImage(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageFeatures(), GetImageQuantizeError(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), HorizontalFilter(), IdentifyImage(), ImportQuantumPixels(), InterpolatePixelChannel(), InterpolatePixelChannels(), IsBoundsCleared(), IsFuzzyEquivalencePixel(), IsImageOpaque(), MorphologyPrimitive(), MotionBlurImage(), PosterizeImage(), RenderType(), ResamplePixelColor(), RotationalBlurImage(), ScaleImage(), SelectiveBlurImage(), SepiaToneImage(), SetImageAlphaChannel(), ShadowImage(), SmushXGap(), SmushYGap(), SpliceImage(), StereoAnaglyphImage(), StreamImagePixels(), TintImage(), VerticalFilter(), XShearImage(), and YShearImage().

◆ GetPixelAlphaTraits()

◆ GetPixelb()

static Quantum GetPixelb ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 68 of file pixel-accessor.h.

References bPixelChannel.

◆ GetPixelBlack()

◆ GetPixelBlackTraits()

static PixelTrait GetPixelBlackTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 82 of file pixel-accessor.h.

References BlackPixelChannel.

Referenced by HaldClutImage(), LevelImageColors(), PosterizeImage(), and SparseColorImage().

◆ GetPixelBlue()

◆ GetPixelBlueTraits()

◆ GetPixelCb()

static Quantum GetPixelCb ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 99 of file pixel-accessor.h.

References CbPixelChannel.

◆ GetPixelCbTraits()

static PixelTrait GetPixelCbTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 105 of file pixel-accessor.h.

References CbPixelChannel.

◆ GetPixelChannel()

◆ GetPixelChannelChannel()

static PixelChannel GetPixelChannelChannel ( const Image *magick_restrict  image,
const ssize_t  offset 
)
inlinestatic

Definition at line 118 of file pixel-accessor.h.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AutoGammaImage(), BilevelImage(), BlackThresholdImage(), ChopImage(), ClampImage(), CombineImages(), CompareImages(), CompositeImage(), CompositeOverImage(), CompositePixelOver(), ContrastStretchImage(), CopyImagePixels(), CopyImageRegion(), CopyPixel(), CropImage(), DespeckleImage(), EqualizeImage(), EvaluateImage(), EvaluateImages(), ExcerptImage(), ExportQuantumPixels(), FlattenPixelInfo(), FlipImage(), FlopImage(), FunctionImage(), FxImage(), GammaImage(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetImageChannels(), GetImageDepth(), GetImageMoments(), GetImageRange(), GetImageStatistics(), GetLocationStatistics(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetOneAuthenticPixelFromStream(), GetOneCacheViewAuthenticPixel(), GetOneCacheViewVirtualMethodPixel(), GetOneCacheViewVirtualPixel(), GetOneVirtualPixelFromStream(), GetPeakAbsoluteDistortion(), GetStructuralSimilarityDistortion(), HorizontalFilter(), ImplodeImage(), ImportQuantumPixels(), IntegralRotateImage(), InterpolatePixelChannels(), InterpolativeResizeImage(), IsImagesEqual(), LevelImage(), LevelizeImage(), LogPixelChannels(), MinMaxStretchImage(), MorphImages(), MorphologyPrimitive(), MotionBlurImage(), NegateImage(), OilPaintImage(), OrderedDitherImage(), PerceptibleImage(), PlasmaImageProxy(), PolynomialImage(), PrintChannelPerceptualHash(), RaiseImage(), RandomThresholdImage(), RotationalBlurImage(), SampleImage(), ScaleImage(), SelectiveBlurImage(), SeparateImage(), SeparateImages(), SetImageAlphaChannel(), SetImageColorMetric(), SetImageDepth(), SetPixelChannelMask(), ShadeImage(), SigmoidalContrastImage(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SpliceImage(), StatisticImage(), SwirlImage(), TextureImage(), TransposeImage(), TransverseImage(), UnsharpMaskImage(), VerticalFilter(), WaveletDenoiseImage(), and WhiteThresholdImage().

◆ GetPixelChannelOffset()

static ssize_t GetPixelChannelOffset ( const Image *magick_restrict  image,
const PixelChannel  channel 
)
inlinestatic

◆ GetPixelChannels()

static size_t GetPixelChannels ( const Image *magick_restrict  image)
inlinestatic

Definition at line 136 of file pixel-accessor.h.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AppendImages(), AssignImageColors(), AutoGammaImage(), AutoThresholdImage(), BilevelImage(), BlackThresholdImage(), BlueShiftImage(), CannyEdgeImage(), ChannelFxImage(), ChannelImage(), CheckImageColors(), ChopImage(), ClampImage(), Classify(), ClassifyImageColors(), ClearBounds(), ClutImage(), ColorDecisionListImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImages(), CompareImagesBounds(), ComplexImages(), CompositeImage(), CompositeOverImage(), CompositePixelOver(), ConnectedComponentsImage(), ConsolidateCMYKImages(), ContrastImage(), ContrastStretchImage(), CopyImagePixels(), CopyImageRegion(), CopyPixel(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), EqualizeImage(), EvaluateImage(), EvaluateImages(), ExcerptImage(), ExportAlphaQuantum(), ExportBGRAQuantum(), ExportBGROQuantum(), ExportBGRQuantum(), ExportBlackQuantum(), ExportBlueQuantum(), ExportCbYCrYQuantum(), ExportCharPixel(), ExportCMYKAQuantum(), ExportCMYKOQuantum(), ExportCMYKQuantum(), ExportDoublePixel(), ExportFloatPixel(), ExportGrayAlphaQuantum(), ExportGrayQuantum(), ExportGreenQuantum(), ExportIndexAlphaQuantum(), ExportIndexQuantum(), ExportLongLongPixel(), ExportLongPixel(), ExportOpacityQuantum(), ExportQuantumPixel(), ExportQuantumPixels(), ExportRedQuantum(), ExportRGBAQuantum(), ExportRGBOQuantum(), ExportRGBQuantum(), ExportShortPixel(), FlattenPixelInfo(), FlipImage(), FloodfillPaintImage(), FlopImage(), FloydSteinbergDither(), ForwardFourierTransformImage(), FrameImage(), FunctionImage(), FxImage(), GammaImage(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannels(), GetImageDepth(), GetImageDynamicThreshold(), GetImageFeatures(), GetImageMask(), GetImageMoments(), GetImageQuantizeError(), GetImageRange(), GetImageStatistics(), GetImageTotalInkDensity(), GetLocationStatistics(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetOneAuthenticPixelFromStream(), GetOneCacheViewAuthenticPixel(), GetOneCacheViewVirtualMethodPixel(), GetOneCacheViewVirtualPixel(), GetOneVirtualPixelFromStream(), GetPeakAbsoluteDistortion(), GetStructuralSimilarityDistortion(), GrayscaleImage(), HaldClutImage(), HorizontalFilter(), HoughLineImage(), HuffmanDecodeImage(), HuffmanEncodeImage(), IdentifyImage(), IdentifyImageGray(), IdentifyImageMonochrome(), ImplodeImage(), ImportAlphaQuantum(), ImportBGRAQuantum(), ImportBGROQuantum(), ImportBGRQuantum(), ImportBlackQuantum(), ImportBlueQuantum(), ImportCbYCrYQuantum(), ImportCharPixel(), ImportCMYKAQuantum(), ImportCMYKOQuantum(), ImportCMYKQuantum(), ImportDoublePixel(), ImportFloatPixel(), ImportGrayAlphaQuantum(), ImportGrayQuantum(), ImportGreenQuantum(), ImportIndexAlphaQuantum(), ImportIndexQuantum(), ImportLongLongPixel(), ImportLongPixel(), ImportOpacityQuantum(), ImportQuantumPixel(), ImportQuantumPixels(), ImportRedQuantum(), ImportRGBAQuantum(), ImportRGBOQuantum(), ImportRGBQuantum(), ImportShortPixel(), InitializeHistogram(), IntegralRotateImage(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolatePixelInfo(), InterpolativeResizeImage(), IsBoundsCleared(), IsHighDynamicRangeImage(), IsImageOpaque(), IsImagesEqual(), KuwaharaImage(), LevelImage(), LevelizeImage(), LinearStretchImage(), MagnifyImage(), MatrixToImage(), MeanShiftImage(), MinMaxStretchImage(), ModulateImage(), MorphImages(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImage(), NegateImage(), NewMagickImage(), OilPaintImage(), OpaquePaintImage(), OpenPixelCache(), OrderedDitherImage(), PerceptibleImage(), PlasmaImageProxy(), PolynomialImage(), PosterizeImage(), PrintChannelLocations(), PrintChannelPerceptualHash(), ProfileImage(), RadonTransform(), RaiseImage(), RandomThresholdImage(), RenderPostscript(), RenderType(), ResamplePixelColor(), ResetPixelCacheChannels(), RotationalBlurImage(), SampleImage(), ScaleImage(), SelectiveBlurImage(), SeparateImage(), SeparateImages(), SepiaToneImage(), SetCacheAlphaChannel(), SetGrayscaleImage(), SetImageAlpha(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageColor(), SetImageColorMetric(), SetImageDepth(), SetImageMask(), SetImageRegionMask(), SetPixelBackgoundColor(), SetPixelChannelMask(), ShadeImage(), ShadowImage(), SigmoidalContrastImage(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), sRGBTransformImage(), StatisticImage(), StereoAnaglyphImage(), StreamImagePixels(), SwirlImage(), SyncImage(), TextureImage(), TintImage(), TransformsRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImage(), VerticalFilter(), WaveImage(), WaveletDenoiseImage(), WhiteThresholdImage(), XShearImage(), and YShearImage().

◆ GetPixelChannelTraits()

static PixelTrait GetPixelChannelTraits ( const Image *magick_restrict  image,
const PixelChannel  channel 
)
inlinestatic

Definition at line 130 of file pixel-accessor.h.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AutoGammaImage(), BilevelImage(), BlackThresholdImage(), ChannelImage(), ChopImage(), ClampImage(), ClutImage(), ColorizeImage(), CombineImages(), CompareImages(), CompositeImage(), CompositeOverImage(), CompositePixelOver(), ContrastStretchImage(), CopyImagePixels(), CopyImageRegion(), CropImage(), DespeckleImage(), EqualizeImage(), EvaluateImage(), EvaluateImages(), ExcerptImage(), ExportQuantumPixels(), FlattenPixelInfo(), FlipImage(), FlopImage(), FunctionImage(), FxImage(), GammaImage(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetImageChannels(), GetImageDepth(), GetImageMoments(), GetImageRange(), GetImageStatistics(), GetLocationStatistics(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetStructuralSimilarityDistortion(), HorizontalFilter(), ImplodeImage(), ImportQuantumPixels(), IntegralRotateImage(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolativeResizeImage(), IsHighDynamicRangeImage(), IsImagesEqual(), LevelImage(), LevelizeImage(), LogPixelChannels(), MinMaxStretchImage(), MorphImages(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImage(), NegateImage(), OilPaintImage(), OpaquePaintImage(), OrderedDitherImage(), PerceptibleImage(), PlasmaImageProxy(), PolynomialImage(), PrintChannelLocations(), PrintChannelPerceptualHash(), RaiseImage(), RandomThresholdImage(), RotationalBlurImage(), SampleImage(), ScaleImage(), SelectiveBlurImage(), SeparateImage(), SeparateImages(), SetImageAlphaChannel(), SetImageColorMetric(), SetImageDepth(), ShadeImage(), SigmoidalContrastImage(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SpliceImage(), StatisticImage(), SwirlImage(), TextureImage(), TransposeImage(), TransverseImage(), UnsharpMaskImage(), VerticalFilter(), WaveletDenoiseImage(), and WhiteThresholdImage().

◆ GetPixelCr()

static Quantum GetPixelCr ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 141 of file pixel-accessor.h.

References CrPixelChannel.

◆ GetPixelCrTraits()

static PixelTrait GetPixelCrTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 147 of file pixel-accessor.h.

References CrPixelChannel.

◆ GetPixelCyan()

static Quantum GetPixelCyan ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 152 of file pixel-accessor.h.

References CyanPixelChannel.

◆ GetPixelCyanTraits()

static PixelTrait GetPixelCyanTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 158 of file pixel-accessor.h.

References CyanPixelChannel.

◆ GetPixelGray()

static Quantum GetPixelGray ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 163 of file pixel-accessor.h.

References GrayPixelChannel.

Referenced by CombineImages(), FloodfillPaintImage(), and TransformsRGBImage().

◆ GetPixelGrayTraits()

static PixelTrait GetPixelGrayTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 169 of file pixel-accessor.h.

References GrayPixelChannel.

◆ GetPixelGreen()

◆ GetPixelGreenTraits()

◆ GetPixelIndex()

◆ GetPixelIndexTraits()

static PixelTrait GetPixelIndexTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 194 of file pixel-accessor.h.

References IndexPixelChannel.

◆ GetPixelInfoChannel()

static MagickRealType GetPixelInfoChannel ( const PixelInfo *magick_restrict  pixel_info,
const PixelChannel  channel 
)
inlinestatic

◆ GetPixelInfoLuma()

static MagickRealType GetPixelInfoLuma ( const PixelInfo *magick_restrict  pixel)
inlinestatic

Definition at line 229 of file pixel-accessor.h.

References EncodePixelGamma(), and sRGBColorspace.

Referenced by AssignImageColors().

◆ GetPixelInfoLuminance()

static MagickRealType GetPixelInfoLuminance ( const PixelInfo *magick_restrict  pixel)
inlinestatic

Definition at line 247 of file pixel-accessor.h.

References DecodePixelGamma(), and sRGBColorspace.

◆ GetPixelInfoPixel()

◆ GetPixelL()

static Quantum GetPixelL ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 265 of file pixel-accessor.h.

References LPixelChannel.

◆ GetPixelLabel()

static ssize_t GetPixelLabel ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 271 of file pixel-accessor.h.

References LabelPixelChannel.

◆ GetPixelLuma()

◆ GetPixelLuminance()

static MagickRealType GetPixelLuminance ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

◆ GetPixelMagenta()

static Quantum GetPixelMagenta ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 313 of file pixel-accessor.h.

References MagentaPixelChannel.

◆ GetPixelMagentaTraits()

static PixelTrait GetPixelMagentaTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 319 of file pixel-accessor.h.

References MagentaPixelChannel.

◆ GetPixelMetaChannels()

static size_t GetPixelMetaChannels ( const Image *magick_restrict  image)
inlinestatic

Definition at line 347 of file pixel-accessor.h.

◆ GetPixelMetacontentExtent()

static size_t GetPixelMetacontentExtent ( const Image *magick_restrict  image)
inlinestatic

Definition at line 352 of file pixel-accessor.h.

◆ GetPixelOpacity()

static Quantum GetPixelOpacity ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

◆ GetPixelReadMask()

◆ GetPixelReadMaskTraits()

static PixelTrait GetPixelReadMaskTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 341 of file pixel-accessor.h.

References ReadMaskPixelChannel.

◆ GetPixelRed()

◆ GetPixelRedTraits()

◆ GetPixelTraits()

static PixelTrait GetPixelTraits ( const Image *magick_restrict  image,
const PixelChannel  channel 
)
inlinestatic

Definition at line 409 of file pixel-accessor.h.

◆ GetPixelWriteMask()

static Quantum GetPixelWriteMask ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 333 of file pixel-accessor.h.

References QuantumRange, UndefinedPixelTrait, and WriteMaskPixelChannel.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AppendImages(), BilevelImage(), BlackThresholdImage(), ClampImage(), ClutImage(), ColorizeImage(), CompositeImage(), CompositeOverImage(), ContrastStretchImage(), CopyImageRegion(), CropImage(), EnhanceImage(), EqualizeImage(), EvaluateImage(), EvaluateImages(), ExcerptImage(), ExportQuantumPixels(), FlipImage(), FlopImage(), FunctionImage(), FxImage(), GammaImage(), GetAbsoluteDistortion(), GetImageDepth(), GetImageMask(), GetImageMoments(), GetImageRange(), GetImageStatistics(), GrayscaleImage(), HorizontalFilter(), ImplodeImage(), ImportQuantumPixels(), IntegralRotateImage(), InterpolativeResizeImage(), IsHighDynamicRangeImage(), IsImagesEqual(), LevelImage(), LevelizeImage(), ModulateImage(), MorphImages(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImage(), NegateImage(), OilPaintImage(), OpaquePaintImage(), OrderedDitherImage(), PerceptibleImage(), PolynomialImage(), RaiseImage(), RandomThresholdImage(), RotationalBlurImage(), SampleImage(), ScaleImage(), SelectiveBlurImage(), SeparateImage(), SetImageAlpha(), SetImageAlphaChannel(), SetImageColorMetric(), SetImageDepth(), ShadeImage(), SigmoidalContrastImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SpliceImage(), StatisticImage(), SwirlImage(), TextureImage(), TintImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImage(), VerticalFilter(), and WhiteThresholdImage().

◆ GetPixelY()

static Quantum GetPixelY ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 415 of file pixel-accessor.h.

References YPixelChannel.

◆ GetPixelYellow()

static Quantum GetPixelYellow ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 426 of file pixel-accessor.h.

References YellowPixelChannel.

◆ GetPixelYellowTraits()

static PixelTrait GetPixelYellowTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 432 of file pixel-accessor.h.

References YellowPixelChannel.

◆ GetPixelYTraits()

static PixelTrait GetPixelYTraits ( const Image *magick_restrict  image)
inlinestatic

Definition at line 421 of file pixel-accessor.h.

References YPixelChannel.

◆ IsPixelAtDepth()

static MagickBooleanType IsPixelAtDepth ( const Quantum  pixel,
const QuantumAny  range 
)
inlinestatic

Definition at line 443 of file pixel-accessor.h.

References MagickFalse, MagickTrue, and QuantumRange.

Referenced by GetImageDepth().

◆ IsPixelEquivalent()

◆ IsPixelGray()

static MagickBooleanType IsPixelGray ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

◆ IsPixelInfoEquivalent()

◆ IsPixelInfoGray()

◆ IsPixelInfoMonochrome()

static MagickBooleanType IsPixelInfoMonochrome ( const PixelInfo *magick_restrict  pixel_info)
inlinestatic

◆ IsPixelMonochrome()

static MagickBooleanType IsPixelMonochrome ( const Image *magick_restrict  image,
const Quantum *magick_restrict  pixel 
)
inlinestatic

◆ PerceptibleReciprocal()

◆ SetPixela()

static void SetPixela ( const Image *magick_restrict  image,
const Quantum  a,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 594 of file pixel-accessor.h.

References aPixelChannel, and UndefinedPixelTrait.

◆ SetPixelAlpha()

◆ SetPixelAlphaTraits()

static void SetPixelAlphaTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

◆ SetPixelb()

static void SetPixelb ( const Image *magick_restrict  image,
const Quantum  b,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 613 of file pixel-accessor.h.

References bPixelChannel, and UndefinedPixelTrait.

◆ SetPixelBackgoundColor()

◆ SetPixelBlack()

◆ SetPixelBlackTraits()

static void SetPixelBlackTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

◆ SetPixelBlue()

◆ SetPixelBlueTraits()

static void SetPixelBlueTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

Definition at line 661 of file pixel-accessor.h.

References BluePixelChannel, _Image::channel_map, and _PixelChannelMap::traits.

◆ SetPixelCb()

static void SetPixelCb ( const Image *magick_restrict  image,
const Quantum  cb,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 666 of file pixel-accessor.h.

References CbPixelChannel.

◆ SetPixelCbTraits()

static void SetPixelCbTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

Definition at line 672 of file pixel-accessor.h.

References CbPixelChannel, _Image::channel_map, and _PixelChannelMap::traits.

◆ SetPixelChannel()

◆ SetPixelChannelAttributes()

static void SetPixelChannelAttributes ( const Image *magick_restrict  image,
const PixelChannel  channel,
const PixelTrait  traits,
const ssize_t  offset 
)
inlinestatic

Definition at line 685 of file pixel-accessor.h.

References MaxPixelChannels.

Referenced by InitializePixelChannelMap().

◆ SetPixelChannelChannel()

static void SetPixelChannelChannel ( const Image *magick_restrict  image,
const PixelChannel  channel,
const ssize_t  offset 
)
inlinestatic

Definition at line 696 of file pixel-accessor.h.

◆ SetPixelChannels()

static void SetPixelChannels ( Image image,
const size_t  number_channels 
)
inlinestatic

Definition at line 703 of file pixel-accessor.h.

References _Image::number_channels.

◆ SetPixelChannelTraits()

static void SetPixelChannelTraits ( Image image,
const PixelChannel  channel,
const PixelTrait  traits 
)
inlinestatic

Definition at line 708 of file pixel-accessor.h.

References _Image::channel_map, and _PixelChannelMap::traits.

Referenced by SetPixelChannelMask().

◆ SetPixelCr()

static void SetPixelCr ( const Image *magick_restrict  image,
const Quantum  cr,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 714 of file pixel-accessor.h.

References CrPixelChannel.

◆ SetPixelCrTraits()

static void SetPixelCrTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

Definition at line 720 of file pixel-accessor.h.

References _Image::channel_map, CrPixelChannel, and _PixelChannelMap::traits.

◆ SetPixelCyan()

static void SetPixelCyan ( const Image *magick_restrict  image,
const Quantum  cyan,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 725 of file pixel-accessor.h.

References CyanPixelChannel.

Referenced by ConsolidateCMYKImages().

◆ SetPixelGray()

◆ SetPixelGrayTraits()

static void SetPixelGrayTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

Definition at line 737 of file pixel-accessor.h.

References _Image::channel_map, GrayPixelChannel, and _PixelChannelMap::traits.

◆ SetPixelGreen()

◆ SetPixelGreenTraits()

static void SetPixelGreenTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

◆ SetPixelIndex()

◆ SetPixelIndexTraits()

static void SetPixelIndexTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

◆ SetPixelL()

static void SetPixelL ( const Image *magick_restrict  image,
const Quantum  L,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 783 of file pixel-accessor.h.

References LPixelChannel, and UndefinedPixelTrait.

◆ SetPixelMagenta()

static void SetPixelMagenta ( const Image *magick_restrict  image,
const Quantum  magenta,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 790 of file pixel-accessor.h.

References MagentaPixelChannel.

Referenced by ConsolidateCMYKImages().

◆ SetPixelMagentaTraits()

static void SetPixelMagentaTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

◆ SetPixelMetacontentExtent()

static void SetPixelMetacontentExtent ( Image image,
const size_t  extent 
)
inlinestatic

Definition at line 815 of file pixel-accessor.h.

References _Image::metacontent_extent.

◆ SetPixelOpacity()

static void SetPixelOpacity ( const Image *magick_restrict  image,
const Quantum  alpha,
Quantum *magick_restrict  pixel 
)
inlinestatic

◆ SetPixelReadMask()

static void SetPixelReadMask ( const Image *magick_restrict  image,
const Quantum  mask,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 801 of file pixel-accessor.h.

References ReadMaskPixelChannel, and UndefinedPixelTrait.

Referenced by SetImageMask(), and SetImageRegionMask().

◆ SetPixelRed()

◆ SetPixelRedTraits()

static void SetPixelRedTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

Definition at line 833 of file pixel-accessor.h.

References _Image::channel_map, RedPixelChannel, and _PixelChannelMap::traits.

◆ SetPixelViaPixelInfo()

◆ SetPixelWriteMask()

static void SetPixelWriteMask ( const Image *magick_restrict  image,
const Quantum  mask,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 808 of file pixel-accessor.h.

References UndefinedPixelTrait, and WriteMaskPixelChannel.

Referenced by SetImageMask(), and SetImageRegionMask().

◆ SetPixelY()

static void SetPixelY ( const Image *magick_restrict  image,
const Quantum  y,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 849 of file pixel-accessor.h.

References YPixelChannel.

◆ SetPixelYellow()

static void SetPixelYellow ( const Image *magick_restrict  image,
const Quantum  yellow,
Quantum *magick_restrict  pixel 
)
inlinestatic

Definition at line 838 of file pixel-accessor.h.

References YellowPixelChannel.

Referenced by ConsolidateCMYKImages().

◆ SetPixelYellowTraits()

static void SetPixelYellowTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

◆ SetPixelYTraits()

static void SetPixelYTraits ( Image image,
const PixelTrait  traits 
)
inlinestatic

Definition at line 855 of file pixel-accessor.h.

References _Image::channel_map, _PixelChannelMap::traits, and YPixelChannel.