Implement function LoadImage
Add unit test for LoadImage
Change return format and add unit test for integral image