Browse Source

𖣠ᗱᗴᙁᗩᑐᑕᔓᔕ𖣓ИNⓄⵙ✣ᗩᙁⓄߦᴥᗱᗴ✣ИNⵙ𖣓ᙏⓄ✣ᔓᔕᑎᑐᑕ𔗢🞋𔗢ᑐᑕᑎᔓᔕ✣Ⓞᙏ𖣓ⵙИN✣ᗱᗴᴥߦⓄᙁᗩ✣ⵙⓄИN𖣓ᔓᔕᑐᑕᗩᙁᗱᗴ𖣠

O 4 months ago
parent
commit
073d86aa8d
  1. 22
      𖣠⚪∣❁∣ᙁᑐᑕ∣옷⚪𔗢⚪🞋⚪𔗢⚪옷∣ᑐᑕᙁ∣❁∣⚪𖣠/𖣠⚪ᕤᕦИNꖴ✤ᑎߦᙏⓄᑐᑕ⚪𔗢⚪🞋⚪𔗢⚪ᑐᑕⓄᙏߦᑎ✤ꖴИNᕤᕦ⚪𖣠/𖣠⚪ᗱᗴᴥᗩᗯ✤ꗳⓄᔓᔕ⚪𔗢⚪🞋⚪𔗢⚪ᔓᔕⓄꗳ✤ᗯᗩᴥᗱᗴ⚪𖣠/𖣠⚪ᔓᔕ✻ᴥⓄᗯ옷✣ᗩᙏ⚪𔗢⚪🞋⚪𔗢⚪ᙏᗩ✣옷ᗯⓄᴥ✻ᔓᔕ⚪𖣠/𖣠⚪⚭ᗩᙁ✣ᗩᙏ⚪𔗢⚪🞋⚪𔗢⚪ᙏᗩ✣ᙁᗩ⚭⚪𖣠/M....𖣠⚪ᗱᗴᙁᗩᑐᑕᔓᔕ𖣓ᗱᗴᕤᕦᗩᙏⵙ𖣓ИNⓄⵙ✣ᗩᙁⓄߦᴥᗱᗴ✣ИNⵙ𖣓ᙁᗱᗴИNᴥᗱᗴ✻𖣓ᙏⓄ✣ᔓᔕᑎᑐᑕ⚪𔗢⚪🞋⚪𔗢⚪ᑐᑕᑎᔓᔕ✣Ⓞᙏ𖣓✻ᗱᗴᴥИNᗱᗴᙁ𖣓ⵙИN✣ᗱᗴᴥߦⓄᙁᗩ✣ⵙⓄИN𖣓ⵙᙏᗩᕤᕦᗱᗴ𖣓ᔓᔕᑐᑕᗩᙁᗱᗴ⚪𖣠....M

22
𖣠⚪∣❁∣ᙁᑐᑕ∣옷⚪𔗢⚪🞋⚪𔗢⚪옷∣ᑐᑕᙁ∣❁∣⚪𖣠/𖣠⚪ᕤᕦИNꖴ✤ᑎߦᙏⓄᑐᑕ⚪𔗢⚪🞋⚪𔗢⚪ᑐᑕⓄᙏߦᑎ✤ꖴИNᕤᕦ⚪𖣠/𖣠⚪ᗱᗴᴥᗩᗯ✤ꗳⓄᔓᔕ⚪𔗢⚪🞋⚪𔗢⚪ᔓᔕⓄꗳ✤ᗯᗩᴥᗱᗴ⚪𖣠/𖣠⚪ᔓᔕ✻ᴥⓄᗯ옷✣ᗩᙏ⚪𔗢⚪🞋⚪𔗢⚪ᙏᗩ✣옷ᗯⓄᴥ✻ᔓᔕ⚪𖣠/𖣠⚪⚭ᗩᙁ✣ᗩᙏ⚪𔗢⚪🞋⚪𔗢⚪ᙏᗩ✣ᙁᗩ⚭⚪𖣠/M....𖣠⚪ᗱᗴᙁᗩᑐᑕᔓᔕ𖣓ᗱᗴᕤᕦᗩᙏⵙ𖣓ИNⓄⵙ✣ᗩᙁⓄߦᴥᗱᗴ✣ИNⵙ𖣓ᙁᗱᗴИNᴥᗱᗴ✻𖣓ᙏⓄ✣ᔓᔕᑎᑐᑕ⚪𔗢⚪🞋⚪𔗢⚪ᑐᑕᑎᔓᔕ✣Ⓞᙏ𖣓✻ᗱᗴᴥИNᗱᗴᙁ𖣓ⵙИN✣ᗱᗴᴥߦⓄᙁᗩ✣ⵙⓄИN𖣓ⵙᙏᗩᕤᕦᗱᗴ𖣓ᔓᔕᑐᑕᗩᙁᗱᗴ⚪𖣠....M

