2 ms·
In case anyone else wants to know the solution is: >> woman = imread("~/Downloads/woman-with-cat.png"); >> colormap('gray'); >> imagesc(woman, [0 255]); >> pkg
by kwhitefoot 2y ago
In case anyone else wants to know the solution is:
>> woman = imread("~/Downloads/woman-with-cat.png");
>> colormap('gray');
>> imagesc(woman, [0 255]);
>> pkg load signal
>> cat = dct2(woman);
>> pkg load image
>> imagesc(imsmooth(cat, "Gaussian", 1), [-4 4]);
dct2 is unimplemented in the image package but exists in the signal package.