Welcome to Dream.In.Code
Getting Help is Easy!

Join 105,763 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,694 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Missing MATLAB OPerator

 
Reply to this topicStart new topic

Missing MATLAB OPerator, Ikeep getting this error abt missing matlab operator. Please help

Tavisha
post 14 May, 2008 - 11:25 AM
Post #1


New D.I.C Head

*
Joined: 28 Feb, 2008
Posts: 42



HI Everyone...

I am working on this code and I keep getting this error .
please help. it is related to image processing.
Thanks

CODE


im = imread('S.jpeg');
im = rgb2gray(im);
im = im2double(im);
g = im;
im = imnoise(im,'speckle' , 0.6);
im1 = ones(size(im));
[m,n] = size(im);
tic
for i = 1:16:m-15
     for j = 1:16:n-15
         subim = im(i:i+15,j:j+15);
         [Energy wt sptx spty eptx epty]=extbeamlets(im)
         [selected xp0 yp0 xp1 yp1] = threshold(Energy sptx spty eptx epty);
         result = drawbmlets(selected,xp0,yp0,xp1,yp1,subim);
         im1(i:i+15,j:j+15) = result;
     end
end
toc
figure, imshow(im1);

(selected xp0 yp0 xp1 yp1) = threshold(Energy sptx spty eptx epty);
                       |
Error: Missing MATLAB operator.



Please tell me why I get missing MATLAB Operator.. is it becausse I have to write a sub code for threshold? Please help....
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 01:41PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month