run-youngjoo/SC-FEGAN

How to make sketch

huangqianfirst opened this issue · 5 comments

@joyoungjoo
Could you please tell some details about how to make sketch like below:
image
I used HED to make sketch after histogram equalization, but still can't get facial sketch.
portrait_clahe_concat
Looking forward to your reply.

Hello @huangqianfirst
I think you get some idea for getting facial sketch from https://github.com/phillipi/pix2pix.
Also, the method for histogram equalization shows different performance depends on image read library(opencv, pyImage).
In my case, i used CLAHE method for histogram equalization and read the image with PIL library.

@joyoungjoo Hi,Could you share the scripts of making datasets,TKS!

How to use CLAHE method for histogram equalization?

Hi, does anyone get the currect sketch?