Ant Colony Optimization and edge detection explanation request.
2 views (last 30 days)
Show older comments
Sir, I referred your program for edge detection using Ant Colonly Optimization. There are some functions that I couldnt understand. I request you to please explain the following code??
rand('state', sum(clock));
temp = rand(ant_total_num, 2);
ant_pos_idx(:,1) = round(1 + (nrow-1) * temp(:,1));
ant_pos_idx(:,2) = round(1 + (ncol-1) * temp(:,2));
0 Comments
Answers (1)
Image Analyst
on 4 Oct 2012
Which function, rand(), sum(), or round() do you not understand, even after looking it up in the help?
0 Comments
See Also
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!