# Counting very small bright spots in image

**URL:** <https://forum.opencv.org/t/counting-very-small-bright-spots-in-image/16632>\
**Category:** Python\
**Tags:** skimage\
**Created:** [February 28, 2024, 11:11am UTC](https://forum.opencv.org/t/counting-very-small-bright-spots-in-image/16632 "2024-02-28T11:11:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabhinav2003](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@aabhinav2003](https://forum.opencv.org/u/aabhinav2003)\
**Post date:** [February 28, 2024, 11:11am UTC](https://forum.opencv.org/t/counting-very-small-bright-spots-in-image/16632/1 "2024-02-28T11:11:06Z")

</div>

Hi,

I am looking to count very small bright spots (in dark background) in an image and have used local thresholding along with intensity enhancement (image attached), however, I have to modify code according to image and hence it does not remain dynamic. I was wondering if I could be helped.

 ![Image1](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/0/0517778d4ee4e7076c27bba34b8149fd248fe579.jpeg)
