Skip to content
  • David Gobbi's avatar
    Limit number of threads in vtkImageHistogram · 7b5a07bb
    David Gobbi authored
    This new code ensures that the number of threads created will not
    exceed the number of pieces that the data has been divided into,
    so each thread will have at least some work to do.
    
    It would probably be wise to go even further, and set a reasonable
    minimum piece size so that fewer threads are allocated for smaller
    images.
    7b5a07bb