Skip to content

Document patch feature extraction at custom coordinates - #252

Open
VishalJ99 wants to merge 1 commit into
mahmoodlab:mainfrom
VishalJ99:docs-features-at-given-coords
Open

VishalJ99 wants to merge 1 commit into
mahmoodlab:mainfrom
VishalJ99:docs-features-at-given-coords

Conversation

@VishalJ99

Copy link
Copy Markdown
Contributor

Documents how to extract patch features at custom coordinates (such as detected objects or annotation boxes) without running segmentation and grid patching. TRIDENT already supports this workflow; no code changes are included.

Changes

  • docs/faq.rst: adds an FAQ entry (faq-custom-coords) showing how to convert level-0 points or bounding boxes to top-left patch origins, write the coordinate HDF5 with trident.IO.coords_to_h5, and extract features via run_batch_of_slides.py --task feat --coords_dir or WSI.extract_patch_features(coords_path=...) for a single slide.
  • .claude/skills/trident/SKILL.md: widens rule 6 ("Reuse existing or custom patch coordinates") to cover writing custom points/boxes with trident.IO.coords_to_h5 and passing them to --task feat --coords_dir or WSI.extract_patch_features(coords_path=...).

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.

1 participant