对于不同的块处理,Bis a numeric or logical matrix withm*nrows. Each column corresponds to one block.
For sliding neighborhood processing,Bis a numeric or logical row vector of size 1-by-(M-m+1)*(N-n+1).
Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|logical
[m n]—Block size 2-element vector of positive integers
Block size, specified as a 2-element vector of positive integers.mis the number of rows andnis the number of columns in each block.m*nmust be equal to the number of rows ofB.
Data Types:double
[M N]—Image size 2-element vector of positive integers
Image size, specified as a 2-element vector of positive integers.Mis the number of rows andNis the number of columns in the image.
Reconstructed image, returned as a numeric matrix of sizeM-by-Nfor distinct block processing, or(M-m+1)-by-(N-n+1)for sliding block processing.Ahas the same data type asB.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.