Skip to content

Commit

Permalink
Update adj_image.m
Browse files Browse the repository at this point in the history
  • Loading branch information
etfovac committed Aug 27, 2021
1 parent bff2a0d commit fe570be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions adj_image.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function [Image, Vs, Ss] = adj_image(orig_Image, block_dim)
% Podesavanje dimenzija slike (zero padding)
% Image dimensions
% Image dimensions adjustment (zero padding)
Vor = size(orig_Image, 1); % h
Sor = size(orig_Image, 2); % w
remainder1 = mod(Vor, block_dim);
Expand All @@ -10,7 +9,7 @@
% Image dimensions
Vs = size(Image, 1);
Ss = size(Image, 2);
fprintf('\n Dimenzije slike su podesene na: %ix%i.', Vs, Ss);
fprintf('\n Image dimensions are set to: %ix%i.', Vs, Ss);
else
Image = orig_Image;
% Image dimensions
Expand Down

0 comments on commit fe570be

Please sign in to comment.