Community Profile

Contact

Hello, Anyone have idea how to do if else condition? I have pixel value of AA(i,j)<507x507 double> and BB(i,j)<512x5...

1 Answers

0

Asked 2 years ago

I2 = imread('......'); I2 = rgb2gray (I2); N=8; %N= window size (8x8) [L,L]=size(I2); L2=L/N; S=zeros(L,L); ...

who know about this code? if N=8 and L=512 for i= N:N:L-N for j = 1:L and this one for i= 1:L for j=...

N=8; %N= window size (8x8) [L,L]=size(I); L2=L/N; for i=N:N:L-N for j=1:L S= sum[[(i,j)...

Assume i have 8x8 blocks of image. Here my code: [L L]=size(img); L2=C/8; imgblk=cell(L2,L2); for i=1:L2 for j=...