Searched defs:intensity (Results 1 - 25 of 37) sorted by relevance

12

/external/ImageMagick/MagickCore/
H A Dcolormap.c254 % decreasing color intensity.
280 intensity;
284 intensity=(int) GetPixelInfoIntensity((const Image *) NULL,color_2)-(int)
286 return(intensity);
276 intensity; local
H A Dgem.c378 % ConvertHSIToRGB() transforms a (hue, saturation, intensity) to a (red,
384 % const double intensity,double *red,double *green,double *blue)
388 % o hue, saturation, intensity: A double value representing a
395 const double intensity,double *red,double *green,double *blue)
413 b=intensity*(1.0-saturation);
414 r=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
416 g=3.0*intensity-r-b;
422 r=intensity*(1.0-saturation);
423 g=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
425 b=3.0*intensity
389 ConvertHSIToRGB(const double hue,const double saturation, const double intensity,double *red,double *green,double *blue) argument
1042 ConvertRGBToHSI(const double red,const double green, const double blue,double *hue,double *saturation,double *intensity) argument
[all...]
H A Dpixel.c502 % Y = yellow, M = magenta, K = black, I = intensity (for grayscale),
2208 % GetPixelInfoIntensity() returns a single sample intensity value from the red,
2241 intensity;
2248 method=image->intensity;
2256 intensity=(red+green+blue)/3.0;
2261 intensity=MagickMax(MagickMax(red,green),blue);
2266 intensity=(MagickMin(MagickMin(red,green),blue)+
2272 intensity=(MagickRealType) (((double) red*red+green*green+blue*blue)/
2284 intensity=0.298839*red+0.586811*green+0.114350*blue;
2295 intensity
2230 intensity; local
2364 intensity; local
[all...]
H A Dfeature.c139 intensity;
220 (pixel.intensity >= lower_threshold))
303 Find the intensity gradient of the image.
374 intensity;
376 intensity=GetPixelIntensity(edge_image,kernel_pixels+u);
377 dx+=0.5*Gx[v][u]*intensity;
378 dy+=0.5*Gy[v][u]*intensity;
423 max=element.intensity;
424 min=element.intensity;
495 pixel.intensity
137 intensity; member in struct:_CannyInfo
372 intensity; local
[all...]
H A Dmorphology.c728 % results is then added together, to produce the intensity of an edge in
2842 intensity,
3084 Select pixel with minimum intensity within kernel neighbourhood.
3096 intensity=(double) GetPixelIntensity(image,pixels);
3097 if (intensity < minimum)
3100 minimum=intensity;
3114 Select pixel with maximum intensity within kernel neighbourhood.
3126 intensity=(double) GetPixelIntensity(image,pixels);
3127 if (intensity > maximum)
3130 maximum=intensity;
2832 intensity, local
[all...]
H A Dpixel-accessor.h232 intensity; local
236 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+
238 return(intensity);
240 intensity=(MagickRealType) (0.212656f*EncodePixelGamma(pixel->red)+
243 return(intensity);
250 intensity; local
254 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+
256 return(intensity);
258 intensity=(MagickRealType) (0.212656f*DecodePixelGamma(pixel->red)+
261 return(intensity);
280 intensity; local
293 intensity; local
[all...]
H A Dquantize.c56 % intensity which varies linearly from 0 to a maximum value, Cmax, which
656 intensity;
661 intensity=0.0;
665 intensity=(double) QuantumRange;
666 image->colormap[0].red=intensity;
667 image->colormap[0].green=intensity;
668 image->colormap[0].blue=intensity;
671 image->colormap[1].red=(double) QuantumRange-intensity;
672 image->colormap[1].green=(double) QuantumRange-intensity;
673 image->colormap[1].blue=(double) QuantumRange-intensity;
650 intensity; local
3281 intensity; local
3361 intensity; local
[all...]
H A Daccelerate.c332 method = image->intensity;
1006 intensity; local
1181 intensity=0.0;
1184 intensity+=histogram[i].s[2];
1185 if (intensity > black_point)
1189 intensity=0.0;
1192 intensity+=histogram[i].s[2];
1193 if (intensity > ((double) image->columns*image->rows-white_point))
1202 intensity=0.0;
1205 intensity
2368 intensity, local
[all...]
H A Deffect.c3227 intensity;
3232 intensity=GetPixelIntensity(image,p+center);
3284 intensity;
3311 contrast=GetPixelIntensity(image,pixels)-intensity;
3391 % o gray: A value other than zero shades the intensity of each pixel.
3212 intensity; local
H A Denhance.c826 % ContrastImage() enhances the intensity differences between the lighter and
999 % to improve the contrast in an image by 'stretching' the range of intensity
1126 intensity;
1133 intensity=0.0;
1136 intensity+=histogram[GetPixelChannels(image)*j+i];
1137 if (intensity > black_point)
1141 intensity=0.0;
1144 intensity+=histogram[GetPixelChannels(image)*j+i];
1145 if (intensity > ((double) image->columns*image->rows-white_point))
1592 intensity;
1118 intensity; local
1582 intensity; local
1599 intensity; local
2025 intensity; local
2838 intensity; local
3011 intensity, local
[all...]
H A Dimage.c3037 intensity;
3039 intensity=GetPixelIntensity(mask,p);
3044 SetPixelWriteMask(image,ClampToQuantum(QuantumRange-intensity),q);
3049 SetPixelReadMask(image,ClampToQuantum(QuantumRange-intensity),q);
3793 option=GetImageOption(image_info,"intensity");
3795 image->intensity=(PixelIntensityMethod) ParseCommandOption(
3001 intensity; local
H A Dimage.h225 intensity; /* method to generate an intensity value from a pixel */ member in struct:_Image
H A Dproperty.c175 image->intensity=clone_image->intensity;
4179 if (LocaleCompare("intensity",property) == 0)
4182 intensity;
4184 intensity=ParseCommandOption(MagickIntentOptions,MagickFalse,value);
4185 if (intensity < 0)
4187 image->intensity=(PixelIntensityMethod) intensity;
4169 intensity; local
H A Dresize.c2104 intensity[9];
2126 intensity[i]=GetPixelIntensity(image,p+i*channels);
2128 if ((fabs(intensity[1]-intensity[7]) < MagickEpsilon) ||
2129 (fabs(intensity[3]-intensity[5]) < MagickEpsilon))
2151 if (fabs(intensity[1]-intensity[3]) < MagickEpsilon)
2158 if (fabs(intensity[1]-intensity[
2091 intensity[9]; local
[all...]
H A Dxwindow-private.h584 intensity; local
588 intensity=0.212656*pixel->red+0.715158*pixel->green+0.072186*pixel->blue;
589 return(intensity);
/external/ImageMagick/coders/
H A Dcut.c234 intensity,
244 intensity=0;
253 if (intensity < GetPixelRed(image,q))
254 intensity=GetPixelRed(image,q);
255 if (intensity >= scale_intensity)
260 if (intensity < ScaleCharToQuantum(2))
262 if (intensity < ScaleCharToQuantum(16))
264 return((int) intensity);
231 intensity, local
H A Dmpc.c594 if (LocaleCompare(keyword,"pixel-intensity") == 0)
597 intensity;
599 intensity=ParseCommandOption(MagickPixelIntensityOptions,
601 if (intensity < 0)
603 image->intensity=(PixelIntensityMethod) intensity;
1141 if (image->intensity != UndefinedPixelIntensityMethod)
1144 "pixel-intensity=%s\n",CommandOptionToMnemonic(
1145 MagickPixelIntensityOptions,image->intensity));
593 intensity; local
H A Dpnm.c481 intensity;
500 intensity=ScaleAnyToQuantum(PNMInteger(image,10,exception),
504 SetPixelGray(image,intensity,q);
477 intensity; local
H A Dmiff.c882 if (LocaleCompare(keyword,"pixel-intensity") == 0)
885 intensity;
887 intensity=ParseCommandOption(MagickPixelIntensityOptions,
889 if (intensity < 0)
891 image->intensity=(PixelIntensityMethod) intensity;
2093 if (image->intensity != UndefinedPixelIntensityMethod)
2096 "pixel-intensity=%s\n",CommandOptionToMnemonic(
2097 MagickPixelIntensityOptions,image->intensity));
880 intensity; local
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DTexturePixel.java19 public float intensity, red, green, blue, alpha; field in class:TexturePixel
28 this.intensity = pixel.intensity;
142 this.intensity = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
146 this.intensity = this.blue = this.red = this.green = this.alpha = 0.0f;
222 this.intensity = this.blue = this.red = this.green = this.alpha = 0.0f;
236 this.intensity += pixel.intensity;
250 this.intensity *= value;
266 this.intensity /
[all...]
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
H A DSSAOFilter.java68 private float intensity = 1.5f; field in class:SSAOFilter
89 * @param intensity intensity of the resulting AO. default 1.2f
93 public SSAOFilter(float sampleRadius, float intensity, float scale, float bias) { argument
96 this.intensity = intensity;
168 ssaoMat.setFloat("Intensity", intensity);
207 * returns the ambient occlusion intensity
211 return intensity;
215 * Sets the Ambient occlusion intensity defaul
218 setIntensity(float intensity) argument
[all...]
/external/ImageMagick/MagickWand/
H A Dconvert.c202 " improve contrast by 'stretching' the intensity range",
408 "-intensity method method to generate an intensity value from a pixel",
1835 if (LocaleCompare("intensity",option+1) == 0)
1838 intensity;
1845 intensity=ParseCommandOption(MagickPixelIntensityOptions,
1847 if (intensity < 0)
1836 intensity; local
/external/libopus/celt/
H A Drate.c250 int skip_rsv, int *intensity, int intensity_rsv, int *dual_stereo, int dual_stereo_rsv, int *bits,
387 /* Code the intensity and dual stereo parameters. */
392 *intensity = IMIN(*intensity, codedBands);
393 ec_enc_uint(ec, *intensity-start, codedBands+1-start);
396 *intensity = start+ec_dec_uint(ec, codedBands+1-start);
399 *intensity = 0;
400 if (*intensity <= start)
448 den=(C*N+ ((C==2 && N>2 && !*dual_stereo && j<*intensity) ? 1 : 0));
526 int compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, in argument
248 interp_bits2pulses(const CELTMode *m, int start, int end, int skip_start, const int *bits1, const int *bits2, const int *thresh, const int *cap, opus_int32 total, opus_int32 *_balance, int skip_rsv, int *intensity, int intensity_rsv, int *dual_stereo, int dual_stereo_rsv, int *bits, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth) argument
[all...]
H A Dcelt_decoder.c685 int intensity=0; local
889 alloc_trim, &intensity, &dual_stereo, bits, &balance, pulses,
899 NULL, pulses, shortBlocks, spread_decision, dual_stereo, intensity, tf_res,
/external/ImageMagick/tests/
H A Dvalidate.c99 const double intensity,double *red,double *green,double *blue)
108 *blue=intensity*(1.0-saturation);
109 *red=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
111 *green=3.0*intensity-*red-*blue;
117 *red=intensity*(1.0-saturation);
118 *green=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
120 *blue=3.0*intensity-*red-*green;
125 *green=intensity*(1.0-saturation);
126 *blue=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
128 *red=3.0*intensity
95 ConvertHSIToRGB(const double hue,const double saturation, const double intensity,double *red,double *green,double *blue) argument
132 ConvertRGBToHSI(const double red,const double green, const double blue,double *hue,double *saturation,double *intensity) argument
[all...]

Completed in 474 milliseconds

12