I present images by the command cv::imshow.
I have images in different size and I want for each image that it will present it in the center of the screen.
I tried to do this with the command cv::moveWindow but it does not display any image in any size in the center of the screen.
for images that are about 1200x628 in size it displays in the center of the screen, but for images that are about 600x500 in size it displays on the left size of the screen.
I want command that always display the image in the center of the screen regardless of the size of the image.