The invention discloses a computer
data compression and
reconstruction method based on
matrix decomposition, which relates to the technical field of
computer data processing, and comprises the following steps: S1, color conversion and chroma down-sampling: converting an image from RGB to
YCbCr so as to reduce correlation between channels, down-sampling chroma channels according to a set proportion, preferentially retaining brightness details, synchronously generating a parameter table, and performing color conversion and chroma down-sampling; recording image size, down-sampling proportion and integer boundary information; s2, block division and matrix
assembly: dividing each channel into small blocks with a fixed size, flattening the small blocks into vectors, stacking the small blocks by taking the blocks as rows to form a channel-level
observation matrix, retaining block indexes, setting ranks or quality factors as
code rate control quantities, and writing the
code rate control quantities into a parameter table; and S3, low-rank approximation of discrete
perception: solving a low-rank representation that X is approximately equal to U multiplied by V
transpose in a bounded integer domain, and elements of U and Vare constrained by integer boundaries, and the method has the characteristic of reducing errors.