segdec-net-jim2019 icon indicating copy to clipboard operation
segdec-net-jim2019 copied to clipboard

About the dilation

Open leon0n opened this issue 5 years ago • 2 comments

hallo guys, thanks for your sharing. But I do have some questions About the dilation operation, in your paper, you show the result the best result with dilation = 5, but I can't find any dilation operation in this project. Also I tried by myself, once I dilated the label mask image, the pixel value of defect which should be in range(0,1) would be changed to (0, <1 like 0.69), so should I do the binarization to the dilated label mask? or not ?

hope to get your response

leon0n avatar Sep 23 '19 06:09 leon0n

Hi, the prepared dataset file for TensorFlow already has dilation=5 included. To get other dilations, you can download the original png images from here and then use this script to generate the TensorFlow dataset with the desired dilations.

Search for the _process_dataset() function for the entry point which takes dilation parameter. This function will also do the binarization of label when require_binary_output = True, which we did use in our case.

Best, Domen.

skokec avatar Sep 24 '19 11:09 skokec

Thanks for your response! I have got a better result on the Dataset . Thank you

leon0n avatar Sep 26 '19 02:09 leon0n