Main Content

numshears

Number of shearlets

Description

example

NS= numshears(sls)returns the number of shearlets in the shearlet systemsls. The number of shearlets does not include the lowpass filter, which is not sheared. The total filter size of the shearlet system isM-by-N-by-NS+1.MandNare the first and second elements, respectively, of theImageSizevalue ofsls.

The data type ofNSmatches thePrecisionvalue of the shearlet system.

Examples

collapse all

Create a complex-valued shearlet system that can be applied to 256-by-256 images. The system has four scales.

sls = shearletSystem('ImageSize',[256 256],'TransformType','complex',...'NumScales',4);

Obtain the number of shearlets in the shearlet system.

num = numshears(sls)
num = 80

Input Arguments

collapse all

Shearlet system, specified as ashearletSystemobject.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

版本历史

Introduced in R2019b