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);

Antworten (1)

Walter Roberson
Walter Roberson am 26 Nov. 2013

0 Stimmen

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

2 Kommentare

Poonam
Poonam am 26 Nov. 2013
What will be the solution for it
Poonam
Poonam am 28 Nov. 2013
Sir
y_outImg is 2D
whereas ycbcrOutImg is 3D

Diese Frage ist geschlossen.

Tags

Gefragt:

am 26 Nov. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by