photo

kaavya subramani


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


hi,how to convert 6x6 cell into 1x36 cell in matlab
(i.e) i need answer all cells in single row

8 years ago | 1 answer | 0

1

answer

Question


Hi, i have pk=1x6 cell,each cell contains 192x192 data, i need to divide each 192x192 data into 3x3,then perfrom "AND",i.e result=64x64x6
plz check whether my code is correct fun=@(block_struct) sum(block_struct.data); for ol=1:length(pk) result(:,:,ol)=b...

8 years ago | 1 answer | 0

1

answer

Question


I have one doubt, i have t=1x16x32 double, i need to store these into matrix form.
(i.e) i have value(:,:,1) column 1 to 16 (values: 1 4 6 7...............till 16th value) but now i want to be like matrix=[32...

8 years ago | 1 answer | 0

1

answer

Question


plz help me to store center values alone in matrix form according to 3x3 blocks,also i need to convert binary into decimal in form of idx=[1 2 3 6 9 8 7 4] and save these values in another matrix, i attach my code below
k=imread('D:\research work\clock.tiff'); [rows, columns] = size(k); thresholds = k(2:3:end, 2:3:end); % Get centers of 3...

8 years ago | 0 answers | 0

0

answers

Question


sir, plz help me to solve this errror, i attach my code here
k=imread('D:\research work\clock.tiff');%192x192 double [rows, columns] = size(k); thresholds = k(2:3:end, 2:3:end); % Get cen...

8 years ago | 0 answers | 0

0

answers

Question


Plz rectify the error while doing background subtraction, i got error like "reference to non-existant field 'read'.i attach my code here, plz lookafter it
bk_downsample = 300; %The downsample factor for frame averaging disp('Opening video...') vob = mmread('D:\research work\videos...

8 years ago | 0 answers | 0

0

answers

Question


Sir, plz help me with matlab code
my matrix is k=[0 -1 1 1;0 -1 1 1;0 1 1 -1;0 -1 1 -1]; i need to perform xor operation for each row and get single value,plz......

8 years ago | 0 answers | 0

0

answers

Question


Sir plz help me to rectify this error
X=reshape(x,size(Y)); where x=1; and Y=256 * 256 uint8 I got the error like this "To RESHAPE the number of element...

8 years ago | 2 answers | 0

2

answers

Question


Hi, i need to divide all 5 images into 16x16 block, then perform "minus" operation (i.e 1st from 3rd image, then calculate "mean").Likewise for (3rd and 5th image) and (2nd and 4th image) using block process
Thanks a lot sir, i have tried code using those 2 function, please check whether it is correct. n=16*ones(1,16) k=[img1 img2 i...

8 years ago | 0 answers | 0

0

answers

Answered
Hi, i need to divide all 5 images into 16x16 block, then perform "minus" operation (i.e 1st from 3rd image, then calculate "mean").Likewise for (3rd and 5th image) and (2nd and 4th image) using block process
Thanks a lot sir, i have tried code using those 2 function, please check whether it is correct. n=16*ones(1,16) k=[img1 ...

8 years ago | 0

Question


plz see my code and save 'mj' result
ci=1; mj=[]; for vi=1:length(kp) if kp(vi)>=450 mj(ci)=vi; ci=ci+1; end ...

9 years ago | 1 answer | 0

1

answer

Question


Hi i tried 2d dwt without inbuilt function8,but i am getting error as"Dimensions of matrices being concatenated are not consistent."
My code is f=image(2562x256) h='haar' N = length(h); L = length(f); c = f; h0 = fliplr(h); % Sca...

9 years ago | 0 answers | 0

0

answers

Question


I am getting error while performing dct and dwt for images,please correct it or give some suggestions.Thanks in advance
1) for ii=1:length(yy1)%yy1 contains 2 cells of size 192x192x3 dwt{1,ii}=dwt(yy1{ii},'db4');% i need to store approximat...

9 years ago | 1 answer | 0

1

answer

Load more