The second option is clearly much easier and it amazes me that every language doesn't implement the sprintf-function as a standard function There are probably a tonne of these implementations out ...
pre_scale_ycbcr = imresize(YCbCr_422, (1/scale_factor), 'bicubic'); fprintf("PSNR Matlab RGB: %0.4f\nPSNR Self RGB: %0.4f\n", PSNR_matlab_rgb, PSNR_self_rgb); fprintf ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results