Self avoiding random walk for pixel modification
이전 댓글 표시
Hello everyone. I have a problem, explained below. I expect your kind help, thank you. I have a 2D spatial coordinates of a true colour image. Now I need to generate a self avoiding random walk to modify the pixels. A criteria is to avoid the pixels that have been already modified. How to approach for it? I am new in this approach.
댓글 수: 1
Adam Danz
2020년 6월 10일
There are lots of random walk algorithms already layed out within the forum.
- https://www.mathworks.com/matlabcentral/answers/502466-generate-a-random-path-between-two-points
- https://www.mathworks.com/matlabcentral/answers/502466-generate-a-random-path-between-two-points
- https://www.mathworks.com/matlabcentral/answers/444374-self-avoiding-random-walk-help
- and more (search the forum for random walk
Study those methods and try to get a sense of the big picture before starting to implement the algorithm in your code. If you have a specific problem, come back to the forum (or this thread) for specific questions.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Networks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!