/// <inheritdoc /> public DicomRange<double> GetMinMax(int padding) { if (Data == null || Data.Length == 0) { return default(DicomRange<double>); } var range = new DicomRange<double>(double.MaxValue, double.MinValue); Data.Where(v => v != padding).Each(v => range.Join(v)); return range; }
/// <inheritdoc /> public DicomRange <double> GetMinMax() { if (Data == null || Data.Length == 0) { return(default(DicomRange <double>)); } var range = new DicomRange <double>(double.MaxValue, double.MinValue); Data.Each(v => range.Join(v)); return(range); }