Inference with specified Region of Interest
See original GitHub issueHi everyone,
I was wondering if there is an option on torchio
where I can do inference upon an image but with a specified region of interest.
What I am trying to say is:
- I have: Torchio
Subject
, trainedmodel
, RoI maskmask.nii.gz
- Using this
mask.nii.gz
, I will find a bounding box, and only forward pass the bounding boxed image through the model (with some padding if necessary - to maintain the downsampled dimensions in the U-Net)
I was wondering if there is any way where I can add the bounding box as another attribute of the torchio Subject
object and it does inference automatically upon that.
Please let me know if something is not clear. Thanks, Megh
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Applying Inference over Specific Frame Regions with NVIDIA ...
This tutorial shares how to apply inference over a predefined area of the incoming video frames.
Read more >Run object Detection in specified ROI (Region of Interest) #2056
I have built a custom object detection model and it's detecting the object with good accuracy. Now i want to build an Automatic...
Read more >Digging into Detectron 2 — part 5 | by Hiroto Honda - Medium
The proposal boxes are used to crop the regions of interest (ROIs) from the feature maps, which are fed to the Box Head....
Read more >Region of Interest Pooling - Towards Data Science
Region of Interest (ROI) pooling is used for utilising single feature map for all the proposals generated by RPN in a single pass....
Read more >1. Inference Modes - Supervisely SDK for Python
* In a pipeline setting, run inference only on specially selected regions. A typical example of this is first running a detection model...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @fepegar, I think the crop/pad function would solve my problem - I can give a mask as a
LabelMap
and use thecroporpad
method to crop the image and then forward pass it. Thanks againThanks for your reply, @fepegar. I will open a new issue as this could happen for other transforms as well. Thanks, Megh