Manasvi Karanam
Manasvi Karanam

Reputation: 27

haar wavelet transform

I have a function which will calculate haar transformation for an image. Now i am passing the pixel values of the image directly to the haar function for computation. Iam not getting the original image back in LL sub band. Please help me whats wrong. I am very sure the harr transform computation is correct. But I am not sure what values to pass. Please help

Upvotes: 0

Views: 2662

Answers (1)

Alya'a Gamal
Alya'a Gamal

Reputation: 5638

if you use RGB image , so you need to split it to 3 channels and get the Haar for each channel(red, green , blue).

if the image is Gray one , so use it's pixel direct in Haar Function

Upvotes: 1

Related Questions