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

Check current Brightness android

I can't make working my code.. I want check the current brightness and if is in authomatic my ToggleButton will be checked else not. I explain; This is what i'm trying to do to check the brightness: public static final int…
David_D
  • 1,404
  • 4
  • 31
  • 65
0
votes
1 answer

Sharedpreferences toggle state?

I have a toggle that change the brightness in my device from manual to authomatic. It works but the state of button doesn't save.. There are two things i need right now. 1) Save the button state using sharedpreferences 2) Check when i open the…
David_D
  • 1,404
  • 4
  • 31
  • 65
0
votes
1 answer

How to increase Brightness of GPUImage?

I am using BradLarson's GPUImage library for filtering image. I am using this code in my project. GPUImagePicture *staticPicture; Applying of filters are like this - -(void) setFilter:(int) index { switch (index) { case 1:{ …
Rijesh Pv
  • 139
  • 1
  • 9
0
votes
1 answer

Changing brightness in bufferedImage with DataBufferInt

I must read some image and then I have to change brightness and contrast of this image I create main class and constructor where are panels, sliders and other stuff, I added changeListener to slider to take current value. My imagePanel is new Object…
0
votes
2 answers

image brightness slider Java

i have: BufferedImage image; //few lines of code public void stateChanged(ChangeEvent e) { for (int i = 0; i < image.getWidth(); i++) { for (int j = 0; j < image.getHeight(); j++) { Color color = new…
user2458768
  • 115
  • 4
  • 4
  • 12
0
votes
3 answers

C# Normalizing RGB and creating a new image

I am trying to create a program that accepts an image, recursively goes through each pixel, normalizes the pixel and re-creates a NEW image that looks the same as the original, but has normalized pixels instead. public void parseJpeg(String…
user2216791
  • 49
  • 2
  • 11
0
votes
2 answers

Change brightness of blitted bitmap using Allegro

I'm using the Allegro game library to make a tile game. I want the tiles to get exponentially brighter. Unfortunately Allegro does not have a "Brighten" feature. What I then decided to do, was blit a tile to the buffer, then for each pixel that it…
jmasterx
  • 52,639
  • 96
  • 311
  • 557
0
votes
2 answers

brightness control slider is really slow in responding in ios

I really need help. I am creating simple image processing app, where I load an image from the camera roll or I take a picture. I have a brightness control (slider) that will adjust the brightness of the image. The problem is slider works in real…
0
votes
3 answers

Brighten a section of a webpage background

Is there any way to have a semi-transparent overlay in a webpage and will brighten the underlying content? I'm wanting to have a dynamic content in the background of a transparent overlay with one section highlighted in a brighter than the rest of…
Candidasa
  • 8,580
  • 10
  • 30
  • 31
0
votes
1 answer

Android: Cannot Call "BrightnessPreference" Class (from package com.android.settings)

In my app, when a button is clicked, I would like to call the Brightness class found in Android system settings (shown when the user navigates Settings > Display > Brightness). I know that to call the Display class (on which the Brightness class is…
Adam
  • 679
  • 5
  • 7
0
votes
1 answer

How to change screen brightness in Mac os x?

I am working on Safari Plugin (Objective c). I want to change screen brightness from my plugin. I have tried it with "IODisplayGetFloatParameter" and "IODisplaySetFloatParameter". But it is giving me error "failed to get brightness of display…
Nik
  • 682
  • 1
  • 8
  • 27
0
votes
1 answer

Actionscript: ColorMatrixFilter for Photoshop's brightness adjust?

I have a B/W picture and I need to make some adjustments to it - I need to increase it's 'visibility' (it is too gray, I need to make it darker). Does anybody know how to reproduce Photoshop's brightness adjust in AS3? Please note that this is NOT…
Fygo
  • 4,555
  • 6
  • 33
  • 47
0
votes
1 answer

Getting brightness of displayed screen or of a Texture2D - Unity3D

In my project, I need to get the brightness of the screen that is being displayed. to do that, I get a snapshot of the screen and make it as a Texture2D To get the snapshot and convert it I use this: public void GetScreen(ref Texture2D screenShot){ …
0
votes
2 answers

Change brightness screen with volume keys in Android

I want to change the brightness of screen with volume keys. I used this code, but it doesn't work: @Override public boolean onKeyDown(int keyCode,KeyEvent keyEvent){ WindowManager.LayoutParams layout = getWindow().getAttributes(); …
Saeed M.
  • 2,216
  • 4
  • 23
  • 47
0
votes
1 answer

How do I control the brightness of the backlight in android immediately?

I'm working on an app that needs to turn on and turn off the backlight of the screen fast, very fast. Something like off for 10ms, and then on for +-1ms. I have tried to use this code with a handler and a runnable: fieldScreenBrightness.setFloat(lp,…
valka
  • 116
  • 4