BrightnessPlugIn.BrightnessPlugIn.calcNewValue Function
This method calculates the final value and checks for overflow and underflow.

Private int calcNewValue (int, int, double)
  Type Name Description  
    int oldValue    
    int maxPixValue    
    double correctionFactor    
  Return Description  
    int