-
Notifications
You must be signed in to change notification settings - Fork 21
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
Is contrast enhancement applied on extracted patches ? #93
Comments
No contrast enhancement nor stain norm has been applied. What you show could be compression artifacts. |
It could be compression but I don't see why there should be compression. I am doing the same for both the patches/TENX99.h5 and demo.h5 created from TENX99.tif . The picture from patches/TENX99.h5 is far better. Please help ! |
tbh, I don't see a huge difference between both images. Could you check the actual difference between both arrays using https://numpy.org/doc/2.1/reference/generated/numpy.allclose.html |
|
Hi @abhi1998goyal, |
I notice a clear difference in patches provided in patch directory to those that are created using dump_patches. Is their any normalization applied on these patches after extraction from WSI ?
for st in iter_hest('data_path', id_list=['TENX99']):
patch_save_dir = 'path_dir'
new_patch_size = 256
st.dump_patches(patch_save_dir, name='demo', target_patch_size=new_patch_size, target_pixel_size=0.5
)
256*256 size at 0.5um/pixel images provided in patches directory of hest data is on left and one extracted from .tif using above method is on right side.
The text was updated successfully, but these errors were encountered: