DexiNed icon indicating copy to clipboard operation
DexiNed copied to clipboard

How to decrease the detected edge size?

Open shubham12tomar opened this issue 3 years ago • 5 comments

Dear Sir,

I am using DexiNed in tensorflow==1.13

  1. I need thin edges but the predicted edges are thick. Can you please tell me the parameter so that I can make edges thin the in predicted outputs.

Thanks and Regards.

shubham12tomar avatar Jun 11 '21 07:06 shubham12tomar

Hi, its a great question and the edge thinness depends on different things. For example if you compare Dexined trained in BIPED en evaluated on BSDS; and Dexined trained on BSDS tested on BSDS, the predicted edge maps from the first one are thinner. But if you want more thinner, it depends on loss function, GT, architecture, parameters tuning.

Another option is apply NMS to the predicted edge-maps.

Hope it helped

xavysp avatar Jun 22 '21 20:06 xavysp

What is (GT, NMS)?

weinixuehao avatar Jul 13 '21 05:07 weinixuehao

What is (GT, NMS)?

GT = ground truth, NMS = non-maximum suppression

@xavysp What do you mean by parameter tuning? If I use the same architecture (no changes in model.py) the same GT, same loss, as in a training before, than how can it happen now when I runned it again, that I have thicker edges learned? What have I might changed? Should I modify the fusion's weights?

g-h-anna avatar Aug 04 '21 08:08 g-h-anna

any update on this? I am also facing the same issue with thick edges. Could you please guide as to how to apply NMS on the edge map? @xavysp

neo133 avatar Oct 31 '22 06:10 neo133

any update on this? I am also facing the same issue with thick edges. Could you please guide as to how to apply NMS on the edge map? @xavysp

HI sorry for this answare, please go to RFC repo, the official one, the you may find the code and a more pedagogical explanation

xavysp avatar Nov 06 '22 17:11 xavysp