LeeDoYup / AnoGAN-tf

Unofficial Tensorflow Implementation of AnoGAN (Anomaly GAN)
MIT License
273 stars 90 forks source link

Code to highlight the anomaly detected areas #2

Closed vinodrajendran001 closed 6 years ago

vinodrajendran001 commented 6 years ago

Could you please tell me how to highlight the anomaly detected regions (red color) for X-ray unseen images like you demonstrated in the readme ?

Thanks.

LeeDoYup commented 6 years ago

In this implementation, I summed up reconstruction error of RGB pixel and anomaly regions were represented using gray image. If you want to represent anomaly regions with red color, use R channel in RGB image of reconstruction error.

maryam089 commented 6 years ago
    538 : scipy.misc.imsave(os.path.join(path,filename[1]),errors) this line ? @LeeDoYup 
lzzlxxlsz commented 5 years ago

hello,have you finished it?and you want to mark the anomal-area?

lzzlxxlsz commented 5 years ago

In this implementation, I summed up reconstruction error of RGB pixel and anomaly regions were represented using gray image. If you want to represent anomaly regions with red color, use R channel in RGB image of reconstruction error.

can you explain more concretely?and which code is setting it?

LK1711 commented 5 years ago

Did anyone get this working? @maryam089 @lzzlxxlsz

lipikak17 commented 5 years ago

@LeeDoYup could you please give a concrete explanation as to how this was done?

lzzlxxlsz commented 5 years ago

hello.I want to know that dose the generated image similar with the test data?