First time here? Check out the FAQ!

Ask Your Question
0

How to scale an 640x480pixels down to 8x4pixels?

asked Jun 3 '13

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
2

answered Jun 3 '13

Nyenna gravatar image

updated Jun 3 '13

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

Preview: (hide)

Comments

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

kpcamota gravatar imagekpcamota (Jun 3 '13)edit

Question Tools

1 follower

Stats

Asked: Jun 3 '13

Seen: 387 times

Last updated: Jun 03 '13