contrast

HTML5 video is blurry and low-contrast ONLY in my installation of Chrome

霸气de小男生 提交于 2019-12-11 15:29:23
问题 I am in Windows 7 x64, using Chrome 22. When I view an MP4 video in the video tag, it appears blurry and low-contrast compared to the source video viewed locally in Media Player Classic. A screen-measuring app shows that both players are displaying the video at exactly its native dimensions (400x300). This appears to be a problem only with my installation of Chrome. The video looks perfect on other machines, Macs and PCs alike. I have tried reinstalling Chrome, disabling all extensions,

How to use ScriptIntrinsicConvolve5x5 in android?

回眸只為那壹抹淺笑 提交于 2019-12-11 11:07:28
问题 I'm trying to understand how convolution matrix works in android and I want to use ScriptIntrinsicConvolve5x5 class to change contrast of my image. I've multiple variations of this matrix: R G B A W R [c 0 0 0 0] G [0 c 0 0 0] B [0 0 c 0 0] A [0 0 0 1 0] W [t t t 0 1] c = contrast t = (1.0 - c) / 2.0 But it doesn't work in ScriptIntrinsicConvolve5x5, all i see is a black screen. I want to use a RenderScript because of performance I've been able to change contrast with ColorMatrix class, but

Setting Contrasts for ANOVA in R

自作多情 提交于 2019-12-11 08:46:46
问题 I've been attempting to perform an ANOVA in R recently on the attached data frame. My question revolves around the setting of contrasts. My design is a 3x5 within-subjects design. There are 3 visual conditions under 'Circle1' and 5 audio under 'Beep1'. Does anyone have any idea how I should set the contrasts? This is something I'm unfamiliar with as I'm making the transition from point and click stats in SPSS to coded in R. Thanks for your time Data file: 回答1: Reiterating my answer from

Do unselected checkboxes need to be >4.5 contrast ratio to be WCAG AA compliant?

ε祈祈猫儿з 提交于 2019-12-10 10:25:23
问题 I'm trying to understand the details of WCAG AA compliance. Would the unselected checkboxes in this image be considered too low-contrast to be compliant? Is there anything we can do (other than change the color) to make it more compliant? If tab-focus makes the contrast go up, is that enough? Or do we really just need to boost the contrast? 回答1: This point is covered by the new WCAG 2.1 guideline: 1.4.11 Non-text Contrast For controls on the page, such as buttons and form fields, the visual

Changing image contrast with GDI+ and C#

我与影子孤独终老i 提交于 2019-12-10 10:05:48
问题 My problem is the following : I am making a program, which can manipulate brightness, gamma and contrast through C# code. For brightness and gamma it is OK. I have achieved it through code I found in the net, but I can't for contrast. The only thing I have found by now is a CalculateRamp method, which has as input parameters (double level, double brightness, double gamma, double contrast) . I know what input to give for brightness, gamma and contrast (the values from the sliders in the

JavaScript color contraster

随声附和 提交于 2019-12-09 04:42:53
问题 I'm looking for a technique where we could programmatically pick the best color contrast to apply on text over HTML elements of different (unpredictable) background colors. Since the HTML elements will have different colors, we're looking for a technique that will be able to determine what is the color of the content behind the text, and then adapt the text's color to use the one with the best contrast. I'm quite sure this can't be CSS only, I've looked for Jquery solutions but couldn't find

Contrast stretching in local regions of an image

血红的双手。 提交于 2019-12-08 00:33:22
问题 I want to perform contrast stretching on an image. The image is as shown (The data-tips are created by me in MATLAB to give more information about the image, the timestamp is already there on the image). Now, how to perform contrast stretching has already been described here. But that formula won't work here since imgMin=0 and imgMax=255 . So the image would remain unchanged. So my workaround was local contrast stretching. I am unsure as to how to do this (and also relatively fast i.e. I

Auto-contrast Font Color to Background

我的未来我决定 提交于 2019-12-06 18:22:59
问题 I have a background of a field. The bottom is green, the top is gray. There is text on top of the background. Is there a way for the text to "sense" what color the background is and to tint the font in a way to make it contrast? For example, the the text over the gray sky would become brighter and the text over the green field would become darker, to make it more visible. I may be reaching pretty far on this one, but any suggestions are appreciated. (Please note, I am not looking for the

Contrast stretching in local regions of an image

十年热恋 提交于 2019-12-06 14:03:52
I want to perform contrast stretching on an image. The image is as shown (The data-tips are created by me in MATLAB to give more information about the image, the timestamp is already there on the image). Now, how to perform contrast stretching has already been described here . But that formula won't work here since imgMin=0 and imgMax=255 . So the image would remain unchanged. So my workaround was local contrast stretching. I am unsure as to how to do this (and also relatively fast i.e. I should be able to contrast stretch frames of video and still play video in realtime. I tried histogram

partition of anova and comparisons (orthogonal single df) in r

此生再无相见时 提交于 2019-12-06 03:21:07
问题 I want to do single df orthogonal contrast in anova (fixed or mixed model). Here is just example: require(nlme) data (Alfalfa) Variety: a factor with levels Cossack, Ladak, and Ranger Date : a factor with levels None S1 S20 O7 Block: a factor with levels 1 2 3 4 5 6 Yield : a numeric vector These data are described in Snedecor and Cochran (1980) as an example of a split-plot design. The treatment structure used in the experiment was a 3\times4 full factorial, with three varieties of alfalfa