Click or drag to resize

DalsaCamera Class

This class encapsulates the API of Teledyne DALSA cameras.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.PluginBasePlugin
    RAYLASE.Marker.DeviceBaseDeviceController
      RAYLASE.Marker.Device.CameraBaseCamera
        RAYLASE.Marker.CamerasPluginBasePluginCamera
          RAYLASE.Marker.CamerasPlugin.TeledyneDalsaCameraDalsaCamera

Namespace: RAYLASE.Marker.CamerasPlugin.TeledyneDalsaCamera
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public class DalsaCamera : BasePluginCamera

The DalsaCamera type exposes the following members.

Constructors
 NameDescription
Public methodDalsaCamera Constructor.
Top
Properties
 NameDescription
Public propertyActivatedChainableFeatures Gets the activated chainable features.
(Inherited from BaseDeviceController)
Public propertyBigPictureMat The "big picture" used as source image in case the camera is an emulator. Is null otherwise.
(Inherited from BasePluginCamera)
Public propertyCalibrationDataSet The set of all defined calibrations. A user can add a new calibration for a specific focus level. The current level is stored in property FocusLevel.
(Inherited from BasePluginCamera)
Public propertyCalibrationDataSetTmp
(Inherited from BasePluginCamera)
Public propertyCalibrationInfo
(Inherited from BasePluginCamera)
Public propertyCalibrationInfoBackground
(Inherited from BasePluginCamera)
Public propertyCameraID The ID to identify the camera in a list of available cameras.
(Inherited from BasePluginCamera)
Public propertyCameraState The state the camera is currently in. Needed for synchronizing the different modules.
(Inherited from BasePluginCamera)
Public propertyCenterOffsetPixel The offset in pixel x and y direction needed to let the camera view at the origin when the scan head points at the origin.
(Inherited from BasePluginCamera)
Public propertyCenterOffsetWorld The offset in x and y direction needed to let the camera view at the origin when the scan head points at the origin.
(Inherited from BasePluginCamera)
Public propertyCenterOffsetWorldTmp Temporary CenterOffset to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Protected propertyConfigurationManager
(Inherited from BasePlugin)
Public propertyCorrectedWaveLengthScaleFactor The wave length scale factor, but corrected by the field and process transformation.
(Inherited from BasePluginCamera)
Public propertyCorrectionFileHash The hash of the correction file the calibration is done for.
(Inherited from BasePluginCamera)
Public propertyDownscaleFactor A taken picture is downscaled by this factor [0.01 .. 1.0] before the Bitmap is returned.
(Inherited from BasePluginCamera)
Public propertyEnableChainableFeature Gets or sets the flag to enable chainable features.
(Inherited from BaseDeviceController)
Public propertyExposureTime The time a single frame will be exposed in ms.
(Inherited from BasePluginCamera)
Public propertyExposureTimeMax The maximal exposure time the camera can be set to in ms. Used to control the allowed range in the settings dialog.
(Inherited from BasePluginCamera)
Public propertyExposureTimeMin The minimal exposure time the camera can be set to in ms. Used to control the allowed range in the settings dialog.
(Inherited from BasePluginCamera)
Public propertyFieldHeightMaxPixel The maximal camera height in pixel as allowed by the camera model. May depend on the current binning state.
(Inherited from BasePluginCamera)
Public propertyFieldHeightPixel The height of the camera image in pixel.
(Inherited from BasePluginCamera)
Public propertyFieldHeightWorld The height of the area (camera image) in the scan field the camera looks on in micrometers when visible light is used; changes when the pixel height of the camera is changed.
(Inherited from BasePluginCamera)
Public propertyFieldHeightWorldFromCalib The height of the area (camera image) in the scan field the camera looks on in micrometers as measured during calibration using the full camera resolution. In case of a z-range there will be two values, one for the upper and one for the lower working distance.
(Inherited from BasePluginCamera)
Public propertyFieldHeightWorldTmp Temporary FieldHeightWorld to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyFieldTrafo The field transformation currently used. Relevant only in case of a camera emulator.
(Inherited from BasePluginCamera)
Public propertyFieldWidthMaxPixel The maximal camera width in pixel as allowed by the camera model. May depend on the current binning state.
(Inherited from BasePluginCamera)
Public propertyFieldWidthPixel The width of the camera image in pixel.
(Inherited from BasePluginCamera)
Public propertyFieldWidthWorld The current width of the area (camera image) in the scan field the camera looks on in micrometers when visible light is used; changes when the pixel width of the camera is changed.
(Inherited from BasePluginCamera)
Public propertyFieldWidthWorldFromCalib The width of the area (camera image) in the scan field the camera looks on in micrometers as measured during calibration using the full camera resolution. In case of a z-range there will be two values, one for the upper and one for the lower working distance.
(Inherited from BasePluginCamera)
Public propertyFieldWidthWorldTmp Temporary FieldWidthWorld to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyFocusBiasTmp Temporary focus bias to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyFocusLevel The focus level in micrometers currently set. Used for communication with the Click&Teach panel.
(Inherited from BasePluginCamera)
Public propertyGain The current gain value set in the camera.
(Inherited from BasePluginCamera)
Public propertyGainMax The maximal gain value allowed by the camera model. Used to control the allowed range in the settings dialog.
(Inherited from BasePluginCamera)
Public propertyGainMin The minimal gain value allowed by the camera model. Used to control the allowed range in the settings dialog.
(Inherited from BasePluginCamera)
Public propertyHasConnectedStatus
(Overrides BaseDeviceControllerHasConnectedStatus)
Public propertyHasScanHeadLensMounted Should be set to true if a lens is mounted to the scan head. The information is needed when using Click&Teach in the distortion correction process to cut the tiles accordingly.
(Inherited from BasePluginCamera)
Public propertyHasScanHeadLensMountedTmp Temporary flag for connected theta lens in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyIsAutoBrightness If true the brightness may be set automatically by the camera. Depends on if auto gain and/or auto exposure is set additionally. Only used if the parameter is available in the camera settings.
(Inherited from BasePluginCamera)
Public propertyIsAutoCalibration Flag to indicate that the dialog is in auto calibration mode rather than in manual calibration mode.
(Inherited from BasePluginCamera)
Public propertyIsAutoConnect
(Inherited from BaseDeviceController)
Public propertyIsAutoExposure If true the exposure time is set automatically by the camera.
(Inherited from BasePluginCamera)
Public propertyIsAutoGain If true the gain is set automatically by the camera.
(Inherited from BasePluginCamera)
Public propertyIsAveragePixels Flag to indicate if - in case of binning - the pixels will be averaged.
(Inherited from BasePluginCamera)
Public propertyIsCalibrated Flag to indicate if the camera is calibrated already, i. e. FieldWidthWorldFromCalib and FieldHeightWorldFromCalib are > 0.
(Inherited from BasePluginCamera)
Public propertyIsCalibrationInProgress
(Inherited from BasePluginCamera)
Public propertyIsCameraFieldSizeReduced
(Inherited from BasePluginCamera)
Public propertyIsCombinePixels Flag to indicate if binning is active.
(Inherited from BasePluginCamera)
Public propertyIsConnected
(Inherited from BasePluginCamera)
Public propertyIsDirty Flag to indicate that some parameters have been changed.
(Inherited from BasePluginCamera)
Public propertyIsEmulator Flag to indicate if this camera is an emulated one.
(Inherited from BasePluginCamera)
Public propertyIsFocusShifter Our definition for a focus shifter scan head: There is a z axis but no sensor axis.
(Inherited from BasePluginCamera)
Public propertyIsInitialized Is true if the device is initialized.
(Inherited from BaseDeviceController)
Public propertyIsRectificationCalibrationInProgress
(Inherited from BasePluginCamera)
Public propertyIsSettingsDialogOpen Flag is set to true if the settings dialog is open.
(Inherited from BasePluginCamera)
Public propertyIsStreaming If true, the camera is currently streaming.
(Inherited from BasePluginCamera)
Public propertyIsToFlip If true the camera picture will be flipped horizontally.
(Inherited from BasePluginCamera)
Public propertyIsUsedByGUI If the camera has access to RAYGUIDE's GUI there are more services available, e. g. the JobDefinitionService. If the GUI is not available the value must be set to false (true is the default value).
(Inherited from BasePluginCamera)
Public propertyLastPickedPointWorld The point where the user has picked the last time. Used to show the cross hairs in the renderer.
(Inherited from BasePluginCamera)
Public propertyLastPickedRegionWorld
(Inherited from BasePluginCamera)
Public propertyLastRawTakenImage The last taken image without any modifications as equalization or downscaling.
(Inherited from BasePluginCamera)
Public propertyLastTakenImage The last taken image with possibly done modifications as equalization or downscaling.
(Inherited from BasePluginCamera)
Public propertyLeftFieldWidthCalibrationMarkRatio The position of the left calibration guide line, set during resolution calibration, given es ratio of the FieldWidth (0..1).
(Inherited from BasePluginCamera)
Protected propertyLogDirectory The directory of the log file.
(Inherited from BasePlugin)
Public propertyLogger The common logger.
(Inherited from BasePlugin)
Public propertyLowerRightCornerCalibrationMarkRatio The position of the marked lower right corner in the wave length calibration stage; given as ratio of the field width.
(Inherited from BasePluginCamera)
Public propertyLowerRightCornerWorld When calibrating the wave length correction: The lower right corner of the calibrating rectangle where it should be in world coordinates in micrometers.
(Inherited from BasePluginCamera)
Public propertyLowerRightCornerWorldTmp Temporary LowerRightCorner to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyNumberOfChannels
(Inherited from BasePluginCamera)
Public propertyPenNumber The pen used when creating the calibration jobs.
(Inherited from BasePluginCamera)
Public propertyPens A dictionary to assign a color and name to a pen for displaying it in the camera settings dialog.
(Inherited from BasePluginCamera)
Public propertyPixelHeightWorld The height of the area in the scan field a pixel is covering in micrometers when visible light is used.
(Inherited from BasePluginCamera)
Public propertyPixelWidthWorld The width of the area in the scan field a pixel is covering in micrometers when visible light is used.
(Inherited from BasePluginCamera)
Public propertyPluginMetadata The metadata of the plugin instances. If the concrete class inherits from the BasePluginSetup interface, the metadata of the BasePluginSetup will be prefilled.
(Inherited from BasePlugin)
Public propertyPointerFocusBiasTmp Temporary preview focus bias to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyProcessTrafo The process transformation currently used. Relevant only in case of a camera emulator.
(Inherited from BasePluginCamera)
Public propertyRectificationCropFactor A tile will be cropped by this percentage if a F-Theta lens is mounted and equalization is activated.
(Inherited from BasePluginCamera)
Public propertyRectificationCropFactorTmp Temporary rectification crop factor, stored in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyRectificationDataSet The currently used rectification data set; interpolated values depending on the focus level.
(Inherited from BasePluginCamera)
Public propertyScanFieldImage The whole scan field the camera is looking at as image in form of an OpenCV Mat object. Its size depends on the scan field size in world coordinates, the size a pixel of the camera represents in the real world plane (depends on the DownscaleFactor) and the camera's FieldWidthPixel and FieldHeightPixel. In this (untransformed) image all tiles are gathered. The transformation according to field and process transformation must be done with method TransformScanFieldImage() before putting it into the workspace's background.
(Inherited from BasePluginCamera)
Public propertyScanFieldSizeWorld The size of the scan field in world coordinates the calibration is done for.
(Inherited from BasePluginCamera)
Public propertyScanHead The scan head the camera is attached to in on-axis setups or null if it is an off-axis camera.
(Inherited from BaseCamera)
Public propertyScanHeadPosition The current scan head position in world coordinates, i. e. the point where the camera currently looks at.
(Inherited from BasePluginCamera)
Public propertyScanHeadShortLabel The short label of the scan head the calibration is done for.
(Inherited from BasePluginCamera)
Public propertyScanHeadTmp Temporary scan head to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertySelectedFocusLevel The last selected focus level in the GUI in micrometers.
(Inherited from BasePluginCamera)
Public propertySerialNumber Serial number of the device.
(Inherited from BaseDeviceController)
Public propertyStandardMeasure The standard distance to be used when calibrating the camera in micrometers.
(Inherited from BasePluginCamera)
Public propertyStandardMeasureTmp Temporary StandardMeasure to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyStatuses
(Inherited from BaseDeviceController)
Public propertySupportedChainableFeatureMap The map of chainable feature types supported by this device. The value indicates whether the feature is a transmitter or a receiver.
(Inherited from BaseDeviceController)
Public propertyTransformedScanFieldImage This is the ScanFieldImage, but transformed by the inverse field and process transformation.
(Inherited from BasePluginCamera)
Public propertyUpperLeftCornerCalibrationMarkRatio The position of the marked upper left corner in the wave length calibration stage; given as ratio of the field width.
(Inherited from BasePluginCamera)
Public propertyUpperLeftCornerWorld When calibrating the wave length correction: The upper left corner of the calibrating rectangle where it should be in world coordinates in micrometers.
(Inherited from BasePluginCamera)
Public propertyUpperLeftCornerWorldTmp Temporary UpperLeftCorner to restore the original value in case the Cancel button is pressed.
(Inherited from BasePluginCamera)
Public propertyWaveLengthScaleFactor The scale factor needed to correct the deviation between the laser wave length and the visible light's wave length recorded by the camera. This is the value retrieved from the calibration; field rotation is not taken into account.
(Inherited from BasePluginCamera)
Public propertyWorkspaceConfiguration The workspace configuration which is used during calibration.
(Inherited from BaseCamera)
Top
Methods
 NameDescription
