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

POL3837 Polus-style file patterns in 3D #193

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

friskluft
Copy link
Member

@friskluft friskluft commented Jan 22, 2024

Selector {set d+} treats the corresponding numbers as Z-indices.

Example:

from nyxus import Nyxus3D 
n = Nyxus3D(["*3D_ALL*"]) 
F = n.featurize_directory (intensity_dir="path/to/dataset/int", label_dir="path/to/dataset/seg", file_pattern="BRATS_{d+}_z{set d+}_t{d+}.ome.tif")

to extract features from files BRATS_001_z001_t002.ome.tif, BRATS_001_z002_t002.ome.tif, ..., BRATS_001_z154_t002.ome.tif

@sameeul sameeul merged commit 0ace25f into PolusAI:main Jan 23, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants