/frameworks/base/media/mca/filterpacks/native/imageproc/ |
contrast.c | 26 float contrast; member in struct:__anon28809 38 if (strcmp(key, "contrast") == 0) 39 ((ContrastParameters*)user_data)->contrast = atof(value); 52 LOGE("Contrast: Incorrect input count! Expected 1 but got %d!", input_count); 58 LOGE("Contrast: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 66 LOGE("Contrast: No input or output pointer found!"); 72 const float contrast = params->contrast; local 74 // Run the contrast adjustment 79 px *= contrast; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorMatrixSample.java | 55 private static void setContrast(ColorMatrix cm, float contrast) { 56 float scale = contrast + 1.f; 65 private static void setContrastTranslateOnly(ColorMatrix cm, float contrast) { 66 float scale = contrast + 1.f; 75 private static void setContrastScaleOnly(ColorMatrix cm, float contrast) { 76 float scale = contrast + 1.f; 102 //convert our animated angle [-180...180] to a contrast value of [-1..1] 103 float contrast = mAngle / 180.f; local 105 setContrast(cm, contrast); 109 setContrastScaleOnly(cm, contrast); [all...] |
/external/skia/src/core/ |
SkDeviceProfile.cpp | 26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, 29 fContrastScale = pin(contrast, 0, 1); 41 float contrast, 44 return new SkDeviceProfile(gammaExp, contrast, config, level);
|
SkMaskGamma.cpp | 71 static float apply_contrast(float srca, float contrast) { 72 return srca + ((1.0f - srca) * contrast * srca); 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 87 //Contrast value tapers off to 0 as the src luminance becomes white 88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst;
|
SkDeviceProfile.h | 37 * contrastScale will be pinned between 0.0 and 1.0. For no contrast 73 * contrast correction). 82 * that applies the gamma/contrast settings to linear coverage values.
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
ContrastFilter.java | 33 "uniform float contrast;\n" + 38 " color *= contrast;\n" + 44 super(name, "contrast"); 49 return new NativeProgram("filterpack_imageproc", "contrast");
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterContrast.java | 24 private static final String SERIALIZATION_NAME = "CONTRAST"; 27 mName = "Contrast"; 33 representation.setName("Contrast"); 37 representation.setTextId(R.string.contrast);
|
/external/opencv3/modules/java/src/ |
photo+TonemapDurand.java | 59 // C++: void setContrast(float contrast) 62 //javadoc: TonemapDurand::setContrast(contrast) 63 public void setContrast(float contrast) 66 setContrast_0(nativeObj, contrast); 144 // C++: void setContrast(float contrast) 145 private static native void setContrast_0(long nativeObj, float contrast);
|
/external/opencv3/samples/cpp/ |
demhist.cpp | 16 /* brightness/contrast callback function */ 21 int contrast = _contrast - 100; local 28 if( contrast > 0 ) 30 double delta = 127.*contrast/100; 36 double delta = -128.*contrast/100; 89 createTrackbar("contrast", "image", &_contrast, 200, updateBrightnessContrast);
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_histograms/ |
py_table_of_contents_histograms.markdown | 10 Learn to Equalize Histograms to get better contrast for images
|
/external/opencv3/modules/features2d/src/kaze/ |
AKAZEConfig.h | 58 float kcontrast; ///< The contrast factor parameter 59 float kcontrast_percentile; ///< Percentile level for the contrast factor 60 int kcontrast_nbins; ///< Number of bins for the contrast factor histogram
|
/external/opencv3/samples/cpp/tutorial_code/HighGUI/ |
BasicLinearTransformsTrackbar.cpp | 3 * @brief Simple program to change contrast and brightness 16 int alpha; /**< Simple contrast control */ 57 createTrackbar( "Contrast Trackbar", "New Image", &alpha, alpha_max, on_trackbar );
|
/external/opencv3/modules/photo/src/ |
tonemap.cpp | 195 contrast(_contrast), 220 float scale = contrast / static_cast<float>(max - min); 234 float getContrast() const { return contrast; } 235 void setContrast(float val) { contrast = val; } 247 << "contrast" << contrast 258 contrast = fn["contrast"]; 266 float gamma, contrast, saturation, sigma_color, sigma_space; member in class:cv::TonemapDurandImpl 269 Ptr<TonemapDurand> createTonemapDurand(float gamma, float contrast, float saturation, float sigma_color, float sigma_space [all...] |
/external/opencv3/doc/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/ |
py_histogram_equalization.markdown | 9 - We will learn the concepts of histogram equalization and use it to improve the contrast of our 19 improves the contrast of the image. 99 CLAHE (Contrast Limited Adaptive Histogram Equalization) 102 The first histogram equalization we just saw, considers the global contrast of the image. In many 108 It is true that the background contrast has improved after histogram equalization. But compare the 116 (unless there is noise). If noise is there, it will be amplified. To avoid this, **contrast 117 limiting** is applied. If any histogram bin is above the specified contrast limit (by default 40 in 145 Also check these SOF questions regarding contrast adjustment: 147 -# [How can I adjust contrast in OpenCV in 148 C?](http://stackoverflow.com/questions/10549245/how-can-i-adjust-contrast-in-opencv-in-c [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
ImageGoodnessFilter.java | 213 float colorfulness, float contrast, float score) { 215 + 0.3102f * contrast + 0.0314f * vectorAccel + -0.0094f * score + 0.0227f * 336 private float contrastScore(float contrast) { 338 contrastMean = contrast; 342 contrastMean = contrastMean * (1 - DECAY) + contrast * DECAY; 343 contrastVar = contrastVar * (1 - DECAY) + (contrast - contrastMean) * 344 (contrast - contrastMean) * DECAY; 347 } else if (contrast < contrastMean && contrastVar > MEDIUM_VARIANCE) { 349 } else if (contrast < contrastMean) { 351 } else if (contrast > contrastMean && contrastVar > 100) [all...] |
/external/libunwind/scripts/ |
make-L-files | 7 # In contrast, libunwind-tests should always get compiled.
|
/external/skia/src/gpu/text/ |
GrDistanceFieldAdjustTable.cpp | 54 SkScalar contrast = SK_GAMMA_CONTRAST; local 56 SkScalar contrast = 0.5f; local 61 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma, 68 SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get());
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
contrast.h | 16 // Native function to extract contrast from image (handed down as ByteBuffer).
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Contrast.java | 23 public class Contrast extends TestBase {
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Contrast.java | 22 public class Contrast extends TestBase {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Contrast.java | 23 public class Contrast extends TestBase {
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
contrast_f.rs | 30 float4 RS_KERNEL contrast(float4 in) {
|
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/res/values/ |
strings.xml | 21 <string name="contrast">Contrast</string>
|
/developers/samples/android/media/MediaEffects/Application/src/main/res/values/ |
strings.xml | 21 <string name="contrast">Contrast</string>
|
/development/samples/HelloEffects/res/values/ |
strings.xml | 22 <string name="contrast">Contrast</string>
|