matlab - How to resize 28x28 pixels image to 20x20 pixels? -


i want pixels in size 20x20 when imported mnist in 28x28 pixels. how can convert 20x20 pixels in matlab?

based on matlab documentation, can use following imresize syntax it:

b = imresize(a, [20 20]) 

Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -