how can i calculate entropy set of edge coordinate matrix for object motion detecyion?

1 view (last 30 days)
i have obtained a matrix of edge point coordinates from a canny edge image and now i have to calculate spatial temporal entropy set corresponding to two frames so that by measuring difference of entropy and comparing with threshold value i can find whether object moving or not.
  2 Comments
David Young
David Young on 30 Jan 2016
Are you trying to implement this paper, or a related one?
To get a useful answer on MATLAB Answers you may need to give much more information about what exactly you need to do. Unless you are very lucky and someone happens to have done this particular project, you will need to show the equations that you want to implement and explain the point at which you get stuck.
shikha mangal
shikha mangal on 12 Apr 2016
yes i am implementing this paper.i have done up to obtaining binary image coordinate set.now i have to calculate spetio-temporal entropy of those pixel values at those coordinates.kindly tell me how can i get those pixel values and what is the method to calculate spetio-temporal entropy of them.my work on this is..
a1=imread('vasanth174.jpeg'); b1=rgb2gray(a1); f1=medfilt2(b1); figure(1),imshow(b1); figure(2),imshow(f1); thresh1=graythresh(f1); e1=edge(f1,'canny',thresh1); figure(3),imshow(e1); a2=imread('vasanth184.jpeg'); b2=rgb2gray(a2); f2=medfilt2(b2); figure(4),imshow(b2); figure(5),imshow(f2); thresh2=graythresh(f2); e2=edge(f2,'canny',thresh2); figure(6),imshow(e2); [cx1,cy1]=find(e1); At1=[cx1,cy1]; [cx2,cy2]=find(e2); At2=[cx2,cy2]; how can i do further on this.kindly tell me.thanks.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!