MATLAB: How to downsample YUV colour image but downsample process only in U and V components ?

downsamle and partition image

how to downsample YUV colour image but downsample process only in U and V components ?? and after that, i'm reaaly confused how to partition images into nonoverlapped blocks and overlapped blocks ?

Best Answer

subSampleRate = 4;
smallImage = fullImage(1:subSampleRate:end, 1:subSampleRate:end, :);
fullImage is either the U or the V image.