how to read .DOT file in matlab??

1 view (last 30 days)
deep kamal
deep kamal on 20 Jan 2016
Answered: Kirby Fears on 21 Jan 2016
i am using diaretdb0 database for diabetic retinopathy detection. In this grountruth images are of .DOT format. I m not able to read this format
  1 Comment
Kirby Fears
Kirby Fears on 20 Jan 2016
Edited: Kirby Fears on 20 Jan 2016
Matlab doesn't have any built in functions to read and render .DOT images. You could do this outside of Matlab using tools developed for .DOT images: https://en.wikipedia.org/wiki/DOT_(graph_description_language)#Layout_programs
You could alternatively include a DOT-parsing java library into your Matlab code, such as this one: http://graphstream-project.org/
Then you can use the java class methods from within Matlab.

Sign in to comment.

Answers (1)

Kirby Fears
Kirby Fears on 21 Jan 2016
deep,
Matlab doesn't have any built in functions to read and render .DOT images. You could do this outside of Matlab using tools developed for .DOT images: https://en.wikipedia.org/wiki/DOT_(graph_description_language)#Layout_programs
You could alternatively include a DOT-parsing java library into your Matlab code, such as this one: http://graphstream-project.org/
Then you can use the java class methods from within Matlab.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!