how to make my dataset images with the same size ?

3 次查看(过去 30 天)
how to make my dataset images with the same size ? for example 227*227*3

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-4-28
out_image = imresize(in_image, [227 227]);
out_image will have dimensions of 227x227x3.

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by