Questions tagged [brightness]

An attribute of visual perception in which a source appears to be radiating or reflecting light.

Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target. This is a subjective attribute/property of an object being observed.

478 questions
0
votes
1 answer

Android Widget (AppWidgetProvider) > 'two state' button like a toggle button.. and WindowManager

I finally managed to create a SIMPLE widget (1x1 cell) with ONE button that does something. In my case (for now) a toast. This was actually quite hard to do. Widgets work different from normal app's. My code so far of all important…
0
votes
1 answer

uiscreen brightness beyond maximum value

I know it's possible to change the brightness of the iphone screen through code with [[UIScreen mainScreen] setBrightness:1.0]; but I wonder if it's possible to go beyond the maximum brightness level which is set in iPhone, and make the screen even…
Prastow
  • 178
  • 1
  • 19
0
votes
2 answers

How to adjust the brightness of the screen on notebook displays

I have a slide bar to adjust the brightness of the screen on notebook displays in my application, but I found those articles from internet are adjusting the Gamma value, the behavior is not really like pressing the special key in keyboard. Is there…
Yigang Wu
  • 3,596
  • 5
  • 40
  • 54
0
votes
0 answers

OpenGL set Brightness of Texture

I'm pretty new to OpenGL: In our (iOS) project we are rendering Textures with the following Methods: self.effect.texture2d0.name = self.textureInfo.name; self.effect.texture2d0.enabled = YES; self.effect.transform.modelviewMatrix =…
dominik
  • 1,319
  • 13
  • 23
0
votes
1 answer

Why the "setAttributes()" doesn't work properly while using cordova plugin?

I want to create a plugin that connect to javascript while using cordova for the plugin, this is my javascipt code : var Brightness = function() {}; Brightness.prototype.brightnessUp = function( success, error ) { return cordova.exec( success,…
0
votes
1 answer

Flash while changing System Brightness

My app is a simple "Brightness Changer", that also changes System Brightness (what isn't to easy to implement :D). I actually set up everything and its working fine... except for one little annoying thing... everytime the brightness changes the…
user1467583
  • 31
  • 1
  • 4
0
votes
2 answers

How can I get the brightness of outside environment by iPhone?

As we know that iPhone's screen can adjust itself automatically as the brightness changes around, so it should get the brightness of the outside first, right? That's what I thought. So now I just want to get the brightness of the outside environment…
0
votes
2 answers

Turn off/on android screen

I am trying to turn the android screen off and then on again, after a few seconds. The "turn off" part works, with this code: WindowManager.LayoutParams layoutParam = getWindow().getAttributes(); oldBrightness =…
user1029309
-1
votes
3 answers

How could you increase the screen brightness in Android using a seek bar?

I would like to increase the brightness of the screen using a seek bar within my Android application, but I'm not sure how to do this. How can I add this functionality?
daffodils
  • 83
  • 3
  • 7
-1
votes
1 answer

Unit measurement for brightness and contrast in opencv

contrast = 30, brightness = 350 what is the suitable unit measurement for contrast and brightness? (for documentation purposes)
Siti
  • 13
  • 3
-1
votes
1 answer

Brightness and volume key bindings not working in dwm

I'm trying to get my volume and brrightness keys to work using dwm. I put this into dwm/config.h: https://i.stack.imgur.com/ohhkq.png And also this for the keybinds. https://i.stack.imgur.com/MwYWp.png So far I've tried this in my command line sudo…
J H
  • 17
  • 3
-1
votes
1 answer

How to find a brightest point an image and mark it in Matlab?

Dears, I would like to ask you for help with the code. My goal is to find the brightest point an image and mark it. I used the following code to get the Image in Grey Values -> How to find and highlight the brightest region an image in Matlab? and…
Tomáš
  • 35
  • 6
-1
votes
2 answers

What's this brightness function

The brightness of an image can be measured by the below function as this paper mentioned In this paper, they didn't talk about Cr, Cg and Cb. Can anyone explain this function? Thanks in advance.
-1
votes
1 answer

How to create "Automatic Brightness" to adjust lcd lighting, depending on sunlight conditions?

I create an android app (Point of sale Terminal), to be installed outdoors that is in petrol station. I have a problem: The application becomes invisible during the day (when the sunlight appears). Based on the information from here, for android…
Ihdina
  • 950
  • 6
  • 21
-1
votes
1 answer

How to get brighness percentage level from a histogram?

I wrote a python program that used scikit-image to return the histogram of an image: def get_hist(image): image = img_as_float(image) hs, dis = exposure.histogram(image) cdf = np.cumsum(hs) #cumulative distribution function …
Rich
  • 1,103
  • 1
  • 15
  • 36
1 2 3
31
32