virelay.image_processing
Contains some helper functions for processing images.
Module Attributes
|
Represents the different methods that can be used to create a border around an image. |
Functions
|
Up-samples the specified image, by making a border around the image. |
|
Crops the image evenly on all sides to the desired size. |
|
Generates a heatmap with a gray background, where red tones are used to visualize positive relevance values and blue tones are used to visualize negative relevances. |
|
Generates a heatmap with a black background, where green tones are used to visualize positive relevance values and blue tones are used to visualize negative relevances. |
|
Generates a heatmap with a black background, where yellow tones are used to visualize positive relevance values and blue tones are used to visualize negative relevances. |
|
Generates a heatmap with a gray background, where red tones are used to visualize positive relevance values and blue tones are used to visualize negative relevances. |
|
Generates a heatmap from the specified attribution data using the color maps provided by Matplotlib. |
|
Takes the raw attribution data and converts it so that the data can be visualized as a heatmap. |
|
Renders the heatmap an superimposes it onto the specified image. |