Package pyvision :: Package analysis :: Module Montage :: Class clickHandler
[hide private]
[frames] | no frames]

Class clickHandler

source code

object --+
         |
        clickHandler

A class for objects designed to handle click events on ImageMontage objects. We separate this out from the ImageMontage object to address a memory leak when using cv.SetMouseCallback(window, self._onClick, window), because we don't want the image data associated with the click handler

Instance Methods [hide private]
 
__init__(self, IM_Object)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
onClick(self, event, x, y, flags, window)
Handle the mouse click for an image montage object.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, IM_Object)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

onClick(self, event, x, y, flags, window)

source code 

Handle the mouse click for an image montage object. Increment or Decrement the set of images shown in the montage if appropriate.