I’m sorry for the next dumb question, but where are HE_registered and HE_nuc_registered? In the description, it says they are in the Zarr files, but there only HE_original and HE_nuc original are present.
In the data that I downloaded, I cannot locate them anywhere.
Further, what I also found confusing is this line in the basic-EDA notebook:
sdata.pl.render_images(“HE_nuc_original”).pl.show(ax=axes[0], title=“H&E registered image”, coordinate_systems=“global”)
Why is the HE_nuc_original loaded as the registered image?
Ok, a colleage of mine just found out that the registered images are not provided for crunch 1. That is why they are not there. However, the question is now if this means that we have to do this coordinate matching ourselfes if we want to have a meaningful prediction.
I found some coordinates in the anucleus AnnData.obsm but they are mismatching with the HE original imgs. Beside some mirroring and rescaling, there are probably some cropping operations done as well. I assume those coordinates are corresponding to some preprocessed imgs instead of the originals. Please correct me if I misunderstood anything.
You need to use the image HE_nuc_original (H&E nucleus segmentation on original image) to find the positions on the HE_original image; see save_cropped_cells in the quickstarter basic-eda.
You can also directly use the cell_id obtained via regionprops(sdata['HE_nuc_original'][0, :, :].to_numpy())