Expand description
Helper functions for generation of multi-resolution data.
Functions§
- gradients_
squared_ norm - Compute centered gradients norm at each resolution from the image at the higher resolution.
- gradients_
xy - Compute centered gradients at each resolution from the image at the higher resolution.
- halve
- Halve the resolution of a matrix by applying a function to each 2x2 block.
- limited_
sequence - Recursively apply a function transforming an image until it’s not possible anymore or the max length is reached.
- mean_
pyramid - Recursively generate a pyramid of matrices where each following level is half the previous resolution, computed with the mean of each 2x2 block.
- sequence
- Recursively apply a function transforming data until it’s not possible anymore.