Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 361 362 [363] 364 365 ... 652

Author Topic: The small random questions thread [WAAAAAAAAAAluigi]  (Read 974163 times)

Iduno

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5430 on: November 26, 2019, 08:56:33 am »

A while ago, I heard that Samsung were using the front camera as a substitute for the light sensor on phones that didn't have light sensors.
How do you determine the brightness of something using a camera?

Knowing Samsung? Poorly.

Non-joke answer? Measure the amount of light that hits the lens through a known aperture size in a given amount of time. Because there's no film being exposed, it's just a color sensors or whatever. (I know something about cameras, and very little about electronics outside of practical knowledge from using them).
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5431 on: November 26, 2019, 07:20:03 pm »

Quote
How do you determine the brightness of something using a camera?

Uhh. Kinda seems obvious. A camera is nothing but light sensors. Pixel information is literally nothing but brightness values. Take a picture and average out the levels of brightness of all the pixels and you have brightness sensor.
« Last Edit: November 26, 2019, 07:25:07 pm by Reelya »
Logged

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5432 on: November 26, 2019, 11:53:45 pm »

Quote
How do you determine the brightness of something using a camera?

Uhh. Kinda seems obvious. A camera is nothing but light sensors. Pixel information is literally nothing but brightness values. Take a picture and average out the levels of brightness of all the pixels and you have brightness sensor.
That works well enough to find relative brightness, assuming you keep the apeture, ISO and shutter speed constant. I don't have a clue how I'd do it if those parameters change, though.

Maybe I should rephrase my question: How do you determine absolute brightness, in units like candela/lux, with a camera?
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5433 on: November 27, 2019, 02:19:17 am »

Use a known candle to calibrate the sensor.  Use a light source that is not visible to human eyes, like IR.

Alternatively-- programmatically control the aperature, and shut it as tight as it will go. Open the aperature by fixed and controlled increments until there is enough exposure data to produce a luminance curve. Compute against aperature size and factory programmed ccd sensitivity metrics. That should give you a ballpark raw lux.
« Last Edit: November 27, 2019, 02:24:46 am by wierd »
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5434 on: November 27, 2019, 03:38:46 am »

My friend's a light eater, so for lunch he usually just eats lux and bagels.

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5435 on: November 27, 2019, 04:05:00 am »

Interesting.. how does he make the light spreadable? Theres a definite nobel prize in it for him.
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5436 on: November 27, 2019, 04:20:04 am »

Interesting.. how does he make the light spreadable? Theres a definite nobel prize in it for him.

Light is both a wave and a condiment.

scriver

  • Bay Watcher
  • City streets ain't got much pity
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5437 on: November 27, 2019, 04:53:14 am »

Try the new luxury butter
Logged
Love, scriver~

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5438 on: December 22, 2019, 04:31:04 pm »

I tend to sleep in 1 to 2 hour intervals. I sleep at 10 pm, wake up at 12:30 am, sleep again only to wake up at 2 am, sleep yet again just to wake up at 3:30 and so on until 5 or 6 am. Is there some way to merge the sleeps together so I just sleep at 10, and wake up at 6 in the morning?
Logged

hector13

  • Bay Watcher
  • It’s shite being Scottish
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5439 on: December 22, 2019, 04:38:03 pm »

It’s normal to wake up a few times at night, though usually you don’t remember it.

There could be any number of reasons causing this, from stress to medication to the wrong temperature, or others.

Do you feel rested after sleeping?
Logged
Look, we need to raise a psychopath who will murder God, we have no time to be spending on cooking.

If you struggle with your mental health, please seek help.

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5440 on: December 22, 2019, 04:48:19 pm »

Do you feel rested after sleeping?
No, not really. I track my sleep, and the data shows that I don't get much deep sleep, around 1 hour out of 6 to 8 hours of sleep.
Logged

MaxTheFox

  • Bay Watcher
  • Лишь одна дорожка да на всей земле
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5441 on: December 27, 2019, 06:46:09 am »

Is a flamethrower a firearm?
Logged
Woe to those who make unjust laws, to those who issue oppressive decrees, to deprive the poor of their rights and withhold justice from the oppressed of my people, making widows their prey and robbing the fatherless. What will you do on the day of reckoning, when disaster comes from afar?

Frumple

  • Bay Watcher
  • The Prettiest Kyuuki
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5442 on: December 27, 2019, 07:34:18 am »

Apparently not. A firearm is something that expels a projectile by way of an explosion, more or less. Most flamethrowers don't do that. So not a firearm.
Logged
Ask not!
What your country can hump for you.
Ask!
What you can hump for your country.

Rolan7

  • Bay Watcher
  • [GUE'VESA][BONECARN]
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5443 on: December 27, 2019, 08:34:33 am »

I'd count it as a "fire arm" though, like a "laser gun" or "sound cannon".  Or by that token, "bullet gun".
I forget what it's called to use a noun like an adjective that way.  It might even be improper, but there's precedent :P
Logged
She/they
No justice: no peace.
Quote from: Fallen London, one Unthinkable Hope
This one didn't want to be who they was. On the Surface – it was a dull, unconsidered sadness. But everything changed. Which implied everything could change.

Frumple

  • Bay Watcher
  • The Prettiest Kyuuki
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #5444 on: December 27, 2019, 08:39:28 am »

They're generally just an incendiary device. Not a gun of any sort. If you want a colloquial name, I hear "flamethrower" is in vogue :P
Logged
Ask not!
What your country can hump for you.
Ask!
What you can hump for your country.
Pages: 1 ... 361 362 [363] 364 365 ... 652