Ask Your Question

How to scale an 640x480pixels down to 8x4pixels?

asked 2013-06-03 02:58:25 -0500

kpcamota gravatar image

How to scale an 640x480 pixels down to 8x4 pixels?

The same as what they did in here: image description

Image 1 is 640x480 pixels and then they scaled it down to 8x4 pixels.

Note: I am new to OpenCV.

does OpenCV has a function capable of doing this? I'd been reading about the Geometric Image Transformations in OpenCV.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-03 03:08:45 -0500

Nyenna gravatar image

updated 2013-06-03 03:09:35 -0500

In c++, the function is called cv::resize. Have a look at the documentation here.

edit flag offensive delete link more


does the resize function will produce the same result as the Image 2?

kpcamota gravatar imagekpcamota ( 2013-06-03 05:03:15 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2013-06-03 02:58:25 -0500

Seen: 217 times

Last updated: Jun 03 '13