Public methodCalcInterpolatedCenterOffsetCorrection During camera calibration we create a set of RectificationData objects (8 or 16, dependent on quadratic or cubic interpolation) at some positions in the scan field. For other positions we need interpolated ones.
(Inherited from BasePluginCamera)
Public methodCalcReducedWidthHeightAndOffsets Calculates to the wanted width and height valid width, height and offset values fulfilling these conditions: - Width must be a multiple of 8. - Width must be >= FieldWidthMinPixel. - Height must be a multiple of 4. - Height must be >= FieldHeightMinPixel. - OffsetX must be a multiple of 4. - OffsetY must be a multiple of 4. - OffsetX must be MaxWidth/2 - Width/2. - OffsetY must be MaxHeight/2 - Height/2.
(Overrides BasePluginCameraCalcReducedWidthHeightAndOffsets(Int32, Int32, Int32, Int32, Int32, Int32))
Public methodCheckCuttingSize Checks if the given size is less than the camera's hardware sensor size.
(Inherited from BasePluginCamera)
Public methodCheckOnChangedScanHeadParameters Checks if some scan head parameters has changed after the camera has been calibrated. A re-calibration is necessary when the scan head, its correction file or the scan field size has changed.
(Inherited from BasePluginCamera)
Public methodClearScanFieldImage Creates a new scan field image Mat object and fills it with empty pixels.
(Inherited from BasePluginCamera)
Public methodConnect Tries to connect with the camera whose ID is stored in property CameraID. Called by RAYGUIDE's DeviceControllerService, e. g. at program start.
(Overrides BaseDeviceControllerConnect)
Public methodConnect(String) Tries to connect with the camera with the given ID. Called by the settings dialog when pressing the connect button.
Public methodConvertPixelLengthToWorldLength(Double) Converts a distance, given in pixel coordinates, into the same distance in world coordinates. The downscale factor is taken into account.
(Inherited from BasePluginCamera)
Public methodConvertPixelLengthToWorldLength(dvec2)
(Inherited from BasePluginCamera)
Public methodConvertPixelPosToWorldPos Inversion method of ConvertWorldPosToPixelPos().
(Inherited from BasePluginCamera)
Public methodConvertScanFieldPixelToWorld converts scan field pixel point to the scan field or world coordinates (µm) pixel coordinate system: left top 0/0 right bottom w/h
(Inherited from BasePluginCamera)
Public methodConvertScanFieldWorldToPixel converts scan field or world coordinates to pixel
(Inherited from BasePluginCamera)
Public methodConvertWorldLengthToPixelLength Converts a distance, given in world coordinates, into the same distance in pixel coordinates. The downscale factor is taken into account.
(Inherited from BasePluginCamera)
Public methodConvertWorldPosToPixelPos Converts a point in world coordinates into pixel coordinates. The current size in world coordinates and the current pixel size of the scan field is taken into account. The origin in world coordinates is expected to be in the middle of the field. Attention: Field and process transformations are not considered.
(Inherited from BasePluginCamera)
Public methodConvertWorldToPixel(dvec2) same functionality as the one above, just using the DownscalFactor from the camera
(Inherited from BasePluginCamera)
Public methodConvertWorldToPixel(dvec2, Double) Converts a point in world coordinates into pixel coordinates using the field sizes in world and pixel coordinates and the downscale factor. In difference to ConvertWorldPosToPixelPos() the origin in world coordinates is not expected to be in the center of the field. The origin of the pixel coordinates is expected to be in the upper left corner.
(Inherited from BasePluginCamera)
Public methodConvertWorldToPixel(dvec3, Double)
(Inherited from BasePluginCamera)
Protected methodCreateDownscaledTakenPicture Creates a downscaled, three channel Mat object from the given, one channel takenPictureMat and adds a red cross hair if wanted.
(Inherited from BasePluginCamera)
Public methodCropPicture Crops the given srcMat according to the rectification crop factor, needed to avoid black artifact stripes caused by the rectification on F-Theta lens systems.
(Inherited from BasePluginCamera)
Public methodCutRegionMat Creates a cutting of the taken scan field image based on the given center point and the given size.
(Inherited from BasePluginCamera)
Public methodDisconnect Disconnects the camera. Called by RAYGUIDE's DeviceControllerService, e.g. at program end.
(Overrides BaseDeviceControllerDisconnect)
Public methodDispose
(Inherited from BasePlugin)
Protected methodDispose(Boolean) Stops the streaming and disconnects the camera.
(Inherited from BasePluginCamera)
Public methodDisposeUI Disposes the given setting view.
(Inherited from BaseDeviceController)
Protected methodDoDisposeUI
(Inherited from BasePlugin)
Protected methodDoShowUI Opens the camera's configuration dialog. Called by RAYGUIDE's dialog service.
(Overrides BasePluginDoShowUI(String))
Protected methodDoShowUICallback Callback method to get modified data out of the camera settings dialog.
(Overrides BasePluginDoShowUICallback(PluginSettingsView))
Public methodFieldImageCenterInPixel return the real center point of Image rect in pixel
(Inherited from BasePluginCamera)
Public methodGetDeviceStatusRepresentation Returns the color and description of device state. Useful for UI purpose.
(Inherited from BaseDeviceController)
Public methodGetFieldAndProcessTrafo
(Inherited from BasePluginCamera)
Public methodGetFieldSizePixel Size of one camera image
(Inherited from BasePluginCamera)
Public methodGetLastScanHeadPositionFieldRectPixel
(Inherited from BasePluginCamera)
Public methodGetRectificationCalibrationTilePositions Creates a list of 9 points being the positions of the center of the tiles that are used during the rectification calibration.
(Inherited from BasePluginCamera)
Public methodGetRegionInPixel Rectangle in image pixel + rotation for RegionOfInterest
(Inherited from BasePluginCamera)
Public methodGetRegionMat Image of RegionOfInterest
(Inherited from BasePluginCamera)
Public methodGetScanFieldSizePixel Gets the field size in pixels with respect to the downscale factor the user has set.
(Inherited from BasePluginCamera)
Public methodGetScanHeadPositionFieldRectPixel
(Inherited from BasePluginCamera)
Public methodGetUsedScanController
(Inherited from BasePluginCamera)
Public methodHandleCombinePixelsChanges Handles wanted binning changes in the camera settings by writing the values to the hardware only if needed.
(Overrides BasePluginCameraHandleCombinePixelsChanges(Boolean))
Public methodHandleExternalDeviceRequestAsync
(Overrides BaseDeviceControllerHandleExternalDeviceRequestAsync(IListTupleChainableFeatureType, ExpandoObject, CancellationToken))
Public methodInitialize Retrieves the scan head from the device list whose short label matches the serialized ScanHeadID property.
(Overrides BasePluginInitialize)
Public methodInitializeCalibrationDataSet Initializes the calibration data set based on the scan head's configuration file. If there are no entries in the dictionary, two entries are created with the top and bottom z-values. Otherwise the min and max focus levels are read from the dictionary's min and max levels. The remaining data must be filled later with the calibration data.
(Inherited from BasePluginCamera)
Public methodInterpolateCalibrations Interpolates to a given z value between the two nearest calibration sets. The dictionary _calibrationDataSet contains an arbitrary number of calibrations (at least one), each calibrated at a specific z value. To get the calibration at an arbitrary z value, the nearest two calibrations are searched and all calibration data is interpolated between these two according to the arbitrary z value.
(Inherited from BasePluginCamera)
Public methodInterruptStreaming
(Inherited from BasePluginCamera)
Protected methodInvokeConnected Invokes Connected event.
(Inherited from BaseDeviceController)
Protected methodInvokeDeviceUIRequested Callback method to show the nested scan head settings dialog.
(Inherited from BaseCamera)
Protected methodInvokeDisconnected Invokes Disconnected event.
(Inherited from BaseDeviceController)
Protected methodInvokeInitialized Invokes Initialized event.
(Inherited from BaseDeviceController)
Protected methodInvokeStatusChanged Invokes StatusChanged event.
(Inherited from BaseDeviceController)
Public methodLoadCalibration Loads the properties building the calibration data.
(Inherited from BasePluginCamera)
Protected methodOnDevicesChanged
(Inherited from BaseDeviceController)
Public methodPutIntoMat Puts a smaller inMat object into a bigger outMat object at the given point. In case of picking, centerWorldPoint is the position where the user has clicked into the workspace, without any transformations. To get the pixel position where inMat has to be put, the center offset and other transformations must be applied, before the point is transformed from world into pixel coordinates. Because of the center offset the given point is *not* the center of inMat. This method is also used when taking pictures of a ROI. In this case the given point should be the center of the inMat. Therefore the given point must be adjusted by the center offset before to compensate the transformation.
(Inherited from BasePluginCamera)
Public methodRectify Rectifies the image in srcMat according to its center point in the workspace. The rectification data points are interpolated first according to the center point.
(Inherited from BasePluginCamera)
Public methodResetCameraFieldSize Resets the image size to the maximal value, defined by the camera's physical sensor size.
(Overrides BasePluginCameraResetCameraFieldSize(Boolean))
Public methodResetCameraSettings Resets all parameters to the ones stored in the temporary properties. See comment in StoreCurrentCameraSettings() for details.
(Inherited from BasePluginCamera)
Public methodSaveCalibration Saves the properties building the calibration data.
(Inherited from BasePluginCamera)
Public methodSetCameraFieldSize Sets the camera's field width and height (in pixel). Can be overloaded to set it in the camera's real hardware.
(Overrides BasePluginCameraSetCameraFieldSize(Int32, Int32, Int32))
Protected methodSetCurrentParameterValuesOnCamera Sets the camera parameters in the hardware according to the current parameters in this camera object.
(Inherited from BasePluginCamera)
Public methodSetExposureTime Sets the camera's exposure time. Can be overloaded to set it in the camera's real hardware.
(Inherited from BasePluginCamera)
Protected methodSetExposureTimeOnCamera
(Overrides BasePluginCameraSetExposureTimeOnCamera(Double))
Public methodSetFieldTrafoScaleAndRotation
(Inherited from BasePluginCamera)
Public methodSetGain Sets the camera's gain. Can be overloaded to set it in the camera's real hardware.
(Inherited from BasePluginCamera)
Protected methodSetGainOnCamera
(Overrides BasePluginCameraSetGainOnCamera(Double))
Public methodSetIsAutoBrightness Sets whether the gain and exposure time should be set automatically by the camera.
(Inherited from BasePluginCamera)
Protected methodSetIsAutoBrightnessOnCamera
(Overrides BasePluginCameraSetIsAutoBrightnessOnCamera(Boolean))
Public methodSetIsAutoExposure Sets whether the exposure time should be set automatically by the camera.
(Inherited from BasePluginCamera)
Protected methodSetIsAutoExposureOnCamera
(Overrides BasePluginCameraSetIsAutoExposureOnCamera(Boolean))
Public methodSetIsAutoGain Sets whether the gain should be set automatically by the camera.
(Inherited from BasePluginCamera)
Protected methodSetIsAutoGainOnCamera
(Overrides BasePluginCameraSetIsAutoGainOnCamera(Boolean))
Public methodSetIsCombinePixels Sets whether pixels should be combined.
(Inherited from BasePluginCamera)
Protected methodSetIsCombinePixelsOnCamera
(Overrides BasePluginCameraSetIsCombinePixelsOnCamera(Boolean, Boolean))
Public methodSetRectificationCropFactor Sets the crop factor needed in case of F-Theta lens systems to reduce the tile size. Must be virtual to have access to the settings dialog for updating the value there.
(Overrides BasePluginCameraSetRectificationCropFactor(Int32))
Public methodSetStandardMeasure Sets the standard measure in the camera's settings dialog. Must be virtual to have access to the settings dialog for updating the value there.
(Overrides BasePluginCameraSetStandardMeasure(Double))
Public methodShowUI Shows the specific UI embedded in the plugin instance.
(Inherited from BaseDeviceController)
Public methodShowUICallback Invokes the callback that can be used when the ShowUI method is done.
(Inherited from BaseDeviceController)
Public methodShowUICancelCallback Invokes the callback that can be used when the ShowUI method is done and the user pressed the cancel button
(Inherited from BasePlugin)
Public methodStartStreaming Starts the video stream. Not really needed in case of DALSA cameras (see "JAICamera.cs") when using software triggering.
(Overrides BasePluginCameraStartStreaming)
Public methodStopStreaming Stops the image stream. Not really needed in case of DALSA cameras (see "JAICamera.cs") and software triggering.
(Overrides BasePluginCameraStopStreaming)
Protected methodStoreCurrentCameraSettings Stores all current camera settings in the temporary properties. This is needed to allow the cancel button in the settings dialog to work: When the dialog is opened all current settings are stored here. The user can now change all parameters as he wants it, and they can be used immediately internally e. g. for the calibration process (using the possibly changed StandardMeasure e. g.). If the dialog is canceled afterwards all parameters can be restored from temporary values.
(Inherited from BasePluginCamera)
Public methodTakePicture(Boolean, Boolean, Double, Int32, Double) Takes a picture with the camera and downscales it if demanded. The default color (red) is used for the cross hairs.
(Inherited from BasePluginCamera)
Public methodTakePicture(Boolean, Boolean, Double, Int32, Color, Double) Takes a picture with the camera and downscales it if demanded.
(Inherited from BasePluginCamera)
Public methodTakePictureAndPutItIntoScanFieldImage Takes a picture at the given position and puts it into the untransformed ScanFieldImage at the correct place.
(Inherited from BasePluginCamera)
Public methodTakePictureMat Takes a single picture.
(Overrides BasePluginCameraTakePictureMat(Boolean, Boolean, Double, Double, Color, Double))
Public methodToString
(Inherited from BasePlugin)
Public methodTransformScanFieldImage Transforms the camera's ScanFieldImage according to the current FieldTrafo and ProcessTrafo by applying the inverses.
(Inherited from BasePluginCamera)
Public methodTransformWorldPosAndConvertToPixelPos Transforms the given point (in world coordinates) according to the field and process trafo, subtracts the center offset if demanded and converts it to the same point in pixel coordinates of the big scan field image.
(Inherited from BasePluginCamera)
Protected methodUpdateFieldSizeProperties
(Inherited from BasePluginCamera)
Top
Events
 NameDescription
