Upcasting depth conversion improved.
Image implementation fixed.
Resplit implemented.