Automatic detection of moistures in different construction materials from thermographic images