Use smarter search for threshold label
Use smarter search for threshold label

Instead of loop going through whole set,
used another approach with usage of algorithm

JPETTomography/j-pet-framework-examples,JPETTomography/j-pet-framework-examples,JPETTomography/j-pet-framework-examples,JPETTomography/j-pet-framework-examples