how to save edges in vector

2 views (last 30 days)
DSB
DSB on 29 Mar 2017
Commented: Walter Roberson on 10 Apr 2017
I'm trying to save the edges in vector in .mat file how can i do that?
  2 Comments
Walter Roberson
Walter Roberson on 30 Mar 2017
how do you want the edges to be represented?
DSB
DSB on 30 Mar 2017
zero and one

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Mar 2017
Suppose you have just done edge detection on an image, and suppose the name of the output matrix is EdgeMatrix . Then you can do
EdgeVector = EdgeMatrix(:);
save EdgeMat.mat EdgeVector
  6 Comments
DSB
DSB on 10 Apr 2017
I got accuracy 68% do you know how can i improve the accuracy?!
Walter Roberson
Walter Roberson on 10 Apr 2017
Use a different Classification method, or experiment with different kernels, or choose a different set of features.
SVM on detected edges might not be a useful approach at all.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!