Public eventCalibFocusEvent
(Inherited from BasePluginCamera)
Public eventConnected An event that is triggered when the device is connected.
(Inherited from BaseDeviceController)
Public eventDeviceUIRequested Getting called when the camera UI gets requested.
(Inherited from BaseCamera)
Public eventDisconnected An event that is triggered when the device is disconnected.
(Inherited from BaseDeviceController)
Public eventHandleCalibrationEvent
(Inherited from BasePluginCamera)
Public eventInitialized An event that is triggered when the device is initialized.
(Inherited from BaseDeviceController)
Public eventStatusChanged An event that is triggered when the status of the device is changed.
(Inherited from BaseDeviceController)
Public eventUpdateFocusEvent
(Inherited from BasePluginCamera)
Top
Fields
 NameDescription
Protected field_bigPictureMat In case the camera is an emulator: the built-in background image.
(Inherited from BasePluginCamera)
Protected field_bigPictureMatSize
(Inherited from BasePluginCamera)
Protected field_deviceManager
(Inherited from BasePluginCamera)
Protected field_oldFieldHeightWorld
(Inherited from BasePluginCamera)
Protected field_oldFieldWidthWorld
(Inherited from BasePluginCamera)
Public fieldpointPosBottomLeft The ratio where the bottom left rectification point has been measured relative to the camera field. Not a property because x and y must be set separately.
(Inherited from BasePluginCamera)
Public fieldpointPosBottomRight The ratio where the bottom right rectification point has been measured relative to the camera field. Not a property because x and y must be set separately.
(Inherited from BasePluginCamera)
Public fieldpointPosMiddle The ratio where the middle rectification point has been measured relative to the camera field. Not a property because x and y must be set separately.
(Inherited from BasePluginCamera)
Public fieldpointPosTopLeft The ratio where the top left rectification point has been measured relative to the camera field. Not a property because x and y must be set separately.
(Inherited from BasePluginCamera)
Public fieldpointPosTopRight The ratio where the top right rectification point has been measured relative to the camera field. Not a property because x and y must be set separately.
(Inherited from BasePluginCamera)
Top
See Also