Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

move and expand image

image description -> image description

How can i make the image like this? I am thinking about the flow like this.

First, make a new Mat type data 256*256.

Second, fill the image with the average value of small image.

Third, copy the small image in the middle of the new image.

Is that rignt? and also how can i copy the small image in the middle of the new image? T.T

move and expand image

image description -> image description

How can i make the image like this? I am thinking about the flow like this.

First, make a new Mat type data 256*256.

Second, fill the image with the average value of small image.

Third, copy the small image in the middle of the new image.

Is that rignt? and also how can i copy the small image in the middle of the new image? T.T

move and expand image

image description -> image description

How can i make the image like this? I am thinking about the flow like this.

First, make a new Mat type data 256*256.

Second, fill the image with the average value of small image.

Third, copy the small image in the middle of the new image.

Is that rignt? and also how can i copy the small image in the middle of the new image? T.T