0

I'd need to detect bright regions in the image. Would be quite easy with threshold. But I need to get spots that are bright compared to its surroundings, not based on an absolute value.

What would be a good way to do this?

Unfortunately I do not have sample images at the moment.

sharkyenergy
  • 3,842
  • 10
  • 46
  • 97

1 Answers1

1

If your background does not have too much texture, you can try the 'local_threshold' operator.

There is a nice example of it included with HDevelop demonstrating the operator for OCR purposes.

Matthijs
  • 51
  • 3