0
votes

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

1
Which library are you using? Or is it your code? - Mikhail
What library/code are you using? I can't see the Java part in your question yet - emecas
@Noofiz Its my own code.. I want to know what values to pass in for applying haar transform - Manasvi Karanam
@emecas Sorry for adding the java tag.. the prob is not with java.. - Manasvi Karanam

1 Answers

1
votes

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