문제

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