Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:gamma

99 %  to try make set its gamma appropriatally.
116 gamma,
131 Apply gamma correction equally across all given channels.
134 gamma=log(mean*QuantumScale)/log_mean;
135 return(LevelImage(image,0.0,(double) QuantumRange,gamma,exception));
138 Auto-gamma each channel separately.
152 gamma=log(mean*QuantumScale)/log_mean;
153 status&=LevelImage(image,0.0,(double) QuantumRange,gamma,exception);
1164 gamma;
1166 gamma=PerceptibleReciprocal(white[i]-black[i]);
1174 (double) (MaxMap*gamma*(j-black[i])));
1764 % GammaImage() gamma-corrects a particular image channel. The same
1767 % individual gamma levels for the red, green, and blue channels, or adjust
1768 % all three with the gamma parameter. Values typically range from 0.8 to 2.3.
1770 % You can also reduce the influence of a particular channel with a gamma
1775 % MagickBooleanType GammaImage(Image *image,const double gamma,
1782 % o level: the image gamma as a string (e.g. 1.6,1.2,1.0).
1784 % o gamma: the image gamma.
1788 static inline double gamma_pow(const double value,const double gamma)
1790 return(value < 0.0 ? value : pow(value,gamma));
1793 MagickExport MagickBooleanType GammaImage(Image *image,const double gamma,
1817 Allocate and initialize gamma maps.
1823 if (gamma == 1.0)
1830 if (gamma != 0.0)
1833 MaxMap,1.0/gamma)));
1838 Gamma-correct colormap.
1856 image->colormap[i].red,1.0/gamma);
1859 image->colormap[i].green,1.0/gamma);
1862 image->colormap[i].blue,1.0/gamma);
1865 image->colormap[i].alpha,1.0/gamma);
1869 Gamma-correct image.
1913 q[j]=QuantumRange*gamma_pow(QuantumScale*q[j],1.0/gamma);
1936 if (image->gamma != 0.0)
1937 image->gamma*=gamma;
2364 % Gamma specifies a gamma correction to apply to the image.
2369 % const double white_point,const double gamma,ExceptionInfo *exception)
2384 const double white_point,const double gamma,const double pixel)
2394 1.0/gamma);
2399 const double white_point,const double gamma,ExceptionInfo *exception)
2433 white_point,gamma,image->colormap[i].red));
2436 white_point,gamma,image->colormap[i].green));
2439 white_point,gamma,image->colormap[i].blue));
2442 white_point,gamma,image->colormap[i].alpha));
2486 q[j]=ClampToQuantum(LevelPixel(black_point,white_point,gamma,
2525 % values, so that they lie between the given black and white points. Gamma is
2539 % const double white_point,const double gamma,ExceptionInfo *exception)
2549 % o gamma: adjust gamma by this factor before mapping values.
2555 const double black_point,const double white_point,const double gamma,
2560 (QuantumScale*(x)),gamma))*(white_point-black_point)+black_point)