|
JeVoisBase
1.23
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Python DNN post-processor for filtered color image. More...
Public Member Functions | |
| __init__ (self) | |
| Constructor. | |
| process (self, outs, preproc) | |
| Get network outputs. | |
| report (self, outimg, helper, overlay, idle) | |
| Report the latest results obtained by process() by drawing them. | |
Public Attributes | |
| rgba_map | |
| dragleft | |
| dragright | |
| left | |
| right | |
| pp | |
| tlx | |
| tly | |
| cw | |
| ch | |
Python DNN post-processor for filtered color image.
Renders a filtered color image (with retinex-adjusted colors) on top of the original image, in between two user-draggable bars. Logic for the user bars here is converted from our ColorFiltering C++ module.
URetinex-Net aims at recovering colors from very low light images. Hence, point your camera to a very dark area (e.g., under your desk) to see the image enhancement provided by URetinex-Net.
One of the goals of this post-processor is to demosntrate correct handling of coordinate transforms between display image, processing image, input tensor.
Definition at line 31 of file PyPostURetinex.py.
| PyPostURetinex.PyPostURetinex.__init__ | ( | self | ) |
Constructor.
Definition at line 34 of file PyPostURetinex.py.
| PyPostURetinex.PyPostURetinex.process | ( | self, | |
| outs, | |||
| preproc | |||
| ) |
Get network outputs.
Definition at line 44 of file PyPostURetinex.py.
References PyPostURetinex.PyPostURetinex.rgba_map.
| PyPostURetinex.PyPostURetinex.report | ( | self, | |
| outimg, | |||
| helper, | |||
| overlay, | |||
| idle | |||
| ) |
Report the latest results obtained by process() by drawing them.
Definition at line 59 of file PyPostURetinex.py.
References jevois::VideoMapping.ch, PyPostDepth.PyPostDepth.ch, PyPostURetinex.PyPostURetinex.ch, jevois::VideoMapping.cw, PyPostDepth.PyPostDepth.cw, PyPostURetinex.PyPostURetinex.cw, PyPostURetinex.PyPostURetinex.dragleft, PyPostURetinex.PyPostURetinex.dragright, PyPostURetinex.PyPostURetinex.left, PyPostURetinex.PyPostURetinex.pp, PyPostURetinex.PyPostURetinex.rgba_map, PyPostURetinex.PyPostURetinex.right, jevois::ObjDetect.tlx, PyPostDepth.PyPostDepth.tlx, PyPostURetinex.PyPostURetinex.tlx, jevois::ObjDetect.tly, PyPostDepth.PyPostDepth.tly, and PyPostURetinex.PyPostURetinex.tly.
| PyPostURetinex.PyPostURetinex.ch |
Definition at line 52 of file PyPostURetinex.py.
Referenced by PyPostDepth.PyPostDepth.report(), and PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.cw |
Definition at line 52 of file PyPostURetinex.py.
Referenced by PyPostDepth.PyPostDepth.report(), and PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.dragleft |
Definition at line 36 of file PyPostURetinex.py.
Referenced by PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.dragright |
Definition at line 37 of file PyPostURetinex.py.
Referenced by PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.left |
Definition at line 38 of file PyPostURetinex.py.
Referenced by PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.pp |
Definition at line 40 of file PyPostURetinex.py.
Referenced by PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.rgba_map |
Definition at line 35 of file PyPostURetinex.py.
Referenced by PyPostURetinex.PyPostURetinex.process(), and PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.right |
Definition at line 39 of file PyPostURetinex.py.
Referenced by PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.tlx |
Definition at line 52 of file PyPostURetinex.py.
Referenced by PyPostDepth.PyPostDepth.report(), and PyPostURetinex.PyPostURetinex.report().
| PyPostURetinex.PyPostURetinex.tly |
Definition at line 52 of file PyPostURetinex.py.
Referenced by PyPostDepth.PyPostDepth.report(), and PyPostURetinex.PyPostURetinex.report().