質問

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

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top