Domanda


i m getting this error while typing in editor ,"Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space"
what does it mean sir?wat to do toget out of it?

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


i divided images into 8x8 blocks using mat2cell,but it shows error .
my code is y=[f1 f2 f3 f4 f5]; for li=1:length(y) div=[8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 ]; b(...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


how to add n cellarrays of one image with their corresponding n cellarraya of another image(elementwise)
cat,logical and,sum shows error

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


hi,i need to find peakvalues and its indices.
eg u=[25 8 15 5 6 10 10 3 1 20 7]; n=findpeaks(u) n = 15 10 20 if i use find(u==n) i get error ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


how to store same image in cell(1,192).please help me sir
for p=1:u %no of frames k=edge(cc,'canny');cc is my image name count = numel(find(k(:)==1));%count no of edge pixels ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Hi sir,please send some basics to understand about saving for loop result cell array,array.Then what is the need to use curly braces,paranthesis for saving result.Where to use those brackets.whether the result are stored inside or outside end stmnt
how to save result from nested for loop?. i am totally confused sir,please send some material to understand about saving result....

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


hi sir, how to save max(value) for each iteration in nested for loop?i attach one sample code here,please look after it sir.
t=[1 2 3 4 5]; for i=1:4 for j=1:5 k=i+j; l=max(k)% i need to store max(k)value from each iteration end end...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Hi i attached simple code,i need to store every result from for loop on each iteration,please see my code and alter it sir.
t=[1 2 3 4 5]; for i=1:4 for j=1:5 g=i+j; l=max(g); %Here i need to save l value in one array,likewise save l val...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Hi sir,here i attached one code,i need to save for loop for variable 'idx' answers in one array,then i need to save 'matrix of idx' in another array.please correct my code sir
for p=1:num of frames i1 = cc(1:96,1:96); i2 = cc(1:96,97:192); i3 = cc(97:192,1:96); i4 = cc(97:192,97:192)...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Hi sir, i attached one code,please show hw to save result from for loop
ui=[1 2 3 4 5]; for i=1:length(ui) k=i+(i+1)/2 end

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Hi sir, please find the attached code,and correct it,i need to find likelihood ratio for 'n 4x4 block', in 'n frames'.i dontno to explain clearly,if u see the code u can able to understand what i want.please look after it
for p=1:num of frames i1 = cc(1:96,1:96); i2 = cc(1:96,97:192); i3 = cc(97:192,1:96); i4 = cc(97:192,97:192); y...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


hi i divided image into 4 equal halves and i need to save a block which contain maximum edge pixels,i attached code,but its not working .so please correct my code.
i1 = cc(1:96,1:96); i2 = cc(1:96,97:192); i3 = cc(97:192,1:96); i4 = cc(97:192,97:192); y = {i1, i2, i3, i4}; o=[]; for ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


hi, i need to save my for loop array result in cell array,i attached my code,please correct the mistake which i did
i1=cc(1:96,1:96); i2=cc(1:96,97:192); i3=cc(97:192,1:96); i4=cc(97:192,97:192); y=[i1 i2 i3 i4]; i=[]; for y=1:leng...

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


Hi, my image size is 192x192,i need to reduce it to 20x1.shall is use kmeans clustering?if so,how to write code for kmeans clustering to make the size to 20x1.
if i use kmeans(imagename,20).i am getting 192x1 result.what to do?plz help me sir

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


I need matlab code for background subtraction in video frames
Mixture of Gaussian for background subtraction code

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Hi i need to remove unwanted edges from this image,how to do using matlab?
<</matlabcentral/answers/uploaded_files/35649/matlab.jpg>>

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


I need to display image with only maximum pixel value.
reduce all minimum pixel values to zero.

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


I need to subtract background without using reference image,is there any way to do that?If so, please help me with matlab code
I have single image, i need to subtract its background to get distinct object

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Hi, i need to find distinct object in binary image,plz help to do with matlab code
I enclose two images, one is origin <</matlabcentral/answers/uploaded_files/35569/original.jpg>> al image,next is binary i...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Hi, in binary image i want to divide 'n' number frames into n/2,then in both n/2 frames, i need to calculate number of white pixels,check if that counts are larger or smaller than 'n' white pixels count.if greater again follow the same steps.
its like divide and conquer strategy,if suppose the second 'n/2' white pixel count is greater then divide it into two half and s...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Hi i need to perform fidelity measure in keyframes,please help me to do it using matlab code
I have keyframes separately for each video,how do i want to perform fidelity measure,please help me with matlab code.

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


what is the final feature or result in first generation curvelet toolbox sir?
cv{1} = D(:,:,J+1);this line gives final result for curvelet sir.But cv{1} contains 5 cells inside,i dont know which cell values...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


First i need to divide a binary image into 8x8 block.Second, in all blocks,check if number of 1s is larger than 0s,if larger number of 1s,then i need to convert all 0s to 1s,else convert all 1s to 0s.
using blockprocess,a binary image is divided into 8x8 blocks,then check all blocks that whether number of 1s is larger than numb...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


I need to store each block's result in cell, i am using blockproc.How to do it in matlab?
uxor=blockproc(kk,[8 8],@feature_xor, 'padpartialblocks', true); function: function uxor = feature_xor(block_struct) ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Carica altro