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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -