Main Content


Number of scattering filter banks



nfb = numfilterbanks(sf) returns the number of filter banks in the wavelet image scattering network, sf. The number of filter banks in the network is equal to ord − 1 where ord is the number of scattering orders.


collapse all

Calculate the number of filter banks for the default 2-D wavelet scattering network.

sf = waveletScattering2
sf = 
  waveletScattering2 with properties:

             ImageSize: [128 128]
       InvarianceScale: 64
          NumRotations: [6 6]
        QualityFactors: [1 1]
             Precision: 'single'
    OversamplingFactor: 0
          OptimizePath: 1

Nfb = numfilterbanks(sf)
Nfb = 2

Input Arguments

collapse all

Wavelet image scattering network, specified as a waveletScattering2 object.

Introduced in R2018b