# Revision history [back]

Hello,

The reason you are getting the error, or rather no result image is created, is due to the fact that stitcher parameters are created with default values in parameters.

That is why, just after the line

Stitcher stitcher = Stitcher::createDefault(try_use_gpu);


stitcher.setRegistrationResol(-1); /// 0.6