Comments (5)
Yes, it is possible. You may need to modify the test function (see: https://github.com/xwjabc/hed/blob/master/hed.py#L257) and use your own image as input.
from hed.
Excuse me, if I use the canny edge processing algorithm, how do I get ODS and OIS? Because I want to use ODS and OIS to compare canny and HED algorithms to compare their gaps in processing at the edge.
from hed.
The current edge evaluation process in HED is:
(1) Generate probabilistic edge maps w/ HED network (i.e., .mat
files in mat
folder and png images in png
folder) -> (2) NMS process to convert the probabilistic edge maps to thinned edge maps (i.e., png images in the nms
folder) -> (3) Evaluate the thinned edge maps.
For Canny edge detection algorithm, I think the outputted edge maps are already processed after NMS. Thus, you may directly evaluate such edge maps using step (3). You can refer to this part for the evaluation of the thinned edge maps.
from hed.
After taking a look at your test code, I would like to know how to generate a MATAT file from a PNG image of Canny
from hed.
I think you do no need to generate MAT file for the step (3) since its input format is png. You can directly feed the generated png files from Canny edge detector into the evaluation step.
If you still need to save images as MAT files, you can use savemat()
function in scipy.io
. See this line for an example.
from hed.
Related Issues (20)
- About eval HOT 1
- about the edge_lable HOT 3
- new datset train HOT 1
- good work
- Problem HOT 1
- About results
- Question about eval HOT 3
- about evaluation HOT 3
- The reproduced results are relatively poor HOT 7
- When I reduce the number of samples, the following problems will occur HOT 1
- When I run the following command in pycharm HOT 1
- when i run the code in matlab HOT 1
- I want to change the convolution kernel shape HOT 1
- error occur when evaling HOT 1
- About the evaluation HOT 1
- About the prediction
- About the input HOT 1
- the pretrain weight HOT 1
- A strange phenomenon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hed.