Computes the minimum and the maximum intensity values of an image. This is a custom overloaded python method, which returns the minimum and maximum measurements as a tuple. Also See -------- itk::simple::MinimumMaximumImageFilter for the object-oriented interface :para
(image: Image)
| 27 | |
| 28 | |
| 29 | def MinimumMaximum(image: Image) -> Tuple[float, float]: |
| 30 | """ |
| 31 | Computes the minimum and the maximum intensity values of an image. |
| 32 | |
| 33 | This is a custom overloaded python method, which returns the minimum and maximum measurements as a tuple. |
| 34 | |
| 35 | Also See |
| 36 | -------- |
| 37 | itk::simple::MinimumMaximumImageFilter for the object-oriented interface |
| 38 | |
| 39 | :param image: |
| 40 | :return: |
| 41 | """ |
| 42 | f = MinimumMaximumImageFilter() |
| 43 | f.Execute(image) |
| 44 | return f.GetMinimum(), f.GetMaximum() |
| 45 | |
| 46 | |
| 47 | def Resample( |