3.3.4.19. Function GenerateDyadicSize

3.3.4.19.1. Function Documentation

Size sirius::utils::GenerateDyadicSize(const Size &size, const int res_in, const Size &padding_size)

Rounds the parameters so log2(param) is an int.

Return
new size
Parameters
  • size: size to be resized
  • res_in: zoom coefficient that will be applied to the fft
  • padding_size: size of the margins