Lines Matching refs:pixel
63 #include "MagickCore/pixel.h"
64 #include "MagickCore/pixel-accessor.h"
65 #include "MagickCore/pixel-private.h"
963 Reverse Pixel mapping however needs to use reverse of these
1328 Returns 10 coefficent values, which are de-normalized (pixel scale)
1530 Basically we need to separate Virtual-Pixel alpha in the resized
1896 /* direct calculation so center of distortion is either a pixel
1897 * center, or pixel edge. This allows for reversibility of the
1910 /* direct calculation center is either pixel center, or pixel edge
2218 /* NOTE: This does the barrel roll in pixel coords not image coords
2297 Sample the source image to each pixel in the distort image.
2339 pixel, /* pixel color to assign to distorted image */
2359 pixel=zero;
2375 /* Initialize default pixel validity
2376 * negative: pixel is invalid output 'alpha_color'
2386 /* map pixel coordinate to distortion space coordinate */
2407 /* Pixel Validity -- is it a 'sky' or 'ground' pixel */
2599 /* is pixel valid - horizon of a infinite Virtual-Pixel Plane
2646 /* Set the source pixel to lookup and EWA derivative vectors */
2715 /* result of distortion is an invalid pixel - don't resample */
2720 (void) ResamplePixelColor(resample_filter[id],s.x,s.y,&pixel,
2722 /* if validity between 0.0 and 1.0 mix result with invalid pixel */
2724 /* Do a blend of sample color and invalid pixel */
2726 CompositePixelInfoBlend(&pixel,validity,&invalid,(1.0-validity),
2727 &pixel);
2729 SetPixelViaPixelInfo(distort_image,&pixel,q);
3057 pixel; /* pixel to assign to distorted image */
3072 GetPixelInfo(sparse_image,&pixel);
3075 GetPixelInfoPixel(image,q,&pixel);
3082 pixel.red = coeff[x]*i +coeff[x+1]*j
3085 pixel.green = coeff[x]*i +coeff[x+1]*j
3088 pixel.blue = coeff[x]*i +coeff[x+1]*j
3092 pixel.black = coeff[x]*i +coeff[x+1]*j
3096 pixel.alpha = coeff[x]*i +coeff[x+1]*j
3104 pixel.red = coeff[x]*i + coeff[x+1]*j +
3107 pixel.green = coeff[x]*i + coeff[x+1]*j +
3110 pixel.blue = coeff[x]*i + coeff[x+1]*j +
3114 pixel.black = coeff[x]*i + coeff[x+1]*j +
3118 pixel.alpha = coeff[x]*i + coeff[x+1]*j +
3131 pixel.red=0.0;
3133 pixel.green=0.0;
3135 pixel.blue=0.0;
3138 pixel.black=0.0;
3141 pixel.alpha=0.0;
3151 pixel.red += arguments[x++]*weight;
3153 pixel.green += arguments[x++]*weight;
3155 pixel.blue += arguments[x++]*weight;
3158 pixel.black += arguments[x++]*weight;
3161 pixel.alpha += arguments[x++]*weight;
3165 pixel.red/=denominator;
3167 pixel.green/=denominator;
3169 pixel.blue/=denominator;
3172 pixel.black/=denominator;
3175 pixel.alpha/=denominator;
3196 pixel.red=arguments[x++];
3198 pixel.green=arguments[x++];
3200 pixel.blue=arguments[x++];
3203 pixel.black=arguments[x++];
3206 pixel.alpha=arguments[x++];
3231 pixel.red=arguments[x++];
3233 pixel.green=arguments[x++];
3235 pixel.blue=arguments[x++];
3238 pixel.black=arguments[x++];
3241 pixel.alpha=arguments[x++];
3250 pixel.red=ClampPixel(QuantumRange*pixel.red);
3252 pixel.green=ClampPixel(QuantumRange*pixel.green);
3254 pixel.blue=ClampPixel(QuantumRange*pixel.blue);
3257 pixel.black=ClampPixel(QuantumRange*pixel.black);
3260 pixel.alpha=ClampPixel(QuantumRange*pixel.alpha);
3261 SetPixelViaPixelInfo(sparse_image,&pixel,q);