Hi, Dongnan Liu
When using CycleGAN to generate Kumar-like style images from BBBC images, it seems that the results are learned in reverse, although the style is learned. That is, the region of cell nuclei in BBBC, is shown as background in the generated data, while the region of background in BBBC, has cell nuclei in the generated data.
I'm not sure what the problem is and would appreciate your help.
I found that the code uses "img = cv2.imread(file_path, 1)" to read in the data without converting it to RGB channels, does this have any effect?
Hi Dongnan,
According to your reply, we have tried image inverse, the code for inverse is as follows, the result is as shown in the picture, but nothing seems to work, so we have to ask you for help again!
You replied earlier that the image should be inverted to a white background and black nuclei, the image we inverted seems to have gray nuclei, is that the problem here?
May I ask if we have written the code wrong? Or is there some other unnoticed data processing?
Hi, Dongnan Liu When using CycleGAN to generate Kumar-like style images from BBBC images, it seems that the results are learned in reverse, although the style is learned. That is, the region of cell nuclei in BBBC, is shown as background in the generated data, while the region of background in BBBC, has cell nuclei in the generated data.
I'm not sure what the problem is and would appreciate your help.
I found that the code uses "img = cv2.imread(file_path, 1)" to read in the data without converting it to RGB channels, does this have any effect?