Add Image decompose function.