Search for peaks in the histogram only within the specified min/max intensity values