Wavelets3D#
- class zrad.filtering.wavelet.Wavelets3D(wavelet_type, padding_type, response_map, decomposition_level, rotation_invariance=False)[source]#
3D separable wavelet filtering for volumetric response maps.
Response maps combine low-pass (
L) and high-pass (H) wavelet kernels along all three axes. Rotation-invariant mode averages over axis permutations and flips to reduce orientation dependence.- Parameters:
wavelet_type ({"db3", "db2", "coif1", "haar"}) – Wavelet family used to obtain low- and high-pass filter kernels.
padding_type ({"constant", "nearest", "wrap", "reflect"}) – Boundary handling mode used during convolution.
response_map ({"LLL", "LLH", "LHL", "HLL", "LHH", "HHL", "HLH", "HHH"}) – Low/high-pass kernel combination for the three axes.
decomposition_level ({1, 2}) – Wavelet decomposition level.
rotation_invariance (bool, optional) – If true, average responses over axis permutations and flips.
Methods
|
Apply the filter to an image or set |
Return filter parameters mapped to their configured values. |
- Wavelets3D.apply(image)#
Apply the filter to an image or set
RoiData.filtered_image.- Parameters:
image (Image or RoiData) – Input image to filter. If
RoiDatais supplied, filtering is applied toimage.imageand the result is stored asfiltered_imagein the returned ROI data. Existing intensity, texture, and IVH prepared fields are cleared.- Returns:
filtered – Filtered image, or ROI data with
filtered_imageupdated.- Return type:
- Wavelets3D.get_params()#
Return filter parameters mapped to their configured values.
- Returns:
params – Constructor parameters stored by the filter instance.
- Return type:
dict