lavuelib.plugins package¶
lavuelib.plugins.filters module¶
set of image sources
- class lavuelib.plugins.filters.HGap(configuration=None)[source]¶
Bases:
object
Horizontal gap filter
constructor
- Parameters:
configuration (
str
) – JSON list with horizontal gap pixels to add
- class lavuelib.plugins.filters.VGap(configuration=None)[source]¶
Bases:
object
Vertical gap filter
constructor
- Parameters:
configuration (
str
) – JSON list with vertical gap pixels to add
- class lavuelib.plugins.filters.WeightedSum(configuration=None)[source]¶
Bases:
object
Weighted sum of channel images
constructor
- Parameters:
configuration (
str
) – JSON list of channel image weights
- lavuelib.plugins.filters.rot45(image, imagename, metadata, imagewg)[source]¶
rotate image by 45 deg
- Parameters:
image (
numpy.ndarray
) – numpy array with an imageimagename (
str
) – image namemetadata (
str
) – JSON dictionary with metadataimagewg (
lavuelib.imageWidget.ImageWidget
) – image wigdet
- Returns:
numpy array with an image
- Return type:
numpy.ndarray
or None