- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Have faced with some technical problems and I couldn't find solution anywhere (it seems that there is no common approaches). Is there some ways in sdk for lighting calculation in the room or which places in s could help me to implement it? For example i want to make some actions in case of lighting lack.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SDK doesn't provide a direct method to do what you are asking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Intel RealSense SDK does not provide that functionality.
Although, it should be trivial to have a rough estimate of the current lighting conditions, as you could just get the pixel data, and see their values. The closer they are to 0, the darker the room is, and the closer they are to 255, the lighter the room is.
You could change the color space from RGB to something more appropriate, like Lab, or HSV, but for a rough estimate RGB should be fine.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page