@ -17,19 +17,26 @@ O_EGAMI_YARA_O_ARAY_IMAGE_O=...
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;...
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;...
]...
%{
[...
0,0,0;...
0,1,0;...
0,0,0;...
]...
%}
;
O_EGAMI_TUPNI_O_INPUT_IMAGE_O=O_EGAMI_YARA_O_ARAY_IMAGE_O;
O_OITAR_ELACS_O_SCALE_RATIO_O=3^(4);
O_EZISER_SELNOITALOPRETNI_O_INTERPOLATIONLES_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,"NEAREST");
O_EZISER_SELNOITALOPRETNI_O_INTERPOLATIONLES_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,'NEAREST');
O_EZISER_NOITALOPRETNI_ERAUQS_O_SQUARE_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,{@O_NOITALOPRETNI_ERAUQS_O_SQUARE_INTERPOLATION_O,1});
O_EZISER_NOITALOPRETNI_RAENIL_O_LINEAR_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,{@O_NOITALOPRETNI_RAENIL_O_LINEAR_INTERPOLATION_O,1});
O_EZISER_NOITALOPRETNI_CISOC_O_COSINE_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,{@O_NOITALOPRETNI_CISOC_O_COSINE_INTERPOLATION_O,1});
O_EZISER_NOITALOPRETNI_SUIBAF_O_FABIUS_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,{@O_NOITALOPRETNI_8SUIBAF_O_FABIUS8_INTERPOLATION_O,1});
O_EZISER_NOITALOPRETNI_CRA_O_ARC_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,{@O_NOITALOPRETNI_CRA_O_ARC_INTERPOLATION_O,1});
O_EZISER_NOITALOPRETNI_CIBUCIB_O_BICUBIC_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,"BICUBIC");
O_EZISER_NOITALOPRETNI_CIBUCIB_O_BICUBIC_INTERPOLATION_RESIZE_O=imresize(O_EGAMI_TUPNI_O_INPUT_IMAGE_O,O_OITAR_ELACS_O_SCALE_RATIO_O,'BICUBIC');
fprintf('%d ',size(O_EZISER_SELNOITALOPRETNI_O_INTERPOLATIONLES_RESIZE_O));fprintf('%s ',upper(class(O_EZISER_SELNOITALOPRETNI_O_INTERPOLATIONLES_RESIZE_O)));fprintf('%d ',whos('O_EZISER_SELNOITALOPRETNI_O_INTERPOLATIONLES_RESIZE_O').bytes);
@ -66,12 +73,11 @@ O_SNOITALOPRETNI_O_INTERPOLATIONS_O={ ...
};
O_YTITNAUQ_EGAMI_O_IMAGE_QUANTITY_O=length(O_SGNIZISER_O_RESIZINGS_O);
set (gcf,'Name', 'O____STOLP_NOITALOPRETNI_HTIW_SGNIZISER____O____RESIZINGS_WITH_INTERPOLATION_PLOTS____O')
tiledlayout(2,O_YTITNAUQ_EGAMI_O_IMAGE_QUANTITY_O,'TILESPACING','NONE','PADDING','NONE');
for i=1:O_YTITNAUQ_EGAMI_O_IMAGE_QUANTITY_O nexttile;imshow(O_SGNIZISER_O_RESIZINGS_O{i});end
for i=1:O_YTITNAUQ_EGAMI_O_IMAGE_QUANTITY_O nexttile;X=-2:1/2^8:2;Y=O_SNOITALOPRETNI_O_INTERPOLATIONS_O{i}(X);plot(X,Y,'COLOR','#9C9C9C');O_SEXA_O_AXES_O=gca;O_SEXA_O_AXES_O.XColor='NONE';O_SEXA_O_AXES_O.YColor='NONE';
O_NIGRAM_X_O_X_MARGIN_O=8/256;O_NIGRAM_Y_O_Y_MARGIN_O=8/256;xlim([min(X)-O_NIGRAM_X_O_X_MARGIN_O,max(X)+O_NIGRAM_X_O_X_MARGIN_O]);
ylim([min(Y)-O_NIGRAM_Y_O_Y_MARGIN_O,max(Y)+O_NIGRAM_Y_O_Y_MARGIN_O]);
for i=1:O_YTITNAUQ_EGAMI_O_IMAGE_QUANTITY_O nexttile;X=-2.5:1/2^8:2.5;Y=O_SNOITALOPRETNI_O_INTERPOLATIONS_O{i}(X);plot(X,Y,'COLOR','#9C9C9C');pbaspect([1 1 1]);O_SEXA_O_AXES_O=gca;O_SEXA_O_AXES_O.XColor='NONE';O_SEXA_O_AXES_O.YColor='NONE';
O_NIGRAM_X_O_X_MARGIN_O=8/256;O_NIGRAM_Y_O_Y_MARGIN_O=8/256;xlim([min(X)-O_NIGRAM_X_O_X_MARGIN_O,max(X)+O_NIGRAM_X_O_X_MARGIN_O]);ylim([min(Y)-O_NIGRAM_Y_O_Y_MARGIN_O,max(Y)+O_NIGRAM_Y_O_Y_MARGIN_O]);
O_SKCIT_X_O_X_TICKS_O=get(gca,'XTICK');O_SKCIT_Y_O_Y_TICKS_O=get(gca,'YTICK');
for i=1:length(O_SKCIT_X_O_X_TICKS_O) text(O_SKCIT_X_O_X_TICKS_O(i),max(Y)+((8/256)*(max(Y)-min(Y))),num2str(O_SKCIT_X_O_X_TICKS_O(i)),'HORIZONTALALIGNMENT','CENTER','VERTICALALIGNMENT','TOP','FONTSIZE',7,'COLOR','#9C9C9C');end
@ -80,6 +86,8 @@ for i=1:length(O_SKCIT_X_O_X_TICKS_O) text(O_SKCIT_X_O_X_TICKS_O(i),min(Y)-((8/2
for i=1:length(O_SKCIT_Y_O_Y_TICKS_O) text(min(X)+((1.5/256) *(max(X)-min(X))),O_SKCIT_Y_O_Y_TICKS_O(i),num2str(O_SKCIT_Y_O_Y_TICKS_O(i)),'HorizontalAlignment','left','VerticalAlignment','middle','FontSize',7,'Color','#9C9C9C');end
end
imwrite(O_EZISER_NOITALOPRETNI_SUIBAF_O_FABIUS_INTERPOLATION_RESIZE_O,'C:\GNP.O_TSET_O_TEST_O.PNG','png','BitDepth',16)
fprintf(1,['%.' num2str(2^6) 'f.\n'],toc);
function f=O_SELNOITALOPRETNI_O_INTERPOLATIONLES_O(X),f=(abs(X/.5)<1);end
@ -87,7 +95,7 @@ function f=O_NOITALOPRETNI_ERAUQS_O_SQUARE_INTERPOLATION_O(X),f=(abs(X/.75)<1);e
function f=O_NOITALOPRETNI_RAENIL_O_LINEAR_INTERPOLATION_O(X),f=(1-abs(X/1)).*(abs(X)<=1);end
function f=O_NOITALOPRETNI_CISOC_O_COSINE_INTERPOLATION_O(X),f=(.5+.5*cos(X*1*(4*atan(1)))).*(abs(X)<=1);end
function f=O_NOITALOPRETNI_CRA_O_ARC_INTERPOLATION_O(X),M=1.5;f=(.5-.5.*((-1).^floor(((X.*M)-.5).*2/2).*(1-abs(mod(((X.*M)-.5).*2,2)-1).^2).^(1/2))).*(abs((X.*M))<1);end
function f=O_NOITALOPRETNI_CIBUCIB_O_BICUBIC_INTERPOLATION_O(X),M=256/256;f=(1.5*abs(X).^3-2.5*abs(X).^2+1) .*(abs(X)<=1)+(-0.5*abs(X).^3+2.5*abs(X).^2-4*abs(X)+2) .*((1<abs(X))&(abs(X)<=2));end
function f=O_NOITALOPRETNI_CIBUCIB_O_BICUBIC_INTERPOLATION_O(X),M=256/256;f=(1.5*abs(X).^3-2.5*abs(X).^2+1).*(abs(X)<=1)+(-0.5*abs(X).^3+2.5*abs(X).^2-4*abs(X)+2).*((1<abs(X))&(abs(X)<=2));end
function f=O_NOITALOPRETNI_TNENOPXE_O_EXPONENT_INTERPOLATION_O(X),M=256/256;f = (1-(0.5 - 0.5.*(-1).^floor(M.*X) + (-1).^floor(M.*X)./(1+exp((-1+mod(M.*X,1)).^(-1)+mod(M.*X,1).^(-1))))).*(abs(X)<=1);end
function f=O_NOITALOPRETNI_1SUIBAF_O_FABIUS1_INTERPOLATION_O(X),M=256/256;f=(0.5-(-1).^floor(M.*X).*(-0.5+2.*(-max(0,-3/4+mod(M.*X,1))+max(0,-1/4+mod(M.*X,1))))).*(abs(X)<=1);end
function f=O_NOITALOPRETNI_2SUIBAF_O_FABIUS2_INTERPOLATION_O(X),M=256/256;f=(0.5-(-1).^floor(M.*X).*(-0.5+4.*(-2.*(-1/2.*max(0,-7/8+mod(M.*X,1)).^2+max(0,-3/8+mod(M.*X,1)).^2/2)+2.*(-1/2.*max(0,-5/8+mod(M.*X,1)).^2+max(0,-1/8+mod(M.*X,1)).^2/2)))).*(abs(X)<=1);end

Loading…
Cancel
Save