It is clever to use the predicted result and the actual gene expression as images to obtain quantitative results. However, when I run this on the sc and ST data, I get the same image. So, I would like to ask you about the implementation details of this function:
Why do img_truth and img_predict have been given the same ST gene expression values?
img_predict[i,x_pixel_pred, y_pixel_pred,1] = img_predict[i,x_pixel_pred, y_pixel_pred,1] + 1
Why is this line of code only after the "else" section? Should it be +1 after every given value, including the "if" section?
It is clever to use the predicted result and the actual gene expression as images to obtain quantitative results. However, when I run this on the sc and ST data, I get the same image. So, I would like to ask you about the implementation details of this function:
Why do img_truth and img_predict have been given the same ST gene expression values?
img_predict[i,x_pixel_pred, y_pixel_pred,1] = img_predict[i,x_pixel_pred, y_pixel_pred,1] + 1
Why is this line of code only after the "else" section? Should it be +1 after every given value, including the "if" section?