Add `flow_to_image()` visualization util
See original GitHub issueNow that RAFT is done, it’d be nice to have a conversion util from a 2xHxW flow
to a 3xHxW RGB image. I think the implementation of the original RAFT paper follows a standard color map, so we could do something similar (trimmed down to the minimal parts, e.g. no BRG etc.) https://github.com/princeton-vl/RAFT/blob/master/core/utils/flow_viz.py
Note: this is a visualization util meant to land in torchvision.utils
; it’s not meant to be a transform
nor an ops
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Flow Screen Input Component: Display Image
Easily insert images in flow screens. Upload images to Salesforce as static resources and then you can reference them while configuring the component.Requ....
Read more >Tutorial 11: Normalizing Flows for image modeling
In this tutorial, we will review current advances in normalizing flows for image modeling, and get hands-on experience on coding normalizing flows.
Read more >Utils — Torchvision main documentation
Draws Keypoints on given RGB image. Converts a flow to an RGB image. Make a grid of images. Save a given Tensor into...
Read more >tf.keras.preprocessing.image.ImageDataGenerator
Generate batches of tensor image data with real-time data augmentation.
Read more >Optical Flow
We will create a dense optical flow field using the cv.calcOpticalFlowFarneback() method. Optical Flow. Optical flow is the pattern of apparent motion of...
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
I can take this 😄
Happy Holidays Nicolas. 😃
I will have a look at the script and try to implement a minimalist version. I will ping you back in a PR hopefully soon.