lingyanshi2020/VISTAmap ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple image correction tool for stitched microscope images that have dark shading around the edges or uneven brightness. I want to be able to open a single 2D stitched TIFF image, optionally provide a binary tissue mask, and then run one button or one section at a time to clean up the vignetting so the image looks more even.
If no mask is provided, please try to create one automatically from the image. Include a small demo flow using the sample TIFF files so I can see it working right away. Keep it easy to use for someone who is not deeply technical, and make the main steps clear in the code or notebook.
If anything important is missing, use current docs online to fill in the details. I mainly want something I can run directly and understand, with a before and after result for the correction.