Commit Graph
7 Commits
Author SHA1 Message Date
Bruno Madeira c91e3f3ca4 remove asserts and add exceptions w/ informative messages + some minor cleanups & documentation. 2024-08-12 14:43:12 +01:00
Bruno Madeira 929dcc122b fixes in bse_desc_util.py
* fixed incomplete edge case handling
* fixed potential non deterministic behavior
2024-08-08 01:47:02 +01:00
Bruno Madeira 28fa8fea58 added node + added feature + fixes.
* new node: GuessNiceBlockSize.
* new feature: image quilting nodes get a special block size range that uses guess_nice_block_size; also works with parallel batch but the guess must be done before parallelization in order to setup the total number of steps in pbar.
* fixes: node options using shallow copy fixed; fixed parallelization error when lookup is None; fixed edge case in bse_desc_util.py.
* misc: guess_nice_block_size can be given an alternative upper bound (needed when patching H seam); guess_nice_block_size can run bse_ft only for faster analysis.
2024-08-05 00:01:07 +01:00
Bruno Madeira 7081f0c71c type aliases 2024-08-04 14:26:06 +01:00
Bruno Madeira 4c319f8f1b remove misleading comment 2024-08-04 12:40:39 +01:00
Bruno Madeira c81ea5024c wavelength, not frequencies! (bse_ft_util.py) + minor change to guess_block_size.py. 2024-08-04 12:37:53 +01:00
Bruno Madeira ede568e849 find "nice" block size. (only functions, no node yet)
* checks sift descriptors sizes.
* checks distances between above mentioned descriptors.
* checks freq. w/ high magnitude in ft.
* selects a size that is close to a multiple of the distances obtained in above listed analyses.
2024-08-04 00:36:13 +01:00