Best Padding for Images [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 11 days ago . Improve this question %Padding Part% Padding_Bottom_And_Top = zeros(round(Image_Height/2),Image_Width,3); Side_Padding = zeros(Image_Height+2*size(Padding_Bottom_And_Top,1),Image_Width/2,3); Padded_Image = [Padding_Bottom_And_Top; Original_Image]; Padded_Image = [Padded_Image; Padding_Bottom_And