Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Reconstruct Predicted/Output 2D Stain Images #187

Open
MattsonCam opened this issue Oct 10, 2024 · 0 comments
Open

Cannot Reconstruct Predicted/Output 2D Stain Images #187

MattsonCam opened this issue Oct 10, 2024 · 0 comments

Comments

@MattsonCam
Copy link

Description

In the release_1 branch linked in Label-free prediction of three-dimensional fluorescence images from transmitted-light microscopy it appears that when training fnet_nn_2d.py both the source and target images are standardized with the stardard scaler (subtract the image pixel mean and then divide by the image pixel standard deviation) independently. This standardization during training would inhibit the model from reconstructing the image from the standardized pixel values, since the mean and standard deviation predicted/output image stain is unknown.

Expected Behavior

I would expect that the outputs of the trained model cannot be correctly reconstructed, such as to an 8-bit or 16-bit representation.

Reproduction

We have used the fnet_nn_2d.py model for a similar task to predict GOLD stain nuclei images from DAPI nuclei images. Except, this approach normalizes the source and target images by the maximum pixel value for 16-bit images. This simplifies the reconstruction of the normalized output images back to a 16-bit format, since the normalization factor is already known. Although we would appreciate any suggestions you may have for improving the performance when training the fnet_nn_2d.py model.

Environment

This is our conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant