the code is in RAVL, the code handles everything, the only thing that i need to do through QT is choose the picture through the interface and the result of the code is to be shown too.