# How to get threshold values from histogram(LAB)?

**URL:** https://forums.openmv.io/t/how-to-get-threshold-values-from-histogram-lab/6840
**Category:** OpenMV Boards
**Created:** [February 14, 2022, 3:01pm UTC](https://forums.openmv.io/t/how-to-get-threshold-values-from-histogram-lab/6840 "2022-02-14T15:01:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mov](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mov](https://forums.openmv.io/u/mov)
#### Post date: [February 14, 2022, 3:01pm UTC](https://forums.openmv.io/t/how-to-get-threshold-values-from-histogram-lab/6840/1 "2022-02-14T15:01:33Z")

</div>

how to get threshold values from histogram i don’t want to use editor

---

<div class="post-metadata">

### Author: ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)
#### Post date: [February 14, 2022, 6:55pm UTC](https://forums.openmv.io/t/how-to-get-threshold-values-from-histogram-lab/6840/2 "2022-02-14T18:55:06Z")

</div>

get\_histogram(). It returns a list per channel.

---

<div class="post-metadata">

### Author: ![oramafanis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/oramafanis/32/1783_2.png) [@oramafanis](https://forums.openmv.io/u/oramafanis)
#### Post date: [February 15, 2022, 8:37am UTC](https://forums.openmv.io/t/how-to-get-threshold-values-from-histogram-lab/6840/3 "2022-02-15T08:37:22Z")

</div>

If you want to get the lab values of a specific color then  
place the object infront of the camera,  
drag with your mouse the region of interest on the frame buffer  
and see all the values below the frame buffer.  
Then you can write them down and use them to your application.
