Borrar filtros
Borrar filtros

How to show a quarter portion of image on a whole image area?

5 visualizaciones (últimos 30 días)
harpreet  kaur
harpreet kaur el 22 de Jun. de 2015
Comentada: Image Analyst el 22 de Jun. de 2015
I am using DWT in my code. After, applying DWT on an image, i get the resultant image as shown in attached figure (DWT output).
Now i want the LL part to be displayed alone in the full image area as shown in figure attached (required output), means black portion (as shown in the DWT OUTOUT IMAGE) should not be visible, instead the LL part should cover that portion.
  1 comentario
Image Analyst
Image Analyst el 22 de Jun. de 2015
What function did you call? Doesn't dwt2() give you all 4 as separate output arrays?

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Jun. de 2015
A = imread('yourfile.jpg');
[n,m,~]=size(A);
B=A(1:fix(n/2),1:fix(m/2),:);
imshow(B)

Categorías

Más información sobre Wavelet Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by