标签: matlab
在这里,我尝试将此图片的r g b数据乘以3x3矩阵。
fil=size(image,1); col=size(image,2); N = fil * col; primaries = reshape(image, N, 3); primaries = primaries'; % modification primaries = primaries'; result = reshape(primaries, fil, col, 3);