• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Framework for ambient light level?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework for ambient light level?


  • Subject: Re: Framework for ambient light level?
  • From: Noah Desch <email@hidden>
  • Date: Thu, 24 Apr 2014 22:44:59 -0400


> On Apr 24, 2014, at 5:34 PM, Rick Mann <email@hidden> wrote:
>
>
>> On Apr 24, 2014, at 14:10 , William Squires <email@hidden> wrote:
>>
>>   iii) Averages all the pixels to come up with a (rough) gauge of ambient light level (as an unsigned byte) - preferably by using the graphics coprocessor to unload the task from the main CPU!
>
> Might be hard; I suspect the camera's auto aperture will affect your measurements. I don't know if it can be disabled or controlled

Better would be to just read the current aperture setting if there's a way to get it. Since it's already auto-calibrated that should approximate the light level.

-Noah
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Framework for ambient light level? (From: William Squires <email@hidden>)

  • Prev by Date: Re: NSToolbarItem Action Not Passed to NSButton...
  • Next by Date: Re: NSToolbarItem Action Not Passed to NSButton...
  • Previous by thread: Framework for ambient light level?
  • Next by thread: NSToolbarItem Action Not Passed to NSButton...
  • Index(es):
    • Date
    • Thread