![]() |
BioImager
3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
|
Public Member Functions | |
| def | __init__ (self) |
| def | enable_numbering (self, enab) |
| def | get_data_types (self) |
| def | data_type (self) |
| def | set_data_type (self, index) |
| def | get_methods (self) |
| def | method (self) |
| def | set_method (self, index) |
| def | get_image (self, width, height, dark=0, light=255, index=None) |
| def | black (self, w, h, dark, light) |
| def | white (self, w, h, dark, light) |
| def | gradient (self, w, h, dark, light) |
| def | noise (self, w, h, dark, light) |
| def | one_gaussian (self, w, h, dark, light) |
| def | sawtooth (self, w, h, dark, light) |
Public Attributes | |
| numbering | |
Generates test images, with methods for configuration via a Setting.
Definition at line 53 of file __init__.py.
| def microscope.simulators._ImageGenerator.__init__ | ( | self | ) |
Definition at line 56 of file __init__.py.
| def microscope.simulators._ImageGenerator.black | ( | self, | |
| w, | |||
| h, | |||
| dark, | |||
| light | |||
| ) |
Ignores dark and light - returns zeros
Definition at line 112 of file __init__.py.
| def microscope.simulators._ImageGenerator.data_type | ( | self | ) |
Definition at line 79 of file __init__.py.
| def microscope.simulators._ImageGenerator.enable_numbering | ( | self, | |
| enab | |||
| ) |
Definition at line 73 of file __init__.py.
| def microscope.simulators._ImageGenerator.get_data_types | ( | self | ) |
Definition at line 76 of file __init__.py.
| def microscope.simulators._ImageGenerator.get_image | ( | self, | |
| width, | |||
| height, | |||
dark = 0, |
|||
light = 255, |
|||
index = None |
|||
| ) |
Return an image using the currently selected method.
Definition at line 97 of file __init__.py.
References microscope.simulators._ImageGenerator._datatype_index, microscope.simulators._ImageGenerator._datatypes, microscope.simulators._ImageGenerator._font, microscope.simulators._ImageGenerator._method_index, microscope.simulators._ImageGenerator._methods, and microscope.simulators._ImageGenerator.numbering.
| def microscope.simulators._ImageGenerator.get_methods | ( | self | ) |
Return the names of available image generation methods
Definition at line 85 of file __init__.py.
References microscope.simulators._ImageGenerator._methods.
| def microscope.simulators._ImageGenerator.gradient | ( | self, | |
| w, | |||
| h, | |||
| dark, | |||
| light | |||
| ) |
A single gradient across the whole image from top left to bottom right.
Definition at line 125 of file __init__.py.
| def microscope.simulators._ImageGenerator.method | ( | self | ) |
Return the index of the current image generation method.
Definition at line 89 of file __init__.py.
References microscope.simulators._ImageGenerator._method_index.
| def microscope.simulators._ImageGenerator.noise | ( | self, | |
| w, | |||
| h, | |||
| dark, | |||
| light | |||
| ) |
Random noise.
Definition at line 130 of file __init__.py.
| def microscope.simulators._ImageGenerator.one_gaussian | ( | self, | |
| w, | |||
| h, | |||
| dark, | |||
| light | |||
| ) |
Definition at line 134 of file __init__.py.
| def microscope.simulators._ImageGenerator.sawtooth | ( | self, | |
| w, | |||
| h, | |||
| dark, | |||
| light | |||
| ) |
A sawtooth gradient that rotates about 0,0.
Definition at line 144 of file __init__.py.
References microscope.simulators._ImageGenerator._theta.
| def microscope.simulators._ImageGenerator.set_data_type | ( | self, | |
| index | |||
| ) |
Definition at line 82 of file __init__.py.
| def microscope.simulators._ImageGenerator.set_method | ( | self, | |
| index | |||
| ) |
Set the image generation method.
Definition at line 93 of file __init__.py.
References microscope.simulators._ImageGenerator._method_index.
| def microscope.simulators._ImageGenerator.white | ( | self, | |
| w, | |||
| h, | |||
| dark, | |||
| light | |||
| ) |
Ignores dark and light - returns max value for current data type.
Definition at line 116 of file __init__.py.
References microscope.simulators._ImageGenerator._datatype_index, and microscope.simulators._ImageGenerator._datatypes.
| microscope.simulators._ImageGenerator.numbering |
Definition at line 69 of file __init__.py.
Referenced by microscope.simulators._ImageGenerator.get_image().