VOOZH about

URL: https://www.geeksforgeeks.org/matlab/2-d-inverse-cosine-transform-in-matlab/

⇱ 2-D Inverse Cosine Transform in MATLAB - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

2-D Inverse Cosine Transform in MATLAB

Last Updated : 28 Apr, 2025

The 2-D inverse cosine transform is used to decode an image into the spatial domain, which is a more suitable data representation for compression (ICT). ICT-based decoding is the foundation for standards for image and video decompression. or, to put it another way, we can say that the inverse cosine transform (ICT) sums sinusoids of different frequencies and sizes to represent an image. The ict2 function is used to determine an image's two-dimensional inverse cosine transform (ICT). The ict2 function calculates an image's two-dimensional inverse cosine transform (ICT). The ICT has the characteristic that the majority of the visually significant information in a typical image is concentrated in just a few of the ICT coefficients.

Syntax 

Y = ict2(X)
Y = ict2(X,m,n)
Y = ict2(X,[m n])

Y = ict2(X) returns the two-layered reverse inverse cosine change (ICT) of X. Before applying the inverse transformation, Y = ict2(X,u,v) and Y = ict2(X,[u v]) pad X with 0s to size u-by-v.

Example 1:

Output:

👁 Image
 
Comment