-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,024 changed files
with
805,928 additions
and
39,559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
all: | ||
$(MAKE) -C igraph | ||
g++ image_to_graph.cc -o image_to_graph -Wall -ligraph `pkg-config --cflags --libs opencv` | ||
|
||
config: | ||
cd igraph && ./configure && cd .. | ||
|
||
.PHONY: clean allclean | ||
|
||
clean: | ||
rm -f image_to_graph | ||
|
||
allclean: | ||
$(MAKE) -C igraph clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
You'll need OpenCV for this. The igraph package is also needed and it's included. | ||
|
||
Compile: | ||
``` | ||
g++ image_to_graph.cc -o image_to_graph -Wall -ligraph -fopenmp `pkg-config --cflags --libs opencv` | ||
make config | ||
make | ||
``` | ||
|
||
Run stack: | ||
``` | ||
./image_to_graph lena.jpg && python display_graph.py | ||
./image_to_graph <input_image> && python display_graph.py <input_image> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Gabor Csardi <[email protected]> | ||
Tamas Nepusz <[email protected]> |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Oops, something went wrong.