JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
PyPostURetinex.PyPostURetinex Class Reference

Python DNN post-processor for filtered color image. More...

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def process (self, outs, preproc)
 Get network outputs. More...
 
def report (self, outimg, helper, overlay, idle)
 Report the latest results obtained by process() by drawing them. More...
 

Public Attributes

 rgba_map
 
 dragleft
 
 dragright
 
 left
 
 right
 
 pp
 
 ch
 

Detailed Description

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.

Author
Laurent Itti
Email:
itti@usc.edu
Address:
University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org/doc
Other URL:
http://iLab.usc.edu
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 31 of file PyPostURetinex.py.

Constructor & Destructor Documentation

◆ __init__()

def PyPostURetinex.PyPostURetinex.__init__ (   self)

Constructor.

Definition at line 34 of file PyPostURetinex.py.

Member Function Documentation

◆ process()

def PyPostURetinex.PyPostURetinex.process (   self,
  outs,
  preproc 
)

Get network outputs.

Definition at line 44 of file PyPostURetinex.py.

References PyPostURetinex.PyPostURetinex.rgba_map.

◆ report()

Member Data Documentation

◆ ch

PyPostURetinex.PyPostURetinex.ch

Definition at line 52 of file PyPostURetinex.py.

Referenced by PyPostURetinex.PyPostURetinex.report().

◆ dragleft

PyPostURetinex.PyPostURetinex.dragleft

Definition at line 36 of file PyPostURetinex.py.

Referenced by PyPostURetinex.PyPostURetinex.report().

◆ dragright

PyPostURetinex.PyPostURetinex.dragright

Definition at line 37 of file PyPostURetinex.py.

Referenced by PyPostURetinex.PyPostURetinex.report().

◆ left

PyPostURetinex.PyPostURetinex.left

Definition at line 38 of file PyPostURetinex.py.

Referenced by PyPostURetinex.PyPostURetinex.report().

◆ pp

PyPostURetinex.PyPostURetinex.pp

Definition at line 40 of file PyPostURetinex.py.

Referenced by PyPostURetinex.PyPostURetinex.report().

◆ rgba_map

PyPostURetinex.PyPostURetinex.rgba_map

◆ right

PyPostURetinex.PyPostURetinex.right

Definition at line 39 of file PyPostURetinex.py.

Referenced by PyPostURetinex.PyPostURetinex.report().


The documentation for this class was generated from the following file: