Monty. Frameworks. Models. Salience. Strategies. Vocus2. Pyramids. PyramidCollapse behaviour
(ExTbpMonty.Core v0.1.0)
Copy Markdown
View Source
How a pyramid becomes one image again.
Mirrors tbp/monty/frameworks/models/salience/strategies/vocus2/pyramids.py::PyramidCollapse,
a Protocol in Monty so a config can name how its scales are brought back
together. It is a behaviour here: every plane is enlarged to the finest
plane's shape and then reduced to one image.
Monty's own are collapse/2 in the module beside this one, called with a
reducer of the caller's choosing.
Summary
Callbacks
One image from every plane of pyramid.
Types
@type t() :: struct()
Callbacks
@callback call( t(), Monty.Frameworks.Models.Salience.Strategies.Vocus2.Pyramids.Pyramid.t() ) :: [[float()]]
One image from every plane of pyramid.