Pyramid

Block Category: Operations

Input Image Format

Input Image Requirements: RGB or gray scale

Description: The Pyramid block performs up size or down size for the image input. An image pyramid is a collection of images, all arising from the single original image. During the pyramid operation, the smoothness of the image is increased and the resolution is decreased.

Expand: Specifies that the image is initially up sampled by injecting even 0 rows and columns, convolving the result, and then blurring the image.

Reduce: Specifies that the image is initially blurred, then down-samples it by rejecting even rows and columns.

Example

In this example, the pyramid algorithm — both expansion and reduction — is applied to an image of a set of coins.

PyramidExample