pixel to angle function in camprocess4