Getting the following error,please help to solve it

y_outImg = blkproc(dctImg, [8 8], 'idct2(x)'); %#ok<NASGU>
ycbcrOutImg(:,:,1) = y_outImg;
  • * error * *
??? Subscripted assignment dimension mismatch.
Error in ==> colordct at 54 ycbcrOutImg(:,:,1) = y_outImg;
Error in ==> NormalizeMeansegdemo at 83 Img=colordct(I);

Answers (1)

y_outImg is either empty or is 3 or more dimensions (more likely)

2 Comments

What will be the solution for it
Sir
y_outImg is 2D
whereas ycbcrOutImg is 3D

This question is closed.

Tags

Asked:

on 26 Nov 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!