Lmk4 ActiveX Server
|
The functions are grouped by their functionality.
To test these functions you can use the Excel file "lmk4axservertest.xls" in the subdirectory "Examples" of your LabSoft installation. For every function there is a button. If the button is pressed, a Visual Basic function is called. The source code of all VB functions is within the mentioned Excel file.
These functions are needed at the begin and the end of the work with LabSoft. The program is started and the connection to it is established.
|
These functions are needed to initialize a camera-lens-combination and to change some camera parameters like the exposure time and the filter wheel of a wheel color camera.
|
With these functions you can capture either camera images or luminance images or color images. Beginning from LabSoft version 13.6.x there are new capturing algorithms for color images:
One important difference between these functions and the older function iColorHighDynPic2() is, that now different exposure times for every filter are used. That increases the accuracy of color cordinates and decreases the capturing time in most cases. Beginning from LabSoft version 11.4.x, the capturing functions iSinglePic(), iMultiPic(), iHighDynPic() and iColorHighDynPic() are obsolete. Beginning vom LabSoft version 14.xx the capturing function iHighDynPic2() is obsolete. The obsolete functions should be replaced by iSinglePic2(), iMultiPic2(), iHighDynPic3() and iColorHighDynPic2() in new applications. These new functions only contain the minimum set of parameters like exposure time and number of shots. All other parameters can be set by the specialized functions like iSetSmear(), iSetModulationFrequency(), iSetAutoscan(), iSetScatteredLight() and iSetTriggerMode(). Reason: If in later versions new parameters are introduced, the function interfaces of the capturing algorithms stay the same.
|
With protocol files all data, including images and statistical evaluations, are saved together in one single file.
|
This section contains all functions concerning access to the images within the LabSoft program.
The direct use of this functionality in the LabSoft program is described in the manual in chapter "Images". Indices of the images used in the functions
|
With these functions you have access to measurement regions within the images. The indices of the region lists are the same like in the case of the images. The direct use of this functionality in the LabSoft program is described in the manual in chapter "Measuring regions". Region types and their properties
All coordinates are in the units of the coordinate system used. All regions except the OR, XOR and AND group can be created via iCreateRegion().
|
A coordinate system is assigned to every image. You can access to this coordinate systems via the following functions. The indices of the coordinate systems are the same like in the case of the images. The direct use of this functionality in the LabSoft program is described in the manual in chapter "Coordinate systems".
|
This section contains all functions concerning access to the image views within the LabSoft program. The indices of the image views are the same as the images they contain:
|
There is one list of statistic objects of every statistic type, regardless the images and region lists. The access to these specialized statistics is done by their type identifiers. Available statistic types
Color statistics are always in RGB color space. The order of classes (in class statistics) or colors (in color statistics):
|
There are several types of image processing algorithms:
Some annotations:
Possible operations and their parameters
|
Maybe these functions are usefull if someone will have a copy of some tables in his own application.
|
Maybe these functions are usefull if someone will have a copy of some bitmaps in his own application.
|
These functions are needed to export data to Excel. In the LabSoft there is the associated
|
These functions are needed to export data to Word. In the LabSoft there is the associated
|
These functions need precalculated calibration data for LIDs.
|
In some cases possibly usefull stuff, not belonging to the other categories.
|
The associated dialog in the LabSoft is the Camera set-up dialog. It can be opened with the menu point "Camera | Camera set-up dialog".
The direct use of this functionality in the LabSoft program is described in the manual in chapter "Capturing images",
section "Camera set-up (orientation, focussing)".
|
The associated dialog in the LabSoft is the Searching for regions and using them automatically dialog.
It can be opened with the menu point "Evaluation | Searching for regions and using them automatically".
The direct use of this functionality in the LabSoft program is described in the manual in chapter
"Image processing and evaluation images", section "Searching for regions and using them automatically".
|
If the ActiveX program version is installed and the BlackMura add-on too you can access the BlackMura functionality also via ActiveX function calls.
|
If the ActiveX program version is installed and the Matrix module add-on too you can access the Matrix module functionality also via ActiveX function calls.
|
If the ActiveX program version is installed and the Sticking images Level-3 add-on too you can access the Sticking images functionality also via ActiveX function calls.
|
If the ActiveX program version is installed and the Sticking images Level-2 add-on too you can access the Sticking images functionality also via ActiveX function calls.
|
If the ActiveX program version is installed and the Pixel crosstalk add-on too you can access the Pixel crosstalk functionality also via ActiveX function calls.
|
If the ActiveX program version is installed and the Sparkle add-on too you can access the Sparkle functionality also via ActiveX function calls.
|
The template image generator is a dialog in the LabSoft program, which can be opened for example In this dialog there are several tabsheets, for example "Adjustment", "Luminance" or "Color". Every tabsheet contains several types of template images. All types of a category can be determined here with iTIG_GetListOfOperations(). After this an image can be created by iTIG_CreateImage().
|
The job of the motor control is to provide the computer-controlled movement of a travelling unit or a goniometer.
|
There are some callback signals, which can be catched by the user if needed.
vSignalImageContentChanged() | Every time an image is updated, this signal is send with the index of the image. After this time point the user can read the new image data or call for changed statistic data. |
vSignalWaitTrigger() | If the user captures images via the MultiPic, HighDyn or ColorHighdyn algorithm, it is not clear at which points the next camera image has to be triggered. And in the case of highdyn captures it is furthermore unclear, how many camera images needed and has to be triggered. Thats why before every needed trigger signal this signal is send to the user. |
Inherits QObject, and QAxBindable.
Public Slots | |
int | iAdjustColorFactors (int _iIndex, double _dCurrent_R, double _dCurrent_G, double _dCurrent_B, double _dWished_R, double _dWished_G, double _dWished_B) |
Change color factors to adjust to a given color. More... | |
int | iAppendEquation (int _iTyp, int _iObject, QString &_qsName, QString &_qsFormula, int _iWhereToShow) |
Append an equation. More... | |
int | iAutoFocus (int linear, int adaptive, double &sharpness, double &edge) |
Make autofocus procedure. More... | |
int | iAutoScanTime () |
Determine a good exposure time. More... | |
int | iBitmapGetList (QStringList &bitmapList) |
List of all available bitmaps in program (images, graphics, diagrams) More... | |
int | iBlackMuraAdjImageCopy () |
Copy adjustment image from "Camera image" to "Adjustment image". More... | |
int | iBlackMuraAutomaticMeasure (int _iBrightImage, int _iDarkImage, double _dTimeDelay) |
Automatic measurement using DVI interface for the display to be measured. More... | |
int | iBlackMuraBrightCapture () |
Makes a BlackMura bright capture and calculates results. More... | |
int | iBlackMuraBrightLoad (QString _qFileName) |
Load a bright image and calculates results. More... | |
int | iBlackMuraCloseDialog () |
Closes the dialog for BlackMura measurements. More... | |
int | iBlackMuraDarkCapture () |
Makes a BlackMura dark capture and calculates results. | |
int | iBlackMuraDarkLoad (QString _qFileName) |
Load a dark image and calculates results. More... | |
int | iBlackMuraGetDstDirectory (QString &_qrDstDirectory) |
Get the destination directory for saving images. More... | |
int | iBlackMuraGetFlagsProject (int &_irShowCoord, int &_irShowMeasurementRegion, int &_irShowAdjustmentRegions, int &_irShowBrightClassification) |
Get flags for DarkMura project. More... | |
int | iBlackMuraGetMeasureFlags (int &_irShowDarkClassification, int &_irSaveAutomatically) |
Get flags for DarkMura measurement. More... | |
int | iBlackMuraGetProjectFileName (QString &_qrFileName) |
Get BlackMura project file name. More... | |
int | iBlackMuraGetSerialNumber (QString &_qrSerialNumber) |
Get the serial number of next display to examine. More... | |
int | iBlackMuraLoadAdjFile (QString _qFileName) |
int | iBlackMuraLoadProject (QString _qFileName) |
Loads BlackMura project file. More... | |
int | iBlackMuraOpenDialog () |
Opens the dialog for BlackMura measurements. | |
int | iBlackMuraSaveProject (QString _qFileName) |
Saves BlackMura project file. More... | |
int | iBlackMuraSetDstDirectory (QString _qDstDirectory) |
Set the destination directory for saving images. More... | |
int | iBlackMuraSetFlagsProject (int _iShowCoord, int _iShowMeasurementRegion, int _iShowAdjustmentRegions, int _iShowBrightClassification) |
Set flags for DarkMura project. More... | |
int | iBlackMuraSetMeasureFlags (int _iShowDarkClassification, int _iSaveAutomatically) |
Set flags for DarkMura measurement. More... | |
int | iBlackMuraSetSerialNumber (QString _qSerialNumber) |
Set the serial number of next display to examine. More... | |
int | iCamera_Firmware (int &fpga, int &firmware, int &build, int &lens) |
Get version of firmware in camera and lens. More... | |
int | iCamera_GetFocusAndContrast (int _iTop, int _iLeft, int _iBottom, int _iRight, double &_drFocus, double &_drContrast) |
Get Focus and contrast information of a region in the camera image. More... | |
int | iCamera_GetOverdriveRegion (int &_irUseRegion, int &_irTop, int &_irBottom, int &_irLeft, int &_irRight) |
Get the region, which is used for overdrive control. More... | |
int | iCamera_GetParameter (QString _qName, QString &_qrValue) |
Read some additional camera properties. More... | |
int | iCamera_GetSaturation (int _iWholeImage, int _iTop, int _iLeft, int _iBottom, int _iRight, double &_drSaturation) |
Get saturation information of camera image or region in camera image. More... | |
int | iCamera_List (QStringList &list) |
List of camera and lens calibration data for this installation. More... | |
int | iCamera_SetOverdriveRegion (int _iUseRegion, int _iTop, int _iBottom, int _iLeft, int _iRight) |
Set the region, which is used for overdrive control. More... | |
int | iCameraSetupDialogClose () |
Closes the dialog "Camera set-up. More... | |
int | iCameraSetupDialogOpen () |
Opens the dialog "Camera set-up. More... | |
int | iCameraSetupLoadProject (QString _qFileName) |
Load predefined project file. More... | |
int | iCameraSetupMeasurementStart (int _iLuminanceImage) |
Start measurement in camera or luminance image. More... | |
int | iCameraSetupMeasurementStop () |
Stop measurement in camera or luminance image. More... | |
int | iCameraSetupResultCircles (int &success, QStringList &middle_x, QStringList &middle_y, QStringList &radius) |
Get position of circles found in image. More... | |
int | iCameraSetupResultGeo (int &success, double &optical_x_pix, double &optical_x_mm, double &optical_y_pix, double &optical_y_mm, double &horizontal, double &vertical, double &axial, double &repro_x, double &repro_y) |
Get results of geometric adjustment. More... | |
int | iCameraSetupResultPhoto (int &success, double &minimum, double &maximum, QStringList &vertical, QStringList &horizontal) |
Get results of geometric adjustment. More... | |
int | iCameraSetupSaveResult (QString _qFileName) |
Save calculated results. More... | |
int | iCaptureGetLastInfo (int &_irSuccess, int &_irAlgorithm, QString &_qrGreyFilter, QString &_qrColorFilter, int &_ulpPicCount, double &_drMaxTime, double &_drMintTime, double &_drOverflow, double &_drMaxLoad, double &_drCaptureTime, int &_irSmear, double &_drFrequency) |
Determine information about the preceeding capture. More... | |
int | iChangeRegion (int _iList, int _iIndex, int _iNumPoints, QStringList &_slX, QStringList &_slY) |
Set the properties of a region. More... | |
int | iClearUndoRegionList (int _iList) |
Delete the undo stack of region list (saves memory and time) More... | |
int | iClose (int _iQuestion) |
Closes the Lmk4 application. More... | |
int | iColorAutoScanTime (QStringList &_qslExposureTimes) |
Determine good exposure times for every color filter. More... | |
int | iColorCaptureHighDyn (QStringList &_qslExposureTimes, double _dStartRatio, double _dFactor, int _iCountPic) |
Capturing of color images with the HighDyn algorithm. More... | |
int | iColorCaptureMultiPic (QStringList &_qslExposureTimes, int _iCountPic) |
Capturing of color images with the MultiPic algorithm. More... | |
int | iColorDiffImgCol (int _iSrcColorImage1, QStringList &_qslColor2inRGB, int _iDstGreyImage, int _iColorDifferenceType, double _dMinimumLuminance, int _iSmoothing, QStringList &_qslParameter) |
Calculate a color difference to a reference color. More... | |
int | iColorDiffImgImg (int _iSrcColorImage1, int _iSrcColorImage2, int _iDstGreyImage, int _iColorDifferenceType, double _dMinimumLuminance, int _iSmoothing, QStringList &_qslParameter) |
Calculate a color difference between two images. More... | |
int | iColorHighDynPic (double _dMaxTime, double _dMinTime, double _dFactor, int _iSmear, double _dModFrequency) |
HighDyn-Farbbild-Aufnahme. More... | |
int | iColorHighDynPic2 (double _dMaxTime, double _dMinTime, double _dFactor, int _iPicCount) |
HighDyn capturing for color image. More... | |
int | iConvertCameraCalibrationData (int _iDestinationType, QString _qSourcePath, QString _qDestinationPath) |
Convert camera calibration data. More... | |
int | iCoordinateTransformationF (int srcImage, QString xIndexImage, QString yIndexImage, int targetImage) |
Coordinate transformation with two index images. More... | |
int | iCoordinateTransformationI (int srcImage, int xIndexImage, int yIndexImage, int targetImage) |
Coordinate transformation with two index images. More... | |
int | iCoordSystemCoordToPixel (int _iImage, double _dCoordXorPhi, double _dCoordYorRadius, double &_drPixelX, double &_drPixelY) |
Convert coordinates to pixel indices. More... | |
int | iCoordSystemGetCartesian (int _iImage, int &_irIsCartesian, double &_drScalingX, double &_drOffsetX, double &_drScalingY, double &_drOffsetY) |
Set the parameter of a cartesian system. More... | |
int | iCoordSystemGetPolar (int _iImage, int &_irIsPolar, double &_drXm, double &_drYm, double &_drFactorR, double &_drFactorP, double &_drOffsetP) |
Set the parameter of a polar system. More... | |
int | iCoordSystemGetValueUnit (int _iImage, QString &_qrValueX, QString &_qrUnitX, QString &_qrValueY, QString &_qrUnitY, QString &_qrUnitArea) |
Get the values and units of the axi. More... | |
int | iCoordSystemPixelToCoord (int _iImage, double _dPixelX, double _dPixelY, double &_drCoordXorPhi, double &_drCoordYorRadius) |
Convert pixel indices to coordinates. More... | |
int | iCoordSystemReadFile (int _iImage, QString _qFileName) |
Read parameter from a file. More... | |
int | iCoordSystemSetCartesian (int _iImage, double _dScalingX, double _dOffsetX, double _dScalingY, double _dOffsetY) |
Set the parameter of a cartesian system. More... | |
int | iCoordSystemSetPolar (int _iImage, double _dXm, double _dYm, double _dFactorR, double _dFactorP, double _dOffsetP) |
Set the parameter of a polar system. More... | |
int | iCoordSystemSetValueUnit (int _iImage, QString _qValueX, QString _qUnitX, QString _qValueY, QString _qUnitY, QString _qUnitArea) |
Set the values and units of the axi. More... | |
int | iCoordSystemWriteFile (int _iImage, QString _qFileName) |
Write parameter into a file. More... | |
int | iCopyColorFactors (int _iSrcIndex, int _iDstIndex) |
Copy factors from one set to another. More... | |
int | iCreateGroup (int _iList, int _iGroupType, int _iNumRegions, QStringList &_slRegionIndices) |
Creates a group. More... | |
int | iCreateRegion (int _iList, int _iType, int _iNumPoints, QStringList &_slX, QStringList &_slY) |
Create a region. More... | |
int | iCreateStatistic (int _iTyp, int _iImage, int _iRegion, int _iNumberParam, QStringList &_slrParamList) |
Create a new statistic. More... | |
int | iDatabaseClose () |
Closes the currently opened database. More... | |
int | iDatabaseImageOptionsGet (int &_irSaveMode, QString &_qrDirectory) |
Get the options for saving images. More... | |
int | iDatabaseImageOptionsSet (int _iSaveMode, QString _qDirectory) |
Set the options for saving images. More... | |
int | iDatabaseOpen (QString _qDatabaseName, QString _qUserName, QString _qPassword) |
Opens a database for read / write access. More... | |
int | iDatasetCopy (int _iSrcContentId, QString _qDstDatabaseName, QString _qDstUserName, QString _qDstPassword, int &_irDstContentId) |
Copy a dataset to another database. More... | |
int | iDatasetDelete (int _iContentId) |
Delete a dataset in database. More... | |
int | iDatasetInfo (int _iContentId, int &_irType, QString &_qrCreated, QString &_qrChanged, QString &_qrUser, int &_irImages, int &_irCompressionMode, QString &_qImageDirectory, QString &_qDescription) |
Common informations about a dataset. More... | |
int | iDatasetList (int _iTypeOfSets, int &_irNumber, QStringList &_qslContentIds, QStringList &_qslTypes) |
Get a list of datasets in the database. More... | |
int | iDatasetRead (int _iContentId) |
Read a dataset from the database into LabSoft. More... | |
int | iDatasetUserTableInfo (int &_irNumberEntries, QStringList &_qslNameList, QStringList &_qslCaptionList, QStringList &_qslTypes, QStringList &_qslDefaults, QStringList &_qslComments) |
Get informations about construction of the user table. More... | |
int | iDatasetUserTableRead (int _iContentId, QStringList &_qslNames, QStringList &_qslValues) |
Read informations of a dataset from the user table. More... | |
int | iDatasetUserTableWrite (int _iContentId, QStringList &_qslNames, QStringList &_qslValues) |
Write informations of a dataset into the user table. More... | |
int | iDatasetWrite (int _iType, QString _qDescription, int &_irContentId) |
Write a dataset from LabSoft to the database. More... | |
int | iDefaultColorFactors (int _iIndex) |
Reset color factor set = set to default values. More... | |
int | iDeleteEquation (int _iTyp, int _iObject, int _iEquation) |
Delete an equation. More... | |
int | iDeleteGroup (int _iList, int _iRegionIndex) |
Ungroup action. More... | |
int | iDeleteRegion (int _iList, int _iIndex) |
Delete a region. More... | |
int | iDeleteStatistic (int _iTyp, int _iObject) |
Delete an existing statistic. More... | |
int | iExcelClose () |
Close Excel program. More... | |
int | iExcelCopyItem (int _iIndex) |
Copy one item to Excel. More... | |
int | iExcelCopySelected () |
Copy all selected items to Excel. More... | |
int | iExcelGetItemProperties (int _iIndex, int &_irType, QString &_qrName, QString &_qrSheet, int &_irClear, QString &_qrRange, int &_irSelected) |
Get the informations about a data entry. More... | |
int | iExcelGetNumberItems (int &_irNumber) |
Get number of data entries in Excel dialog. More... | |
int | iExcelOpenFile (QString _qFileName) |
Open an Excel file for data export. More... | |
int | iExcelSave () |
Save Excel file. More... | |
int | iExcelSelectAll () |
Select all items in Excel dialog. More... | |
int | iExcelSetItemProperties (int _iIndex, QString _qSheet, int _iClear, QString _qRange, int _iSelect) |
Set the informations about a data entry. More... | |
int | iExcelSetVisible (int _iVisible) |
Change visbility of Excel program. More... | |
int | iExcelUnselectAll () |
Unselect all items in Excel dialog. More... | |
int | iExecMenuPoint (QString _qMenuPoint) |
Execute any menu items of the Lmk4 program. More... | |
int | iExecTclCommand (QString _qCommand, int &_irReturn, QString &_qResult) |
Execute a TCL command by the embedded tcl interpreter. More... | |
int | iExportBitmapToFile (QString bitmapName, QString fileName) |
Export a bitmap of a image, graphic or diagram to a bitmap file. More... | |
int | iGetAperture (int &value) |
Get current aperture vaue. More... | |
int | iGetArcObjectResults (int _iObject, int _iClass, double &_drLength, double &_drWidth, double &_drDeflection, double &_drAbsMax) |
Get the results of an arc object in a grey image. More... | |
int | iGetArcObjectValues (int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slrValues) |
Get the values of the lightarc in a grey image. More... | |
int | iGetAutomatic (int &_irAutomatic) |
Get the state of Automatic-Flag for exposure times. More... | |
int | iGetAutoscan (int &_irAutoscan) |
Get use of autoscan algorithm. More... | |
int | iGetCameraLensPath (QString &_qrCameraLensPath) |
Returns path to current camera lens combination. More... | |
int | iGetCameraParameter (QString _qParameterName, QString &_qrParameterValue) |
Read access to camera parameter. More... | |
int | iGetClass (int _iTyp, int _iObject, int _iClass, QString &_qsClassName, int &_irVisible) |
Get name and visibility of class. More... | |
int | iGetColor (double _iInputR, double _iInputG, double _iInputB, double _iReferenceR, double _iReferenceG, double _iReferenceB, int _iColorSpace, double &_iOutputColor1, double &_iOutputColor2, double &_iOutputColor3) |
int | iGetColorCorrList (QStringList &_qList, QStringList &_qSelected) |
List of available color correction factors. More... | |
int | iGetColorFactorsList (QStringList &_qList, int &_iSelect) |
List of available color matrices. More... | |
int | iGetColorFactorsName (int _iIndex, QString &_qrName) |
Get name of color factor set. More... | |
int | iGetColorFactorsSize (int &_irNumber) |
Number of color factor sets. More... | |
int | iGetColorHistogramValues (int _iObject, int _iColor, int &_irNumber, QStringList &_slrX, QStringList &_slrValues) |
Get the values of the histogram in a color image. More... | |
int | iGetColorProjectionValues (int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slrValues1, QStringList &_slrValues2, QStringList &_slrValues3) |
Get the values of the projection in a color image. More... | |
int | iGetColorRGB (int _iColorSpace, double _dInput1, double _dInput2, double _dInput3, double _dReferenceR, double _dReferenceG, double _dReferenceB, double &_dOutputColorR, double &_dOutputColorG, double &_dOutputColorB) |
Conversion of a color value from a color space to CIE-RGB. More... | |
int | iGetColorSecViewValues (int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slrValues1, QStringList &_slrValues2, QStringList &_slrValues3) |
Get the values of the sectional view in a color image. More... | |
int | iGetConvertingUnits (QString &_qName, QString &_qUnit, double &_dFactor) |
Get converting informations. More... | |
int | iGetDarkening (int &_iDarkening, int &_iSwitchMonitorOff, double &_dTimeOut) |
Get the state of darkening computer monitor while capturing. More... | |
int | iGetEquation (int _iTyp, int _iObject, int _iEquation, QString &_qsName, QString &_qsFormula, int &_iWhereToShow, int &_irValid, double &_drResult) |
Get an equation and its result. More... | |
int | iGetErrorInformation (QString &_rErrorInformation) |
More precisely error description. More... | |
int | iGetFilterWheel (int &_irCurrentFilter, QString &_srCurrentFilter) |
Determine filter state. More... | |
int | iGetFlagsStatistic (int _iTyp, int _iObject, int &_irGeo, int &_irPhoto, int &_irMinMax, int &_irTime, int &_irHorseshoe) |
Get Flags for statistic evaluations. More... | |
int | iGetFlagsStatistic2 (int _iTyp, int _iObject, int &_irGeo, int &_irPhoto, int &_irMinMax, int &_irTime, int &_irMaxCountTime, int &_irHorseshoe) |
Get Flags for statistic evaluations. More... | |
int | iGetFocus (double &value) |
Get current focus position. More... | |
int | iGetFocusFactorList (QStringList &_qList, int &_iSelect) |
List of available focus factors. More... | |
int | iGetFocusParameter (int &subsampling, int &top, int &bottom, int &left, int &right) |
Get parameter for autofocus. More... | |
int | iGetGeometricStatistic (int _iTyp, int _iObject, int _iClass, double &_drX, double &_drY) |
Get geometric center of object or class. More... | |
int | iGetGreyFilterList (QStringList &_qList, QStringList &_qSelected) |
List of available grey filters. More... | |
int | iGetGreyHistogramValues (int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrValues) |
Get the values of the histogram in a grey image. More... | |
int | iGetGreyProjectionValues (int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slrValues) |
Get the values of the projection in a grey image. More... | |
int | iGetGreySecViewValues (int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slValues) |
Get the values of the sectional view in a grey image. More... | |
int | iGetImageCaptureParameter (int _iImage, int &_irHaveParam, QStringList &_qslParamNames, QStringList &_qslParamValues) |
Get information of last capture to this image. More... | |
int | iGetImageName (int _iImageIndex, QString &_qsImageName) |
Determines the name of an image. More... | |
int | iGetIndexOfImage (QString _qName, int &_irIndex) |
Get index of image given image name. More... | |
int | iGetIndexOfRegion (int _iList, QString _qName, int &_irIndex) |
Get index of region given region name. More... | |
int | iGetIntegrationTime (double &_drCurrentTime, double &_drPreviousTime, double &_drNextTime, double &_drMinTime, double &_drMaxTime) |
Determine current exposure time and other time parameters. More... | |
int | iGetLensID (QString &lensID) |
Get ID of lens. More... | |
int | iGetMaxCameraTime (double &_drMaxCameraTime) |
Determine the maximum possible exposure time. More... | |
int | iGetMinMaxAperture (int &minimum, int &maximum) |
Get range of aperture values. More... | |
int | iGetMinMaxStatistic (int _iTyp, int _iObject, int _iClass, double &_drMinX, double &_drMinY, double &_drMinV, double &_drMaxX, double &_drMaxY, double &_drMaxV) |
Get photometric center of object or class. More... | |
int | iGetModulationFrequency (double &_drModFrequency) |
Get the modulation frequency. More... | |
int | iGetNumberImages (int &_irNumber) |
Determine number of evaluation images. More... | |
int | iGetNumClasses (int _iTyp, int _iObject, int &_irNumClasses) |
Get the number of classes. More... | |
int | iGetNumEquations (int _iTyp, int _iObject, int &_irNumEquations) |
Get the number of line equations. More... | |
int | iGetPermanentImageName (int _iImageIndex, QString &_qsImageName) |
Determines the name of an image. More... | |
int | iGetPhotometricStatistic (int _iTyp, int _iObject, int _iClass, double &_drX, double &_drY) |
Get photometric center of object or class. More... | |
int | iGetPositionRegionName (int list, int index, int &position) |
Read position of region name. More... | |
int | iGetProgramInfo (QString &_qrProgramType, QString &_qrProgramVersion, QString &_qrCameraType, QString &_qrCameraNumber, QString &_qrLensNumber) |
Get some information about program version and camera current used. More... | |
int | iGetPropertiesRegion (int _iList, int _iIndex, int &_irType, int &_irPoints, QStringList &_slX, QStringList &_slY) |
Get the properties of a region. More... | |
int | iGetQuantilObjectResults (int _iObject, double &_drQuantile1, double &_drQuantile2, double &_drQuantile3) |
Get the results of an quantile object in a grey image. More... | |
int | iGetRawFocus (int &value) |
Get current focus position. More... | |
int | iGetRawMinMaxFocus (int &minimum, int &maximum) |
Get range of focus values. More... | |
int | iGetRecalibrationFactor (double &_dFactor) |
Get recalibration factor. More... | |
int | iGetRegionListSize (int _iList, int &_irSize) |
Determine the number of regions in a list. More... | |
int | iGetRegionName (int _iList, int _iIndex, QString &_qrName) |
Read region name. More... | |
int | iGetScatteredLight (int &_irScatteredLight) |
Is scattered light correction switched on? More... | |
int | iGetSelectedImage (int &image) |
Index of current image on top. More... | |
int | iGetSmear (int &_irSmear) |
Get the parameter for smear correction. More... | |
int | iGetStandardStatistic (int _iStatistic, int _iObject, int _iClass, int &_irSize, double &_drMin, double &_drMax, double &_drMean, double &_drVar) |
Determine parameter of the standard statistic. More... | |
int | iGetStandardStatistic2 (int _iStatistic, int _iObject, int _iClass, double &_drArea, double &_drMin, double &_drMax, double &_drMean, double &_drVar) |
Determine parameter of the standard statistic. More... | |
int | iGetStatisticObject (int _iStatistic, int _iObject, int &_iImage, int &_iRegion) |
Determine image and region a statistic object is calculated for. More... | |
int | iGetStatisticParameter (int _iTyp, int _iObject, int &_irNumberParam, QStringList &_slrParamList) |
Read the parameters of a statistic. More... | |
int | iGetStatisticSize (int _iStatistic, int &_irSize) |
Determine number of objects in a statistic vector. More... | |
int | iGetSuppressOverflow (int &_irSuppress) |
Get the state of suppress overflow warning in measurement series. More... | |
int | iGetSuppressProgressDialog (int &_irSuppress) |
Get the state of suppressing view of progress dialog. More... | |
int | iGetTimeSizeStatistic (int _iTyp, int _iObject, int &_irSize) |
Number of elements of a time statistics. More... | |
int | iGetTimeSummaryStatistic (int _iTyp, int _iObject, int _iClass, int _iWhichEl, int &_irCount, double &_drMin, double &_drMax, double &_drMean, double &_drVar) |
Summary of a time statistics. More... | |
int | iGetTimeValuesStatistic (int _iTyp, int _iObject, int _iClass, int _iWhichEl, QStringList &_qslTime, QStringList &_qslValues) |
List of time statistic times and values. More... | |
int | iGetTrigger (int &type) |
Is trigger mode switched on or off for Lmk6 camera? More... | |
int | iGetTriggerCommonParameter (double &timeout, double &capturedistance, double &exposuredelay, int &triggerhigh, int &strobehigh) |
Get common trigger parameter for Lmk6 camera. More... | |
int | iGetTriggerImageParameter (int &top, int &bottom, int &left, int &right, int &reserved, int &level, double &exposure) |
Get image trigger parameter for Lmk6 camera. More... | |
int | iGetTriggerMode (int &_irTriggerMode, double &_drTimeout) |
Is trigger mode switched on? More... | |
int | iGetTriggerStrobeParameter (int ¶metrizable, double &delay, double &duration) |
Get strobe trigger parameter for Lmk6 camera. More... | |
int | iGetViewPalette (int image, int &palette) |
Get index of used palette. More... | |
int | iGetViewScaling (int image, double &scaling, double &minimum, double &maximum) |
Get used scaling of image view. More... | |
int | iGetViewScalingRect (int image, int &top, int &bottom, int &left, int &right) |
Get used scaling rectangle of image view. More... | |
int | iGetViewZoom (int image, double &zoom, int &top, int &left) |
Get current zooming parameters. More... | |
int | iGrab () |
int | iHaveControllableLens (int &have) |
Controllable lens connected ? More... | |
int | iHaveStatistic (int _iImage, int _iRegion, int &_irHave, int &_irType, int &_irIndex) |
Proof, if a statistic exists for a image / region / statistic type. More... | |
int | iHighDynPic (double _dMaxTime, double _dMinTime, double _dFactor, int _iSmear, double _dModFrequency) |
HighDyn-Leuchtdichtebild-Aufnahme. More... | |
int | iHighDynPic2 (double _dMaxTime, double _dMinTime, double _dFactor, int _iPicCount) |
HighDyn capturing for luminance image. More... | |
int | iHighDynPic3 (double _dExposureTime, double _dStartRatio, double _dFactor, int _iCountPic) |
HighDyn capturing for luminance image. More... | |
int | iImageCreate (int _iColorImage, QString _qImageName, int &_irIndex) |
Creates an evaluation image. More... | |
int | iImageDelete (int _iIndex) |
Deletes an evaluation image. More... | |
int | iImageGetDumpToFile (int _iImage, int _iFirstLine, int _iLastLine, int _iFirstColumn, int _iLastColumn, QString _FileName) |
Get a memory dump of a image region into a file. More... | |
int | iImageGetDumpToMemory (int _iImage, int _iFirstLine, int _iLastLine, int _iFirstColumn, int _iLastColumn, QByteArray &_rDump) |
Get a memory dump of a image region into memory. More... | |
int | iImageGetPixelColor (int _iImage, int _iLine, int _iColumn, double &_drRed, double &_drGreen, double &_drBlue) |
Get a pixel value of a color image. More... | |
int | iImageGetPixelGrey (int _iImage, int _iLine, int _iColumn, double &_drValue) |
Get a pixel value of a grey image. More... | |
int | iImageGetRefColorInRGB (int _iImage, double &_drRed, double &_drGreen, double &_drBlue) |
Get the reference color of an image. More... | |
int | iImageGetSize (int _iImage, int &_irFirstLine, int &_irLastLine, int &_irFirstColumn, int &_irLastColumn, int &_irDimensions) |
Get image size and parameter. More... | |
int | iImageSetRefColorInRGB (int _iImage, double _dRed, double _dGreen, double _dBlue) |
Set the reference color of an image. More... | |
int | iImageSetSize (int _iIndex, int _iFirstLine, int _iLastLine, int _iFirstColumn, int _iLastColumn) |
Changes the size of an existing image. More... | |
int | iImportHDF5Protocol (QString _qPathName) |
Import a HDF5 protocol. More... | |
int | iIsOpen () |
Application is running? More... | |
int | iIsRegionSelected (int _iList, int _iRegion, int &_irIsSelected) |
Is a region selected? More... | |
int | iIsTriggerAvailable (int &interntrigger, int &externtrigger, int &imagetrigger) |
Which trigger modi for Lmk6 camera are available? More... | |
int | iLensInit () |
Reinitialize controllable lens. | |
int | iLEXanglesFromImage () |
Set angle area from image coordinate system. More... | |
int | iLEXanglesFromSelRect () |
Set angle area from selected rectangle coordinate system. More... | |
int | iLEXcloseDialog () |
Closes dialog for LID export into a file. More... | |
int | iLEXexecute (QString _qFileName) |
Export of LID into a file. More... | |
int | iLEXgetAngles (double &_dThetaTop, double &_dThetaBottom, double &_dThetaDelta, double &_dPhiMin, double &_dPhiMax, double &_dPhiDelta) |
int | iLEXopenDialog () |
Opens dialog for LID export into a file. | |
int | iLEXsetAngles (double _dThetaTop, double _dThetaBottom, double _dThetaDelta, double _dPhiMin, double _dPhiMax, double _dPhiDelta) |
Select angle area for export file. More... | |
int | iLEXsetCoordSystem (QString _qSrcCoordSystem, QString _qDstCoordSystem) |
Types of coordinate system orientation used. More... | |
int | iLEXsetDescription (QString _qDescription, QString _qNumber, QString _qLaboratory, QString _qManufactory, QString _qUserName) |
Descriptions for export file. More... | |
int | iLEXsetImage (QString _qImageName) |
int | iLEXsetOrigin (double _dThetaDiff, int _iThetaSign, double _dPhiDiff, int _iPhiSign) |
Modification of origin of coordinate system. More... | |
int | iLEXsetParameter (double _dTemperatur, double _dWattage, double _dVoltage, double _dCurrent, double _dLightFlux) |
Parameters for export file. More... | |
int | iLIDcloseDialog () |
Closes LID dialog. More... | |
int | iLIDexecute (int _iIndex) |
Executes a LID calculation with one of the parameter set. More... | |
int | iLIDgetCountParam (int &_iCount) |
Get number of available parameter set in LID calculation dialog. More... | |
int | iLIDgetParamName (int _iIndex, QString &_qParamName) |
Get name of a parameter set in LID calculation dialog. More... | |
int | iLIDMergeCaptureProcess (int _iLIDIndex, double _dPhiMin, double _dPhiMax, double _dPhiStep, double _dThetaMin, double _dThetaMax, double _dThetaStep, int _iShowPositioningMessageBoxes) |
Captures a big LID image out of several images. More... | |
int | iLIDopenDialog (QString _qFileName) |
Opens dialog for LID calculation. More... | |
int | iLoadCaptureParameterSet (QString _qParameterSet) |
Load predefined parameter set for the next captures. More... | |
int | iLoadImage (int _iNumber, QString _qFileName) |
Load image. More... | |
int | iLoadIsoPalette (int image, QString filename) |
Load iso color palette from a file. More... | |
int | iLoadProtokoll (QString _qPathName) |
Load a protocol from a file. More... | |
int | iLoadRegionList (int _iList, QString _qFileName, int _iOverwrite) |
Load region list. More... | |
int | iLoadRegionListCS (int _iList, QString _qFileName, int _iOverwrite) |
Load region list in units of coordinate system. More... | |
int | iLoadUserPalette (int image, QString filename) |
Load iso color palette from a file. More... | |
int | imageArithmeticI (QString _qCode, int _iSrcImage, int _iDstImage) |
Image arithmetic with one source image and one destination image. More... | |
int | imageArithmeticII (QString _qCode, int _iSrcImage1, int _iSrcImage2, int _iDstImage) |
Image arithmetic with two source images and one destination image. More... | |
int | imageArithmeticIP1 (QString _qCode, int _iSrcImage, QString _qParameter, int _iDstImage) |
Image arithmetic with one source image, one parameter and one destination image. More... | |
int | imageArithmeticIP3 (QString _qCode, int _iSrcImage, QString _qRed, QString _qGreen, QString _qBlue, int _iDstImage) |
Image arithmetic with one source image, three color parameter and one destination image. More... | |
int | iMatrixModuleCloseDialog () |
Closes the dialog for Matrix module measurements. More... | |
int | iMatrixModuleExecute () |
Executes calculation with the current parameter set. More... | |
int | iMatrixModuleOpenDialog () |
Opens the dialog for Matrix module measurements. More... | |
int | iMatrixModuleReadParameter (QString filename) |
Load a parameter set (*.ini format) More... | |
int | iMatrixModuleWriteResults (QString filename) |
Writes a result file (*.csv format) More... | |
int | iMergeColorImage (int _iSrcGreyImage1, int _iSrcGreyImage2, int _iSrcGreyImage3, int _iDstColorImage, int _iColorSpace) |
Create a color image from color extracts. More... | |
int | iMotor_CloseAxes () |
Close axes access. More... | |
int | iMotor_GetAxisInfo (int index, QString &name, double &minposition, double &normposition, double &maxposition, double &minspeed, double &normspeed, double &maxspeed) |
Get names, min and max of an axis. More... | |
int | iMotor_GetAxisPosition (int index, double &position) |
Get position of an axis. More... | |
int | iMotor_GetAxisSpeed (int index, double &speed) |
Get speed of an axis. More... | |
int | iMotor_IsAxisMoving (int index, int &moving) |
Is the axis moving? More... | |
int | iMotor_NumberOfAxes (int &number) |
Get number of axes. More... | |
int | iMotor_OpenAxes () |
Initialisation of all axes. More... | |
int | iMotor_ReadIni (QString filename) |
Read of ini file with information about the axes. More... | |
int | iMotor_SetAxisPosition (int index, double position) |
Set position of an axis (axis begin to move) More... | |
int | iMotor_SetAxisSpeed (int index, double speed) |
Set speed of an axis. More... | |
int | iMoveRegion (int _iList, int _iRegionIndex, double _dX, double _dY) |
Move a region the wished distance. More... | |
int | iMultiPic (double _dExposureTime, int _iCountPic, int _iSmear, double _dModFrequency) |
MultiPic capture algorithm. More... | |
int | iMultiPic2 (double _dExposureTime, int _iCountPic) |
MultiPic capture algorithm. More... | |
int | iOpen () |
Opens the Lmk4 application. More... | |
int | iOpenRegisterFile (QString _qFileName, int _iMode) |
Open register file. More... | |
int | iOpenRegisterMapFile (QString _qFileName) |
Open register map file. More... | |
int | iParamStatistics_Connect (int _iType, int _iFirstIndex, int _iSecondIndex) |
Take the statistic parameter of one object over to another. More... | |
int | iParamStatistics_Disconnect (int _iType, int _iIndex) |
Separate the statistic parameter set of one object. More... | |
int | iParamStatistics_GetName (int _iType, int _iIndex, QString &_qsName) |
Get the name of a parameter set. More... | |
int | iParamStatistics_SetName (int _iType, int _iIndex, QString _qsNewName) |
Set the name of a parameter set. More... | |
int | iPCT_CaptureDarkImage () |
Capture dark image. | |
int | iPCT_CapturePixelImage () |
Capture pixel image. | |
int | iPCT_CloseDialog () |
Closes the Pixel crosstalk dialog. | |
int | iPCT_ExecAutomatically () |
Execute all steps automatically. | |
int | iPCT_GetFlags (int &createTemplate, int &darkCapture, int &pixelCapture, int &red, int &green, int &blue, int &white) |
Get flags for Pixel crosstalk measurement. More... | |
int | iPCT_LoadDarkImage (QString filename) |
Load dark image from file. More... | |
int | iPCT_LoadParameters (QString filename) |
Load parameters set from *.ini file. More... | |
int | iPCT_LoadPixelImage (QString filename) |
Load pixel image from file. More... | |
int | iPCT_OpenDialog () |
Opens the Pixel crosstalk dialog. | |
int | iPCT_SaveParameters (QString filename) |
Save parameters set to *.ini file. More... | |
int | iPCT_SetFlags (int createTemplate, int darkCapture, int pixelCapture, int red, int green, int blue, int white) |
Set flags for Pixel crosstalk measurement. More... | |
int | iPing () |
int | iProjectiveRectification (int srcimage, QString parameterfile, int dstimage) |
Projective rectification of an image. More... | |
int | iReadFromStatusLine (QString &_qMessage) |
Read a string from the status line of the program. More... | |
int | iReadIniFileEntries (QString _qFileName, QString _qSection, QStringList &_qslEntries) |
Read list of entries in a section of an inifile. More... | |
int | iReadIniFileEntry (QString _qFileName, QString _qSection, QString _qEntry, QString _qDefault, QString &_qValue) |
Read value of an entry in a section of an inifile. More... | |
int | iReadIniFileSections (QString _qFileName, QStringList &_qslSections) |
Read list of sections in an inifile. More... | |
int | iReadPhysicalRegister (int _iRegister, int &_irValue) |
Read physical register of camera. More... | |
int | iReadRegisterMap (QString _qRegisterName, int &_irValue) |
read register value More... | |
int | iReFocus (double &sharpness, double &edge) |
Make autofocus procedure in a small range around the last good value. More... | |
int | iResetTimeStatistic (int _iTyp, int _iObject) |
Reset a time statistic. More... | |
int | iSaveColorFactorsFile () |
Save color factors file to use at next program start. More... | |
int | iSaveImage (int _iNumber, QString _qFileName) |
Save image. More... | |
int | iSaveImageRegion (int _iImage, int _iRegion, QString _qFileName) |
Save image region. More... | |
int | iSaveProtokoll (QString _qPathName) |
Save a protocol into a file. More... | |
int | iSaveRegionList (int _iList, QString _qFileName, int _iOverwrite) |
Save region list. More... | |
int | iSaveRegionListCS (int _iList, QString _qFileName, int _iOverwrite) |
Save region list in units of coordinate system. More... | |
int | iSelectImage (int _iIndex) |
Bring image to front in LabSoft. More... | |
int | iSelectRegion (int _iList, int _iRegion, int _iSelected) |
Selects or deselects a region. More... | |
int | iSetAperture (int value) |
Set aperture value. More... | |
int | iSetAutomatic (int _iAutomatic) |
Set Automatic-Flag for all exposure times. More... | |
int | iSetAutoscan (int _iAutoscan) |
Set use of autoscan algorithm. More... | |
int | iSetCameraParameter (QString _qParameterName, QString &_qrParameterValue) |
Write access to camera parameter. More... | |
int | iSetClass (int _iTyp, int _iObject, int _iClass, QString _qsClassName, int _iVisible) |
Set name and visibility of class. More... | |
int | iSetColorCorr (int _iIndex, int _iSelect) |
Selection of a color correction factor. More... | |
int | iSetColorFactors (int _iIndex) |
Set a color matrix. More... | |
int | iSetConvertingUnits (QString _qName, QString _qUnit, double _dFactor) |
Set new converting values. More... | |
int | iSetDarkening (int _iDarkening, int _iSwitchMonitorOff, double _dTimeOut) |
Darkening computer monitor while capturing. More... | |
int | iSetFilterWheel (int _iCurrentFilter) |
Set new filter position. More... | |
int | iSetFlagsStatistic (int _iTyp, int _iObject, int _iGeo, int _iPhoto, int _iMinMax, int _iTime, int _iHorseshoe) |
Set Flags for statistic evaluations. More... | |
int | iSetFlagsStatistic2 (int _iTyp, int _iObject, int _iGeo, int _iPhoto, int _iMinMax, int _iTime, int _iMaxCountTime, int _iHorseshoe) |
Set Flags for statistic evaluations. More... | |
int | iSetFocus (double value) |
Set focus position. More... | |
int | iSetFocusFactor (int _iIndex) |
Set a focus factor. More... | |
int | iSetFocusParameter (int subsampling, int top, int bottom, int left, int right) |
Set parameter for autofocus. More... | |
int | iSetGreyFilter (int _iIndex, int _iSelect) |
Selection of a grey filter. More... | |
int | iSetGreyFilterList (QStringList &_qSelected) |
Set grey filters. More... | |
int | iSetImageName (int _iIndex, QString _qName) |
Changes the name of an image. More... | |
int | iSetIntegrationTime (double _dWishedTime, double &_drRealizedTime) |
Set new exposure time. More... | |
int | iSetMaxCameraTime (double _dMaxCameraTime) |
Set the maximum possible exposure time. More... | |
int | iSetModulationFrequency (double _dModFrequency) |
Set the frequency of modulated light. More... | |
int | iSetNewCamera (QString _qPathToLens) |
Set new camera calibration data. More... | |
int | iSetNewCamera2 (QString _qNameCamera, QString _qNameLens) |
Set new camera calibration data. More... | |
int | iSetPositionRegionName (int list, int index, int position) |
Write position of region name. More... | |
int | iSetRawFocus (int value) |
Set focus position. More... | |
int | iSetRecalibrationFactor (double _dFactor) |
Set recalibration factor. More... | |
int | iSetRegionName (int _iList, int _iIndex, QString _qrName) |
Change region name. More... | |
int | iSetScatteredLight (int _iScatteredLight) |
Use of scattered light correction. More... | |
int | iSetSmear (int _iSmear) |
Set the parameter for smear correction. More... | |
int | iSetStatisticParameter (int _iTyp, int _iObject, int &_irNumberParam, QStringList &_slrParamList) |
Change the parameters of a statistic. More... | |
int | iSetSuppressOverflow (int _iSuppress) |
Suppress overflow warning in measurement series. More... | |
int | iSetSuppressProgressDialog (int _iSuppress) |
Suppress view of progress dialog while capturing an luminance or color image. More... | |
int | iSetTrigger (int type) |
Switch trigger mode on or off for Lmk6 camera. More... | |
int | iSetTriggerCommonParameter (double timeout, double capturedistance, double exposuredelay, int triggerhigh, int strobehigh) |
Set common trigger parameter for Lmk6 camera. More... | |
int | iSetTriggerImageParameter (int top, int bottom, int left, int right, int reserved, int level, double exposure) |
Set image trigger parameter for Lmk6 camera. More... | |
int | iSetTriggerMode (int _iTriggerMode, double _dTimeout) |
Switch on or off triggered mode of capturing. More... | |
int | iSetTriggerStrobeParameter (int parametrizable, double delay, double duration) |
Set strobe trigger parameter for Lmk6 camera. More... | |
int | iSetViewPalette (int image, int palette) |
Change color palette. More... | |
int | iSetViewScaling (int image, double scaling, double minimum, double maximum) |
Set new scaling of image view. More... | |
int | iSetViewScalingRect (int image, int top, int bottom, int left, int right) |
Set new scaling rectangle of image view. More... | |
int | iSetViewZoom (int image, double zoom, int top, int left) |
Set new zooming parameters. More... | |
int | iShow (int _iShowStatus) |
Change visibility of the program. More... | |
int | iSI2_CloseDialog () |
Closes the Sticking images Level-2 dialog. | |
int | iSI2_GetImageDir (int &saveImages, QString &directoryName) |
Get image saving parameters. More... | |
int | iSI2_GetSchedule (double &rollingTime, double &burnInTime, double &relaxationTime, int &firstTriggered, int &corrNonUniformity) |
Get schedule of measurement. More... | |
int | iSI2_LoadProject (QString filename) |
Load project file *.si2. More... | |
int | iSI2_LoadTeachIn (QString filename) |
Load TeachIn file *.car. More... | |
int | iSI2_OpenDialog () |
Opens the Sticking images Level-2 dialog. | |
int | iSI2_SaveProject (QString filename) |
Save project file *.*.si2. More... | |
int | iSI2_SetDefaults () |
Set parameters to default values. | |
int | iSI2_SetImageDir (int saveImages, QString directoryName) |
Set image saving parameters. More... | |
int | iSI2_SetSchedule (double rollingTime, double burnInTime, double relaxationTime, int firstTriggered, int corrNonUniformity) |
Set schedule of measurement. More... | |
int | iSI2_StartMeasure () |
Starts measurement. | |
int | iSI2_StopMeasure () |
Stopps measurement. | |
int | iSI3_CloseDialog () |
Closes the Sticking images Level-3 dialog. | |
int | iSI3_DefaultParameters () |
Set parameters to default values. | |
int | iSI3_GetParameters (int &binalevel, int &maxobjectsize, double &horzscanfactor, int &bordersize, int &showregions, int &corrnonuniformity) |
Get parameters of measurement. More... | |
int | iSI3_LoadParameters (QString filename) |
Load parameters of measurement *.ini. More... | |
int | iSI3_LoadProject (QString filename) |
Load project file *.stimp. More... | |
int | iSI3_OpenDialog () |
Opens the Sticking images Level-3 dialog. | |
int | iSI3_SaveParameters (QString filename) |
Save parameters of measurement *.ini. More... | |
int | iSI3_SaveProject (QString filename) |
Save project file *.stimp. More... | |
int | iSI3_SetParameters (int binalevel, int maxobjectsize, double horzscanfactor, int bordersize, int showregions, int corrnonuniformity) |
Set parameters of measurement. More... | |
int | iSI3_StartMeasure () |
Starts measurement. | |
int | iSI3_StopMeasure () |
Stops measurement. | |
int | iSI3_TeachNonUniformity () |
Teach nonuniformity. | |
int | iSI3_TeachRegions () |
Teach regions. | |
int | iSinglePic (double _dExposureTime, int _iSmear, double _dModFrequency) |
SinglePic capture algorithm. More... | |
int | iSinglePic2 (double _dExposureTime) |
SinglePic capture algorithm. More... | |
int | iSinglePicFromFile (QString _qFileName) |
Convert camera image file to luminance image. More... | |
int | iSinglePicsFromDirectory (QString _qSrcDirectory, QString _qDstDirectory) |
Converts a directory with camera images to a directory with luminance images. More... | |
int | iSPA_Autoscan (double &time) |
Make autoscan algorithm and take over exposure time. More... | |
int | iSPA_Capture () |
Capture luminance image. More... | |
int | iSPA_CloseDialog () |
Closes the Sparkle dialog. | |
int | iSPA_GetCameraParameter (double &fieldAngle, double &resolution, int &showAngle, int &defaultValues) |
Get capture parameters. More... | |
int | iSPA_GetCaptureParam (double &time, int &count) |
Get exposure time and number of images for MultiPic algorithm. More... | |
int | iSPA_GetMeasurementRegion (int &height, int &width, int &top, int &left, int &showRegion, int &showDisplay) |
Get measuring region. More... | |
int | iSPA_GetMovementParameter (double &middle, double &range, double &step) |
Get movement parameters for measurement. More... | |
int | iSPA_LoopMeasure (double &value, double &position) |
Complete measurement with image displays, diagram and tables. More... | |
int | iSPA_OpenDialog () |
Opens the Sparkle dialog. | |
int | iSPA_ReadCarFile (QString filename) |
Read camera adjustment file *.car, contains information about display to be measured. More... | |
int | iSPA_ReadParameterFile (QString filename) |
Read parameter file *.spa. More... | |
int | iSPA_SetCameraParameter (double fieldAngle, double resolution, int showAngle, int defaultValues) |
Set capture parameters. More... | |
int | iSPA_SetCaptureParam (double time, int count) |
Set exposure time and number of images for MultiPic algorithm. More... | |
int | iSPA_SetMeasurementRegion (int height, int width, int top, int left, int showRegion, int showDisplay) |
Set measuring region. More... | |
int | iSPA_SetMovementParameter (double middle, double range, double step) |
Set movement parameters for measurement. More... | |
int | iSPA_SingleMeasure (double &value) |
Single measurement in luminance image. More... | |
int | iSPA_WriteParameterFile (QString filename) |
Write parameter file *.spa. More... | |
int | iSplitColorImage (int _iSrcColorImage, int _iDstGreyImage1, int _iDstGreyImage2, int _iDstGreyImage3, int _iColorSpace) |
Split a color image into color extracts. More... | |
int | iSR_Close () |
Closes the dialog. | |
int | iSR_Execute () |
Execute search and usage. | |
int | iSR_GetChangeRegions (int &enlarge, int &smoothing, int &minsize, int &maxsize, int &convex, int &rectangles) |
Get parameters from section "Change regions". More... | |
int | iSR_GetSearchingFor (int &image, double &threshold, int &smoothing) |
Get parameters from section "Searching for regions. More... | |
int | iSR_GetStatistics (int &statistic, int &separate) |
Get parameters from section "Generate statistics. More... | |
int | iSR_GetUseRegions (int &usage, int &delexisting, int &createmiss, double &distance, double &area, double &circumference, double &shape, double &rotation, double &displacement) |
Get parameters from section "Use regions". More... | |
int | iSR_Open () |
Opens the dialog. | |
int | iSR_SetChangeRegions (int enlarge, int smoothing, int minsize, int maxsize, int convex, int rectangles) |
Set parameters to section "Change regions". More... | |
int | iSR_SetSearchingFor (int image, double threshold, int smoothing) |
Set parameters to section "Searching for regions. More... | |
int | iSR_SetStatistics (int statistic, int separate) |
Set parameters to section "Generate statistics". More... | |
int | iSR_SetUseRegions (int usage, int delexisting, int createmiss, double distance, double area, double circumference, double shape, double rotation, double displacement) |
Set parameters to section "Use regions". More... | |
int | iTableGetAllContent (int _iTable, QStringList &_qslContent) |
Returns all cells of a table as a list. More... | |
int | iTableGetCell (int _iTable, int _iLine, int _iColumn, QString &_qrCell) |
Returns the content of a cell of a table. More... | |
int | iTableGetColumn (int _iTable, int _iColumn, QString &_qrName, QString &_qrCaption, QString &_qrUnit) |
Returns the column header of a column of a table. More... | |
int | iTableGetIndex (QString _qNameOrCaption, int &_irTable) |
Search for a table, given by name or caption. More... | |
int | iTableGetNameAndCaption (int _iTable, QString &_qrName, QString &_qrCaption) |
Returns the name and the caption of an existing table. More... | |
int | iTableGetNumber (int &_irNumber) |
Returns the number of tables in the result tab widget. More... | |
int | iTableGetNumberColumns (int _iTable, int &_irNumberColumns) |
Returns the number of columns of a table. More... | |
int | iTableGetNumberLines (int _iTable, int &_irNumberLines) |
Returns the number of lines of a table. More... | |
int | iTIG_CreateImage () |
Create template image with the adjusted parameters. More... | |
int | iTIG_DeleteImage () |
Remove template image from the display. More... | |
int | iTIG_GetBorderProperties (int &_irUse, int &_irLeft, int &_irRight, int &_irTop, int &_irBottom, int &_irValue) |
Get properties of image border. More... | |
int | iTIG_GetListOfCategories (QStringList &_qslCategories) |
Get list of categories of template images. More... | |
int | iTIG_GetListOfOperations (QString _qCategory, QStringList &_qslOperations) |
Get list of types of template images for the given category. More... | |
int | iTIG_GetListOfParameterNames (QStringList &_qrParameters) |
Get a parameter name list for the currently selected template image type. More... | |
int | iTIG_GetNumberTargetDisplays (int &_irNumber) |
Number of connected displays. More... | |
int | iTIG_GetParameterValue (QString _qName, double &_drValue) |
Get a certain parameter value. More... | |
int | iTIG_GetTarget (int &_irIndex, QString &_qrImageName) |
Get current target for template image generation. More... | |
int | iTIG_GetTargetProperties (int &_irType, int &_irHeight, int &_irWidth, int &_irLines, int &_irColumns) |
Get properties of current target. More... | |
int | iTIG_HideDialog () |
Make template image dialog invisible. More... | |
int | iTIG_IsOperation (QString _qCategory, QString _qOperation, int &_irSet) |
Ask, if a type of template image is selected. More... | |
int | iTIG_LoadImage (QString _qFileName) |
Load template image file to the target. More... | |
int | iTIG_LoadParameter (QString _qFileName) |
Load file with predefined parameter values. More... | |
int | iTIG_SaveImage (QString _qFileName) |
Save template image to a file. More... | |
int | iTIG_SaveParameter (QString _qFileName) |
Save file with adjusted parameter values. More... | |
int | iTIG_SetBorderProperties (int _iUse, int _iLeft, int _iRight, int _iTop, int _iBottom, int _iValue) |
Set properties of image border. More... | |
int | iTIG_SetOperation (QString _qCategory, QString _qOperation, int _iSet) |
Set a type of template image or an option. More... | |
int | iTIG_SetParameterValue (QString _qName, double _dValue) |
Set a certain parameter value. More... | |
int | iTIG_SetTarget (int _iIndex, QString _qImageName) |
Set target for template image generation. More... | |
int | iTIG_ShowDialog () |
Make template image dialog visible. More... | |
int | iWordClose () |
Close Word program. More... | |
int | iWordCopyItem (int _iIndex) |
Copy one item to Word. More... | |
int | iWordCopySelected () |
Copy all selected items to Word. More... | |
int | iWordGetItemProperties (int _iIndex, int &_irType, QString &_qrName, QString &_qrMarker, int &_irSelected) |
Get the informations about a data entry. More... | |
int | iWordGetNumberItems (int &_irNumber) |
Get number of data entries in Word dialog. More... | |
int | iWordOpenFile (QString _qFileName) |
Open an Word file for data export. More... | |
int | iWordSave () |
Save Word file. More... | |
int | iWordSelectAll () |
Select all items in Word dialog. More... | |
int | iWordSetItemProperties (int _iIndex, QString _qMarker, int _iSelect) |
Set the informations about a data entry. More... | |
int | iWordSetVisible (int _iVisible) |
Change visbility of Word program. More... | |
int | iWordUnselectAll () |
Unselect all items in Word dialog. More... | |
int | iWriteIniFileEntry (QString _qFileName, QString _qSection, QString _qEntry, QString _qValue) |
Write value of an entry in a section of an inifile. More... | |
int | iWritePhysicalRegister (int _iRegister, int _iValue) |
Write physical register of camera. More... | |
int | iWriteRegisterFile (QString _qFileName) |
Write register file. More... | |
int | iWriteRegisterMap (QString _qRegisterName, int _iValue) |
int | iWriteToStatusLine (QString _qMessage) |
Writes a string to the status line of the program. More... | |
Signals | |
void | vSignalImageContentChanged (int _iImage) |
After changing of an image, this signal is thrown. More... | |
void | vSignalWaitTrigger (double _dTimeout) |
If capturing algorithm waits for extern trigger signal. More... | |
|
slot |
Change color factors to adjust to a given color.
Color factors sets are reachable within the program with "Capture | properties | Color factors | Change". See LabSoft manual chapter 5.3.1 "Color factors".
If you have measured the color with the help of another device you can adjust the color measured by the program (current color) to the color measured by this device (wished color). The changes will take effect by the next color capture.
The color values are given in CIE-RGB color space. If you need some color space transformation, please use
_iIndex | Index of set |
_dCurrent_R | Current color, red value |
_dCurrent_G | Current color, green value |
_dCurrent_B | Current color, blue value |
_dWished_R | Wished color, red value |
_dWished_G | Wished color, green value |
_dWished_B | Wished color, blue value |
|
slot |
Append an equation.
_iTyp | Index of statistic type |
_iObject | Index of object |
_qsName | Name of equation |
_qsFormula | Formula to calculate |
_iWhereToShow | Where to show in result table |
|
slot |
Make autofocus procedure.
linear | 1 = use linear scan |
adaptive | 1 = use adaptive scan (preferred), both on: combine linear and adaptive scan |
sharpness | Value of sharpness, the higher, the better |
edge | Mean edge quality in percent (Maximum = 100%) |
|
slot |
Determine a good exposure time.
|
slot |
List of all available bitmaps in program (images, graphics, diagrams)
bitmapList | List of all bitmaps |
|
slot |
Copy adjustment image from "Camera image" to "Adjustment image".
|
slot |
Automatic measurement using DVI interface for the display to be measured.
_iBrightImage | if not zero, capture bright image and calculate it |
_iDarkImage | if not zero, capture dark image and calculate it |
_dTimeDelay | Time delay between uploading the template image to the display and start capturing |
|
slot |
Makes a BlackMura bright capture and calculates results.
|
slot |
Load a bright image and calculates results.
_qFileName | Image filename |
|
slot |
Closes the dialog for BlackMura measurements.
|
slot |
Load a dark image and calculates results.
_qFileName | Image filename |
|
slot |
Get the destination directory for saving images.
_qrDstDirectory | Destination directory for images |
|
slot |
Get flags for DarkMura project.
_irShowCoord | Show coordinate system |
_irShowMeasurementRegion | Show measurement region |
_irShowAdjustmentRegions | Show regions in adjustment image |
_irShowBrightClassification | Show classification in bright image |
|
slot |
Get flags for DarkMura measurement.
_irShowDarkClassification | Show classification in dark image |
_irSaveAutomatically | Save captures images automatically |
|
slot |
Get BlackMura project file name.
_qrFileName | Filename of current BlackMura project |
|
slot |
Get the serial number of next display to examine.
_qrSerialNumber | Serial number of next display to capture |
|
slot |
Loads Camera adjustment file
_qFileName | Filename of BlackMura project |
|
slot |
Loads BlackMura project file.
_qFileName | Filename of BlackMura project |
|
slot |
Saves BlackMura project file.
_qFileName | Filename of BlackMura project |
|
slot |
Set the destination directory for saving images.
_qDstDirectory | Destination directory for images |
|
slot |
Set flags for DarkMura project.
_iShowCoord | Show coordinate system |
_iShowMeasurementRegion | Show measurement region |
_iShowAdjustmentRegions | Show regions in adjustment image |
_iShowBrightClassification | Show classification in bright image |
|
slot |
Set flags for DarkMura measurement.
_iShowDarkClassification | Show classification in dark image |
_iSaveAutomatically | Save captures images automatically |
|
slot |
Set the serial number of next display to examine.
_qSerialNumber | Serial number of next display to capture |
|
slot |
Get version of firmware in camera and lens.
Only available for Lmk6 cameras (TTQ, TTS, TTT)
fpga | Version of FPGA |
firmware | Version of camera firmware |
build | Build number |
lens | - Controlable lens: 256 * major version + minor version
|
|
slot |
Get Focus and contrast information of a region in the camera image.
_iTop | First line of region |
_iLeft | First column of region |
_iBottom | Last line of region |
_iRight | Last column of region |
_drFocus | Focus result in percent (values between 0.0 and 100.0) |
_drContrast | Contrast between bright and dark (values between 0. and 10.0) |
|
slot |
Get the region, which is used for overdrive control.
_irUseRegion | - 1: Following region coordinates are used
|
_irTop | Upper border of region used |
_irBottom | Lower border of region used |
_irLeft | Left border of region used |
_irRight | Right border of region used |
|
slot |
Read some additional camera properties.
_qName | Name of the parameter wished. Currently are supported by some camera types:
|
_qrValue | Return value of the function. The interpretation of the string depends on the parameter itself. For example the gain is an integer value, the temperature is a floating point. |
|
slot |
Get saturation information of camera image or region in camera image.
_iWholeImage | - 1: Use whole image (_iTop, _iLeft, _iBottom and _iRight are meaningless)
|
_iTop | First line of region |
_iLeft | First column of region |
_iBottom | Last line of region |
_iRight | Last column of region |
_drSaturation | Saturation of image or region in percent (values between 0.0 and 100.0, 100.0 = overdriven image or region) |
|
slot |
List of camera and lens calibration data for this installation.
Every camera - lens combination is one entry, for example:
list | List of combinations |
|
slot |
Set the region, which is used for overdrive control.
_iUseRegion | - 1: Following region coordinates will be used
|
_iTop | Upper border of region used |
_iBottom | Lower border of region used |
_iLeft | Left border of region used |
_iRight | Right border of region used |
|
slot |
Closes the dialog "Camera set-up.
|
slot |
Opens the dialog "Camera set-up.
|
slot |
Load predefined project file.
File extension is usually *.cap
_qFileName | File name of existing file |
|
slot |
Start measurement in camera or luminance image.
Every time a new image is captured or loaded, the measurement results are calculated.
_iLuminanceImage | - 0 Calculation in camera image
|
|
slot |
Stop measurement in camera or luminance image.
|
slot |
Get position of circles found in image.
success | Search of adjustment successful? |
middle_x | x coordinates of the 5 circles |
middle_y | y coordinates of the 5 circles |
radius | Radii of the 5 circles |
|
slot |
Get results of geometric adjustment.
success | Search of adjustment successful? |
optical_x_pix | Optical axis in x in pixels |
optical_x_mm | Optical axis in x in millimeters |
optical_y_pix | Optical axis in y in pixels |
optical_y_mm | Optical axis in y in millimeters |
horizontal | Horizontal angle |
vertical | Vertical angle |
axial | Axial angle |
repro_x | Reproduction scale in x |
repro_y | Reproduction scale in y |
|
slot |
Get results of geometric adjustment.
success | Search of adjustment successful? |
minimum | Minimum value in image |
maximum | Maximum value in image |
vertical | 6 values of vertical modulation rectangles |
horizontal | 6 values of horizontal modulation rectangles |
|
slot |
Save calculated results.
File extension is usually *.car
_qFileName | File name of result file |
|
slot |
Determine information about the preceeding capture.
_irSuccess | 1=success, 0=no success |
_irAlgorithm | 1=SinglePic ... 4 ColorHighDyn |
_qrGreyFilter | Unused |
_qrColorFilter | Liste of color filters |
_ulpPicCount | Number of camera images (MultiPic) |
_drMaxTime | Maximal exposure time |
_drMintTime | Minimal exposure time |
_drOverflow | Percentage of overdriven pixels |
_drMaxLoad | Percentage of overdrive |
_drCaptureTime | Capture date and time as double number |
_irSmear | Number of smear images |
_drFrequency | Modulation frequency |
|
slot |
Set the properties of a region.
Only in the case of a polygon it is possible to change the number of points.
_iList | Index of region list |
_iIndex | Index of the region |
_iNumPoints | Number of points |
_slX | New x-coordinates |
_slY | New y-coordinates |
|
slot |
Delete the undo stack of region list (saves memory and time)
_iList | Input: Index of region list (same as image index) |
|
slot |
Closes the Lmk4 application.
_iQuestion | !=0: Opens a dialogue window in the application. The user can choose, wether he wish to save the current state or not or cancel th closing of the program. =0: No dialogue window |
|
slot |
Determine good exposure times for every color filter.
_qslExposureTimes | Return value: List of exposure times. One time for every color filter. |
Attention: The list of exposure times contains one value for every filter in the filter wheel, independent of this filter is used in color capturing or not. In most cameras there are at least 5 filters:
In some cases there is additionally a sixt filter available. The list of capture times therefore contains either 5 or 6 entries. Color captures are mostly done with X1, X2, Z and Y filters. Therefore the first entry in the exposure time list is irrelevant for color captures. And in the case of 6 filters, the last entry too.
You can use the returned list of exposure times in the functions iColorCaptureMultiPic() and iColorCaptureHighDyn().
|
slot |
Capturing of color images with the HighDyn algorithm.
_qslExposureTimes | List of exposure times. One time for every color filter. |
_dStartRatio | Every is multiplied with this parameter to determine the start exposure time for one of the color filters. The default value for this parameter should be 10. |
_dFactor | The exposure time is decreased by this factor until there is no overdrive in the images captured. |
_iCountPic | Number of captures for every filter and exposure time. |
Attention: The list of exposure times contains one value for every filter in the filter wheel, independent of this filter is used in color capturing or not. In most cameras there are at least 5 filters:
In some cases there is additionally a sixt filter available. The list of capture times therefore contains either 5 or 6 entries. Color captures are mostly done with X1, X2, Z and Y filters. Therefore the first entry in the exposure time list is irrelevant for color captures. And in the case of 6 filters, the last entry too.
You can use 6 entries in your list albeit your filter wheel contains only 5 filters. In this case the program simply ignores the unnecessary sixt parameter.
|
slot |
Capturing of color images with the MultiPic algorithm.
_qslExposureTimes | List of exposure times. One time for every color filter. |
_iCountPic | Number of captures for every filter |
Attention: The list of exposure times contains one value for every filter in the filter wheel, independent of this filter is used in color capturing or not. In most cameras there are at least 5 filters:
In some cases there is additionally a sixt filter available. The list of capture times therefore contains either 5 or 6 entries. Color captures are mostly done with X1, X2, Z and Y filters. Therefore the first entry in the exposure time list is irrelevant for color captures. And in the case of 6 filters, the last entry too.
You can use 6 entries in your list albeit your filter wheel contains only 5 filters. In this case the program simply ignores the unnecessary sixt parameter.
|
slot |
Calculate a color difference to a reference color.
_iSrcColorImage1 | Index of source color image |
_qslColor2inRGB | Comparison color in CIE RGB |
_iDstGreyImage | Index of target grey image |
_iColorDifferenceType | Type of color difference:
|
_dMinimumLuminance | Minimum luminance for calculation of color distance |
_iSmoothing | Prior smoothing of color image, box filter size |
_qslParameter | Parameter list for dE(L*a*b*,A,B,C) and dE(Lu'v',A,B) |
|
slot |
Calculate a color difference between two images.
_iSrcColorImage1 | Index of source color image 1 |
_iSrcColorImage2 | Index of source color image 2 |
_iDstGreyImage | Index of target grey image |
_iColorDifferenceType | Type of color difference:
|
_dMinimumLuminance | Minimum luminance for calculation of color distance |
_iSmoothing | Prior smoothing of color image, box filter size |
_qslParameter | Parameter list for dE(L*a*b*,A,B,C) and dE(Lu'v',A,B) |
|
slot |
HighDyn-Farbbild-Aufnahme.
_dMaxTime | Largest exposure time |
_dMinTime | Smallest exposure time (proposal: 0.0) |
_dFactor | Factor between two times (proposal 3.0) |
_iSmear | Number of smear images (0=no smear correction) |
_dModFrequency | Modulation frequency (0=no modulation) |
|
slot |
HighDyn capturing for color image.
_dMaxTime | Largest exposure time |
_dMinTime | Smallest exposure time (proposal: 0.0) |
_dFactor | Factor between two times (proposal 3.0) |
_iPicCount | Number of shots per integration time |
|
slot |
Convert camera calibration data.
This function exists only in the development version of LabSoft. Useable only for TechnoTeam themselves.
_iDestinationType | - 0 Titan to FrameLink
|
_qSourcePath | Path to existing calibration data either for DX4 or SVS camera |
_qDestinationPath | None existing or empty directory for converted data |
|
slot |
Coordinate transformation with two index images.
The function calculates the pixels of a target image using a source image and two index images. To calculate the value of the target image at the location (i, j),
srcImage | Index of the source image |
xIndexImage | Filename of the index images with x-coordinates |
yIndexImage | Filename of the index images with y-coordinates |
targetImage | Index of the target image |
The image size of xIndexImage, yIndexImage and target image should be the same.
|
slot |
Coordinate transformation with two index images.
The function calculates the pixels of a target image using a source image and two index images. To calculate the value of the target image at the location (i, j),
srcImage | Index of the source image |
xIndexImage | Index of the index images with x-coordinates |
yIndexImage | Index of the index images with y-coordinates |
targetImage | Index of the target image |
The image size of xIndexImage, yIndexImage and target image should be the same.
|
slot |
Convert coordinates to pixel indices.
_iImage | Index of image |
_dCoordXorPhi | x coordinate in cartesian system or phi in polar system |
_dCoordYorRadius | y coordinate in cartesian system or radius in polar system |
_drPixelX | x coordinate in pixel system |
_drPixelY | y coordinate in pixel system |
|
slot |
Set the parameter of a cartesian system.
_iImage | Index of image |
_irIsCartesian | 1 if cartesian, 0 if polar. Next parameter only valid if cartesian |
_drScalingX | Scaling in x direction |
_drOffsetX | Offset in x direction |
_drScalingY | Scaling in y direction |
_drOffsetY | Offset in y direction |
|
slot |
Set the parameter of a polar system.
_iImage | Index of image |
_irIsPolar | 1 if polar, 0 if cartesian. Next parameter only valid if polar |
_drXm | Middle point in x |
_drYm | Middle point in y |
_drFactorR | Factor of radius |
_drFactorP | -1 or +1 direction of phi angle |
_drOffsetP | Offset of phi angle |
|
slot |
Get the values and units of the axi.
_iImage | Index of image |
_qrValueX | Value of x axis |
_qrUnitX | Unit of x axis |
_qrValueY | Value of y axis |
_qrUnitY | Unit of y axis |
_qrUnitArea | Unit of area |
|
slot |
Convert pixel indices to coordinates.
_iImage | Index of image |
_dPixelX | x coordinate in pixel system |
_dPixelY | y coordinate in pixel system |
_drCoordXorPhi | x coordinate in cartesian system or phi in polar system |
_drCoordYorRadius | y coordinate in cartesian system or radius in polar system |
|
slot |
Read parameter from a file.
_iImage | Index of image |
_qFileName | Filename of existing file |
|
slot |
Set the parameter of a cartesian system.
Formula for both axis is: Coord = Scaling * Pixel - Offset
_iImage | Index of image |
_dScalingX | Scaling in x direction |
_dOffsetX | Offset in x direction |
_dScalingY | Scaling in y direction |
_dOffsetY | Offset in y direction |
|
slot |
Set the parameter of a polar system.
_iImage | Index of image |
_dXm | Middle point in x |
_dYm | Middle point in y |
_dFactorR | Factor of radius |
_dFactorP | -1 or +1 direction of phi angle |
_dOffsetP | Offset of phi angle |
|
slot |
Set the values and units of the axi.
_iImage | Index of image |
_qValueX | Value of x axis |
_qUnitX | Unit of x axis |
_qValueY | Value of y axis |
_qUnitY | Unit of y axis |
_qUnitArea | Unit of area |
|
slot |
Write parameter into a file.
_iImage | Index of image |
_qFileName | Filename, existing file is overwritten |
|
slot |
Copy factors from one set to another.
Color factors sets are reachable within the program with "Capture | properties | Color factors | Change". See LabSoft manual chapter 5.3.1 "Color factors".
_iSrcIndex | Index of source factor set |
_iDstIndex | Index of destination factor set |
|
slot |
Creates a group.
_iList | Index of region list |
_iGroupType | Type of region
|
_iNumRegions | Number of regions |
_slRegionIndices | List of region indices |
|
slot |
Create a region.
_iList | Index of region list |
_iType | 0...4 see above |
_iNumPoints | Number of points |
_slX | List of x-points |
_slY | List of y-points |
|
slot |
Create a new statistic.
_iTyp | Index of statistic type |
_iImage | Image |
_iRegion | Index of region in this image |
_iNumberParam | Number of parameters for this statistic |
_slrParamList | List of parameters for this statistic |
|
slot |
Closes the currently opened database.
|
slot |
Get the options for saving images.
_irSaveMode | Returns how images should be saved. Note, that only Sqlite files support modes 1 and 2:
|
_qrDirectory | Returns directory name for saving the images |
|
slot |
Set the options for saving images.
_iSaveMode | How images should be saved. Note, that only Sqlite files support modes 1 and 2:
|
_qDirectory | Directory name for saving the images |
|
slot |
Opens a database for read / write access.
_qDatabaseName | Name of database:
|
_qUserName | Name of the user |
_qPassword | Password for database read / write permissions |
|
slot |
Copy a dataset to another database.
_iSrcContentId | Primary key of the set to copy |
_qDstDatabaseName | Name of database:
|
_qDstUserName | Name of the user |
_qDstPassword | Password for database read / write permissions |
_irDstContentId | Returns the primary key of the set written |
|
slot |
Delete a dataset in database.
_iContentId | Primary key of the set to delete |
|
slot |
Common informations about a dataset.
_iContentId | Primary key of the set |
_irType | Returns the type of dataset
|
_qrCreated | Returns the datetime of creation, format YYYY-MM-DD HH:MM:SS |
_qrChanged | Returns the datetime of last change, format YYYY-MM-DD HH:MM:SS |
_qrUser | Returns the name of user, which has created the set |
_irImages | Returns the number of images of set |
_irCompressionMode | Returns the save mode of images:
|
_qImageDirectory | Returns the image directory, if images saved as files |
_qDescription | Returns the string meanwhile creation |
|
slot |
Get a list of datasets in the database.
_iTypeOfSets | Type of datasets, which should be reported:
|
_irNumber | Returns number of data sets found |
_qslContentIds | Returns a list with the primary keys of the sets found |
_qslTypes | Returns a list with the types of the sets found, see _iTypeOfSets |
|
slot |
Read a dataset from the database into LabSoft.
_iContentId | Primary key of the set to read |
|
slot |
Get informations about construction of the user table.
_irNumberEntries | Returns the number of entries = length of following lists |
_qslNameList | Returns a list with the names of the entries |
_qslCaptionList | Returns a list with the captions of the entries in a dialog |
_qslTypes | Returns a list with the types of the entries:
|
_qslDefaults | Returns a list of default values |
_qslComments | Returns a list of comments for every entry |
|
slot |
Read informations of a dataset from the user table.
_iContentId | Primary key of the set to read |
_qslNames | Names of the values to read. See iDatasetUserTableInfo() for the possible names. |
_qslValues | Returns values read. If the function is successfull, the number of values is equal the number of names. |
|
slot |
Write informations of a dataset into the user table.
_iContentId | Primary key of the set to change |
_qslNames | Names of the values to change. See iDatasetUserTableInfo() for the possible names. |
_qslValues | Values to set. |
|
slot |
Write a dataset from LabSoft to the database.
_iType | Type of dataset:
|
_qDescription | String meanwhile creation |
_irContentId | Returns the primary key of the set written |
|
slot |
Reset color factor set = set to default values.
Color factors sets are reachable within the program with "Capture | properties | Color factors | Change". See LabSoft manual chapter 5.3.1 "Color factors".
_iIndex | Index of set |
|
slot |
Delete an equation.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iEquation | Index of equation |
|
slot |
Ungroup action.
This operation ungroup some regions. The group is deleted, the regions itselfs not.
_iList | Index of region list |
_iRegionIndex | This group object |
|
slot |
Delete a region.
_iList | Index of region list |
_iIndex | Index of the region to delete |
|
slot |
Delete an existing statistic.
_iTyp | Index of statistic type |
_iObject | Index of object |
|
slot |
Close Excel program.
|
slot |
Copy one item to Excel.
_iIndex | Index of the entry |
|
slot |
Copy all selected items to Excel.
|
slot |
Get the informations about a data entry.
_iIndex | Index of the entry |
_irType | Returns type of entry. Possible values:
|
_qrName | Returns data name |
_qrSheet | Returns sheet name |
_irClear | Returns wether the sheet has to be cleared before export |
_qrRange | Returns position of upper left corner of data, e.g. "A1" |
_irSelected | Is item selected? |
|
slot |
Get number of data entries in Excel dialog.
_irNumber | returns the number of data entries |
|
slot |
Open an Excel file for data export.
_qFileName | Filename of Excel file |
|
slot |
Save Excel file.
|
slot |
Select all items in Excel dialog.
|
slot |
Set the informations about a data entry.
_iIndex | Index of the entry |
_qSheet | Change sheet name (don't change current value if empty string) |
_iClear | Should sheet be cleared before export?
|
_qRange | Change position on sheet (don't change current value if empty string) |
_iSelect | Should item be selected in dialog?
|
|
slot |
Change visbility of Excel program.
_iVisible | 0=invisible, 1=visible |
|
slot |
Unselect all items in Excel dialog.
|
slot |
Execute any menu items of the Lmk4 program.
You can call every menu item of the main menu, which is available at this time (some points could be hidden or disabled sometimes!). Please not, that some menu items open dialogues or message boxes!
_qMenuPoint | Wished menu item. For example starts "Capture|SinglePic" a Singlepic capture. The strings have to be written in the same way, as they are shown within the program. Because the menu strings are language dependend, you have to regard this. You can either always use the English strings or you can use the strings of the current language setting. For example in the german version the singlepic capture can also be called with "Aufnahme|SinglePic". |
|
slot |
Execute a TCL command by the embedded tcl interpreter.
_qCommand | Command to be executed |
_irReturn | Return value |
_qResult | Result string |
|
slot |
Export a bitmap of a image, graphic or diagram to a bitmap file.
bitmapName | Name of bitmap (see iBitmapGetList) |
fileName | Name of file (*.bmp, *.jpg) |
|
slot |
Get current aperture vaue.
value | Get current aperture value |
|
slot |
Get the results of an arc object in a grey image.
_iObject | Index of object |
_iClass | Index of class |
_drLength | Distance between the two end points of arc |
_drWidth | Width of arc |
_drDeflection | Deflection of arc |
_drAbsMax | Absolute maximum of luminance |
|
slot |
Get the values of the lightarc in a grey image.
The values are either sectional view or projection values.
_iObject | Index of object |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrY | y-coordinates |
_slrValues | Arc values |
|
slot |
Get the state of Automatic-Flag for exposure times.
If this flag is set, all exposure times will automatically adjusted if camera exposure time is reduced or enlarged.
_irAutomatic | Return value: 1=option is switched on, 0=option is switched off |
|
slot |
Get use of autoscan algorithm.
Is autoscan switched on?
_irAutoscan | =1 Autoscan is switched on, =0 Autoscan is switched of |
|
slot |
Returns path to current camera lens combination.
_qrCameraLensPath | path to current camera lens combination |
|
slot |
Read access to camera parameter.
_qParameterName | Name of parameter |
_qrParameterValue | Parameter value(s) as string |
The function is only available in TechnoTeam developer mode. The function fails if no camera is connected.
|
slot |
Get name and visibility of class.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class |
_qsClassName | Name of class |
_irVisible | Class visible in images, tables and diagrams |
|
slot |
Conversion of a color value from CIE-RGB to another color space.
The color value is given in CIE-RGB and is converted into a color value in the target color space. If there is a reference color needed for this color space, the reference color is also in CIE-RGB. If there is no reference color needed, the three variables can be set to zero.
The destination color space is given be the value of "_iColorSpace":
The three components of the destionation color are available in _iOutputColor after the function call returned.
_iInputR | Red component of input color |
_iInputG | Green component of input color |
_iInputB | Blue component of input color |
_iReferenceR | Red component of reference color |
_iReferenceG | Green component of reference color |
_iReferenceB | Blue component of reference color |
_iColorSpace | Wished destination color space |
_iOutputColor1 | First component of calculated color |
_iOutputColor2 | Second component of calculated color |
_iOutputColor3 | Third component of calculated color |
|
slot |
List of available color correction factors.
See dialog "Camera|Recalibration" in LabSoft main menu.
_qList | List of factors |
_qSelected | List with "0" for "no selected" and "1" for "selected" |
|
slot |
List of available color matrices.
See dialog "Camera|Recalibration" in LabSoft main menu.
_qList | List of matrices |
_iSelect | List with "0" for "no selected" and "1" for "selected" |
|
slot |
Get name of color factor set.
Color factors sets are reachable within the program with "Capture | properties | Color factors | Change". See LabSoft manual chapter 5.3.1 "Color factors".
_iIndex | Index of set |
_qrName | Name of color factor set |
|
slot |
Number of color factor sets.
Color factors sets are reachable within the program with "Capture | properties | Color factors | Change". See LabSoft manual chapter 5.3.1 "Color factors".
_irNumber | Number of color factor sets |
|
slot |
Get the values of the histogram in a color image.
The color space is always RGB.
_iObject | Index of object |
_iColor | Wished color [0...2] |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrValues | Histogram values |
|
slot |
Get the values of the projection in a color image.
_iObject | Index of object |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrY | y-coordinates |
_slrValues1 | Values of Color 1 |
_slrValues2 | Values of Color 2 |
_slrValues3 | Values of Color 3 |
|
slot |
Conversion of a color value from a color space to CIE-RGB.
The color value is given in a color space and is converted into a CIE-RGB value. If there is a reference color needed for this color space, the reference color is in CIE-RGB. If there is no reference color needed, the three variables can be set to zero.
The source color space is given be the value of "_iColorSpace":
_iColorSpace | Given source color space |
_dInput1 | First component of input color |
_dInput2 | Second component of input color |
_dInput3 | Third component of input color |
_dReferenceR | Red component of reference color in RGB |
_dReferenceG | Green component of reference color in RGB |
_dReferenceB | Blue component of reference color in RGB |
_dOutputColorR | Red component of calculated color |
_dOutputColorG | Green component of calculated color |
_dOutputColorB | Third component of calculated color |
|
slot |
Get the values of the sectional view in a color image.
The color space used is the same as in the image
_iObject | Index of object |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrY | y-coordinates |
_slrValues1 | Wished values of color 1 as string list |
_slrValues2 | Wished values of color 2 as string list |
_slrValues3 | Wished values of color 3 as string list |
|
slot |
Get converting informations.
See dialog "Camera|Recalibration" in LabSoft main menu.
_qName | Name used, default is "L" |
_qUnit | Unit used, default is "cd/m^2" |
_dFactor | Factor used, default is "1" |
|
slot |
Get the state of darkening computer monitor while capturing.
_iDarkening | 1=darkening monitor, 2=no darkening |
_iSwitchMonitorOff | 1=If darkening is wished, switch monitor off |
_dTimeOut | Wait time in seconds after switch off before start of capture |
|
slot |
Get an equation and its result.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iEquation | Index of equation |
_qsName | Name of equation |
_qsFormula | Formula to calculate |
_iWhereToShow | Where to show in result table |
_irValid | Valid result? |
_drResult | Result of calculation |
|
slot |
More precisely error description.
_rErrorInformation | String with error stack information |
|
slot |
Determine filter state.
If there is no filter wheel, the function returns of course an error code.
_irCurrentFilter | Position of filter wheel |
_srCurrentFilter | Name of current filter |
|
slot |
Get Flags for statistic evaluations.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irGeo | Calculate geometric center |
_irPhoto | Calculate photometric center |
_irMinMax | Calculate position of min max |
_irTime | Get time flags (OR combination of bits):
|
_irHorseshoe | Color diagram |
|
slot |
Get Flags for statistic evaluations.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irGeo | Calculate geometric center |
_irPhoto | Calculate photometric center |
_irMinMax | Calculate position of min max |
_irTime | Get time flags (OR combination of bits):
|
_irMaxCountTime | Maximum number of time statistic values |
_irHorseshoe | Color diagram |
|
slot |
Get current focus position.
value | Current focus position in percent |
|
slot |
List of available focus factors.
See dialog "Camera|Recalibration" in LabSoft main menu.
_qList | List of factors |
_iSelect | Index of currently used factor, indexes begin with "0" |
|
slot |
Get parameter for autofocus.
subsampling | Subsampling of camera image, possible values are 1, 2 and 4 |
top | First row of region |
bottom | Last row of region |
left | First column of region |
right | Last column of region |
|
slot |
Get geometric center of object or class.
Geometric calculation flag has to be set before.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_drX | x-coordinate of center |
_drY | y-coordinate of center |
|
slot |
List of available grey filters.
See dialog "Camera|Recalibration" in LabSoft main menu.
_qList | List of filters |
_qSelected | List with "0" for "no selected" and "1" for "selected" |
|
slot |
Get the values of the histogram in a grey image.
_iObject | Index of object |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrValues | Histogram values |
|
slot |
Get the values of the projection in a grey image.
_iObject | Index of object |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrY | y-coordinates |
_slrValues | Values |
|
slot |
Get the values of the sectional view in a grey image.
_iObject | Index of object |
_irNumber | Number of values |
_slrX | x-coordinates |
_slrY | y-coordinates |
_slValues | Wished values as string list |
|
slot |
Get information of last capture to this image.
_iImage | Index of image |
_irHaveParam | 1=Have param, 0=have not |
_qslParamNames | List of parameter names |
_qslParamValues | List of associated values |
|
slot |
Determines the name of an image.
See also comment on function iGetPermanentImageName(). See also iSetImageName().
_iImageIndex | -3 for camera image, -2 for luminance image, -1 for color image, from 0 on for evaluation images |
_qsImageName | Return value = wished image name |
|
slot |
Get index of image given image name.
_qName | Name of image |
_irIndex | Index of image
|
|
slot |
Get index of region given region name.
_iList | Input: Index of region list (same as image index) |
_qName | Input: Name of region |
_irIndex | Output: Index of this region |
|
slot |
Determine current exposure time and other time parameters.
_drCurrentTime | Current integration time |
_drPreviousTime | Next smaller (proposed) time |
_drNextTime | Next larger (proposed) time |
_drMinTime | Minimal possible time |
_drMaxTime | Maximal possible time |
|
slot |
Get ID of lens.
lensID | returns the ID of the lens |
|
slot |
Determine the maximum possible exposure time.
Normally this time is restricted by camera properties. In some cases it could be usefull to use an even smaller maximum exposure time.
_drMaxCameraTime | Maximum time is currently? |
|
slot |
Get range of aperture values.
minimum | smallest available aperture value |
maximum | largest available aperture value |
|
slot |
Get photometric center of object or class.
Photometric calculation flag has to be set before.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_drMinX | x-coordinate of minimum |
_drMinY | y-coordinate of minimum |
_drMinV | Value of minimum |
_drMaxX | x-coordinate of maximum |
_drMaxY | y-coordinate of maximum |
_drMaxV | Value of maximum |
|
slot |
Get the modulation frequency.
_drModFrequency | Frequency of light source. 0 if no modulation is to be concerend |
|
slot |
Determine number of evaluation images.
_irNumber | Current number of evaluation images |
|
slot |
Get the number of classes.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irNumClasses | Number of classes |
|
slot |
Get the number of line equations.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irNumEquations | Number of equations |
|
slot |
Determines the name of an image.
The difference between this function and iGetImageName() is, that the previous function gives language dependent image names in the case of camera, luminance and color images. In these cases iGetPermanentImageName() gives always the same names: "_CAMPIC_", "_LUMIC_" and "_COLPIC_". If you plan to use the LabSoft either in german or in english you should prefer iGetPermanentImageName() instead of iGetImageName() to avoid mistakes.
_iImageIndex | -3 for camera image, -2 for luminance image, -1 for color image, from 0 on for evaluation images |
_qsImageName | Return value = wished image name |
|
slot |
Get photometric center of object or class.
Photometric calculation flag has to be set before.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_drX | x-coordinate of center |
_drY | y-coordinate of center |
|
slot |
Read position of region name.
list | Index of region list |
index | Index of the region |
position | return position of region name
|
|
slot |
Get some information about program version and camera current used.
_qrProgramType | Type of program version |
_qrProgramVersion | Number of program version |
_qrCameraType | Type of camera |
_qrCameraNumber | Number of camera |
_qrLensNumber | Number of lens |
|
slot |
Get the properties of a region.
_iList | Index of region list |
_iIndex | Index of the region |
_irType | Type? |
_irPoints | Point number? |
_slX | x-coordinates? |
_slY | y-coordinates? |
|
slot |
Get the results of an quantile object in a grey image.
_iObject | Index of object |
_drQuantile1 | Value of Quantile 1 |
_drQuantile2 | Value of Quantile 2 |
_drQuantile3 | Value of Quantile 3 |
|
slot |
Get current focus position.
value | Current focus position absolute |
|
slot |
Get range of focus values.
minimum | smallest available focus value |
maximum | largest available focus value |
|
slot |
Get recalibration factor.
See dialog "Camera|Recalibration" in LabSoft main menu.
_dFactor | Factor currently used, default is "1" |
|
slot |
Determine the number of regions in a list.
_iList | Index of region list |
_irSize | Number of regions within |
|
slot |
Read region name.
_iList | Index of region list |
_iIndex | Index of the region |
_qrName | Name |
|
slot |
Is scattered light correction switched on?
_irScatteredLight | =0 Switch on of scattered light correction, =1 switch on. |
|
slot |
Index of current image on top.
image | Index of selected image |
|
slot |
Get the parameter for smear correction.
_irSmear | 0 means no smear correction, otherwise smear correction with at least 10 dark images captured. >10 number of dark images. |
|
slot |
Determine parameter of the standard statistic.
Standard statistic is calculated in nearly all statistic types in the same way like in the standard statistic type itself.
_iStatistic | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_irSize | Pixel number? |
_drMin | Minimum is? |
_drMax | Maximum is? |
_drMean | Mean value is? |
_drVar | Variance is? |
|
slot |
Determine parameter of the standard statistic.
Standard statistic is calculated in nearly all statistic types in the same way like in the standard statistic type itself.
_iStatistic | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_drArea | Area is? |
_drMin | Minimum is? |
_drMax | Maximum is? |
_drMean | Mean value is? |
_drVar | Variance is? |
|
slot |
Determine image and region a statistic object is calculated for.
The index of the image and the index of the region list are always identical.
_iStatistic | Index of statistic type |
_iObject | Index of object |
_iImage | Image number is? -3,...,N |
_iRegion | Region number is? |
|
slot |
Read the parameters of a statistic.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irNumberParam | Get number of parameters |
_slrParamList | Get parameter list |
|
slot |
Determine number of objects in a statistic vector.
_iStatistic | Index of statistic type |
_irSize | Size is? |
|
slot |
Get the state of suppress overflow warning in measurement series.
_irSuppress | Return value: 1=suppress warning, 0=allow warning |
|
slot |
Get the state of suppressing view of progress dialog.
_irSuppress | Return value: 1=Dialog is hided, 0=Dialog is shown |
|
slot |
Number of elements of a time statistics.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irSize | Number of elements |
|
slot |
Summary of a time statistics.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_iWhichEl | For which element summary is needed: -0 number of pixels -1 mean values -2 variances -3 minima -4 maxima |
_irCount | Number of time values |
_drMin | Minimum |
_drMax | Maximum |
_drMean | Mean |
_drVar | Variance |
|
slot |
List of time statistic times and values.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class or color |
_iWhichEl | For which element summary is needed: -0 number of pixels -1 mean values -2 variances -3 minima -4 maxima |
_qslTime | List of times |
_qslValues | List of values |
|
slot |
Is trigger mode switched on or off for Lmk6 camera?
type | - 0 No trigger
|
|
slot |
Get common trigger parameter for Lmk6 camera.
timeout | Timout in seconds (external and image trigger) |
capturedistance | Distance between captures in seconds (internal trigger) |
exposuredelay | Delay between trigger signal and exposure in seconds |
triggerhigh | = 1 rising edge of trigger signal, = 0 alling edge of trigger signal |
strobehigh | = 1 rising edge of strobe signal, = 0 alling edge of strobe signal |
|
slot |
Get image trigger parameter for Lmk6 camera.
top | top edge of region in the image to detect image trigger |
bottom | bottom edge of region in the image to detect image trigger |
left | left edge of region in the image to detect image trigger |
right | right edge of region in the image to detect image trigger |
reserved | Parameter is currently not used |
level | Grey threshold for image trigger in camera image. |
exposure | Exposure time for image trigger (it is different fom normal exposure time) |
|
slot |
Is trigger mode switched on?
This function is not useable for Lmk6 cameras (TTQ, TTS, TTT, ...)
_irTriggerMode | =1 Switch trigger mode on, =0 switch off |
_drTimeout | Timeout in seconds in trigger mode |
|
slot |
Get strobe trigger parameter for Lmk6 camera.
parametrizable | = 0, strobe signal while capture is running, = 1 parametrizable strobe signal |
delay | Delay between exposure and strobe signal in seconds |
duration | Duration of strobe signal in seconds |
|
slot |
Get index of used palette.
The function is only available for grey scale images.
image | Index of image (-3, ..., number of evaluation images - 1) |
palette | Returns index of the used palette:
|
|
slot |
Get used scaling of image view.
image | Index of image (-3, ..., number of evaluation images - 1) |
scaling | Returns decades of scaling:
|
minimum | Returns minimum of scaling (valid only for linear scaling) |
maximum | Returns maximum of scaling |
If minimum = maximum = 0 then automatic scaling.
|
slot |
Get used scaling rectangle of image view.
image | Index of image (-3, ..., number of evaluation images - 1) |
top | Returns upper border of scaling rect |
bottom | Returns lower border of scaling rect |
left | Returns left border of scaling rect |
right | Returns right border of scaling rect |
If top = bottom = left = right = 0 then whole image.
|
slot |
Get current zooming parameters.
image | Index of image (-3, ..., number of evaluation images - 1) |
zoom | Returns current zooming factor (0.02 .... 50.0) |
top | Returns upper border |
left | Returns left border |
If zoom = 0 then always show whole image.
|
slot |
Capturing of a camera image
|
slot |
Controllable lens connected ?
have | 1 = available, 0 = not available |
|
slot |
Proof, if a statistic exists for a image / region / statistic type.
_iImage | Image |
_iRegion | Index of region in this image |
_irHave | Statistic object available? |
_irType | Of which type? |
_irIndex | Index in statistic list? |
|
slot |
HighDyn-Leuchtdichtebild-Aufnahme.
_dMaxTime | Largest exposure time |
_dMinTime | Smallest exposure time (proposal: 0.0) |
_dFactor | Factor between two times (proposal 3.0) |
_iSmear | Number of smear images (0=no smear correction) |
_dModFrequency | Modulation frequency (0=no modulation) |
|
slot |
HighDyn capturing for luminance image.
_dMaxTime | Largest exposure time |
_dMinTime | Smallest exposure time (proposal: 0.0) |
_dFactor | Factor between two times (proposal 3.0) |
_iPicCount | Number of shots per integration time |
|
slot |
HighDyn capturing for luminance image.
_dExposureTime | Exposure time (like in multipic algorithm). |
_dStartRatio | Exposure time is multiplied with this parameter to determine the longest exposure time. The default value for this parameter should be 10. |
_dFactor | The exposure time is decreased by this factor until there is no overdrive in the images captured. Proposal: 3.0 |
_iCountPic | Number of captures for every exposure time. |
|
slot |
Creates an evaluation image.
The image gets the size of the previous image (luminance image or previous evaluation image).
_iColorImage | 0=Grey image, 1=Color image |
_qImageName | Wished image name |
_irIndex | Index of the image created |
|
slot |
|
slot |
Get a memory dump of a image region into a file.
The pixels themselves are float values (4 bytes per value) line by line. In the case of a color image the color values of every pixel are subsequently (blue - green - red).
_iImage | Index of image |
_iFirstLine | First wished image line of dump |
_iLastLine | Last wished image line of dump |
_iFirstColumn | First wished image column of dump |
_iLastColumn | Last wished image column of dump |
_FileName | Copy image there |
The size of the dump is (_iLastLine - _iFirstLine ) * (_iLastColumn - _iFirstColumn + 1 ) * 4 bytes in the case of a grey image. The dump of a color image is three times larger.
If the coordinates of the lines and columns are outside the image, the function returnes an error.
|
slot |
Get a memory dump of a image region into memory.
The pixels themselves are float values (4 bytes per value) line by line. In the case of a color image the color values of every pixel are subsequently (blue - green - red).
_iImage | Index of image |
_iFirstLine | First wished image line of dump |
_iLastLine | Last wished image line of dump |
_iFirstColumn | First wished image column of dump |
_iLastColumn | Last wished image column of dump |
_rDump | Copy image there |
The size of the dump is (_iLastLine - _iFirstLine ) * (_iLastColumn - _iFirstColumn + 1 ) * 4 bytes in the case of a grey image. The dump of a color image is three times larger.
If the coordinates of the lines and columns are outside the image, the function returnes an error.
|
slot |
Get a pixel value of a color image.
_iImage | Index of image |
_iLine | Line index |
_iColumn | Column index |
_drRed | Gets the red component of the pixel value |
_drGreen | Gets the green component of the pixel value |
_drBlue | Gets the blue component of the pixel value |
The function returns an error if the pixel position is outside or the image is a color image.
|
slot |
Get a pixel value of a grey image.
_iImage | Index of image |
_iLine | Line index |
_iColumn | Column index |
_drValue | Gets the pixel value |
The function returns an error if the pixel position is outside or the image is a color image.
|
slot |
Get the reference color of an image.
_iImage | Index of the image |
_drRed | Returns red component of reference color |
_drGreen | Returns green component of reference color |
_drBlue | Returns blue component of reference color |
|
slot |
Get image size and parameter.
These informations are needed for the other access functions. See also iImageSetSize().
_iImage | Index of image to inform about |
_irFirstLine | Gets the index of the first line |
_irLastLine | Gets the index of the last line |
_irFirstColumn | Gets the index of the first column |
_irLastColumn | Gets the index of the last column |
_irDimensions | 1 in case of grey images, 3 in case of color images |
The number of lines is _irLastLine - _irFirstLine + 1. The number of columns is _irLastColumn - _irFirstColumn + 1.
|
slot |
Set the reference color of an image.
_iImage | Index of the image |
_dRed | Red component of reference color |
_dGreen | Green component of reference color |
_dBlue | Blue component of reference color |
|
slot |
Changes the size of an existing image.
See also iImageGetSize().
_iIndex | Index of the image |
_iFirstLine | Wished first line |
_iLastLine | Wished last line |
_iFirstColumn | Wished first column |
_iLastColumn | Wished last column |
|
slot |
Import a HDF5 protocol.
_qPathName | Load from this file. File extension: ".h5" |
|
slot |
Application is running?
|
slot |
Is a region selected?
_iList | Index of region list |
_iRegion | Index of region |
_irIsSelected | Selected? |
|
slot |
Which trigger modi for Lmk6 camera are available?
interntrigger | Is intern trigger mode avaiable? |
externtrigger | Is extern trigger mode avaiable? |
imagetrigger | Is image trigger mode avaiable? |
See LabSoft handbook how trigger modi are made available.
|
slot |
Set angle area from image coordinate system.
|
slot |
Set angle area from selected rectangle coordinate system.
|
slot |
Closes dialog for LID export into a file.
|
slot |
Export of LID into a file.
The file extension determines the file format:
_qFileName | File name for export of data |
|
slot |
Get current angle area from dialog
_dThetaTop | Minimum theta angle |
_dThetaBottom | Maximum theta angle |
_dThetaDelta | Steps in theta direction |
_dPhiMin | Minimum phi angle |
_dPhiMax | Maximum phi angle |
_dPhiDelta | Steps in phi direction |
|
slot |
Select angle area for export file.
Be careful: The meaning of _dThetaTop and _dThetaBottom varies in dependency of the used coordinate system "A" or "C".
_dThetaTop | Minimum theta angle |
_dThetaBottom | Maximum theta angle |
_dThetaDelta | Steps in theta direction |
_dPhiMin | Minimum phi angle |
_dPhiMax | Maximum phi angle |
_dPhiDelta | Steps in phi direction |
|
slot |
Types of coordinate system orientation used.
_qSrcCoordSystem | Type of source coordinate system (A or C) |
_qDstCoordSystem | Type of target coordinate system (A or C) |
|
slot |
Descriptions for export file.
All strings are free chooseable, no special content is needed
_qDescription | Description string |
_qNumber | Number of test |
_qLaboratory | Laboratory |
_qManufactory | Manufacturer |
_qUserName | User name |
|
slot |
Select image for export
_qImageName | Name of LID image to export. |
|
slot |
Modification of origin of coordinate system.
_dThetaDiff | Modification in theta |
_iThetaSign | Orientation in theta |
_dPhiDiff | Modification in phi |
_iPhiSign | Orientation in phi |
|
slot |
Parameters for export file.
All values are free chooseable, no special content is needed
_dTemperatur | Temperature |
_dWattage | Wattage |
_dVoltage | Voltage |
_dCurrent | Current |
_dLightFlux | Lightflux |
|
slot |
Closes LID dialog.
|
slot |
Executes a LID calculation with one of the parameter set.
_iIndex | use this data set in calculation |
|
slot |
Get number of available parameter set in LID calculation dialog.
_iCount | Return number of data sets |
|
slot |
Get name of a parameter set in LID calculation dialog.
_iIndex | for this index of data set |
_qParamName | return name of data set |
|
slot |
Captures a big LID image out of several images.
_iLIDIndex | Index of LID transformation dataset (0 indexed) |
_dPhiMin | Field of view of the result merged LID image - PhiMin |
_dPhiMax | Field of view of the result merged LID image - PhiMax |
_dPhiStep | Field of view of the result merged LID image - PhiStep |
_dThetaMin | Field of view of the result merged LID image - ThetaMin |
_dThetaMax | Field of view of the result merged LID image - ThetaMax |
_dThetaStep | Field of view of the result merged LID image - ThetaStep |
_iShowPositioningMessageBoxes | GUI messageboxes for desired positions (0= dont show; 1= show) |
|
slot |
Opens dialog for LID calculation.
_qFileName | Path and name of lid2.ini |
|
slot |
Load predefined parameter set for the next captures.
Possible parameter sets can defined via the menu point "Capture | properties". Make all your decisions there and save the parameter set via the button "Save" in this dialog. This predefined parameter sets can then be used in the function iLoadCaptureParameterSet().
Loading and saving of capture parameter sets is described in the manual in the section "Capturing images | Capture parameterization". See at the end of this section the subsection "Loading and saving capture parameters".
_qParameterSet | The name of the parameter set. |
|
slot |
Load image.
Attention while loading into camera image: The size of this image can not be changed in the program.
_iNumber | Index of image to load |
_qFileName | Source file name |
|
slot |
Load iso color palette from a file.
The function is only available for grey scale images.
image | Index of image (-3, ..., number of evaluation images - 1) |
filename | Load palette values from there |
|
slot |
Load a protocol from a file.
_qPathName | Load from this file. File extension: ".ttcs" |
|
slot |
Load region list.
The same file formats (csv, txt) available like in menu point "Regions | Load | *".
_iList | Index of region list |
_qFileName | Destination file name |
_iOverwrite | Overwrite existing regions, otherwise append. |
|
slot |
Load region list in units of coordinate system.
The same file formats (csv, txt) available like in menu point "Regions | Load | *".
_iList | Index of region list |
_qFileName | Destination file name |
_iOverwrite | Overwrite existing regions, otherwise append. |
|
slot |
Load iso color palette from a file.
The function is only available for grey scale images.
image | Index of image (-3, ..., number of evaluation images - 1) |
filename | Load palette values from there |
|
slot |
Image arithmetic with one source image and one destination image.
_qCode | Operation code, see table |
_iSrcImage | Index of source image |
_iDstImage | Index of destination image |
|
slot |
Image arithmetic with two source images and one destination image.
_qCode | Operation code, see table |
_iSrcImage1 | Index of first source image |
_iSrcImage2 | Index of second source image |
_iDstImage | Index of destination image |
|
slot |
Image arithmetic with one source image, one parameter and one destination image.
_qCode | Operation code, see table |
_iSrcImage | Index of source image |
_qParameter | Parameter of algorithm |
_iDstImage | Index of destination image |
|
slot |
Image arithmetic with one source image, three color parameter and one destination image.
_qCode | Operation code, see table |
_iSrcImage | Index of source image |
_qRed | Parameter of algorithm |
_qGreen | Parameter of algorithm |
_qBlue | Parameter of algorithm |
_iDstImage | Index of destination image |
|
slot |
Closes the dialog for Matrix module measurements.
|
slot |
Executes calculation with the current parameter set.
The parameter set can be previously loaded with iMatrixModuleReadParameter().
|
slot |
Opens the dialog for Matrix module measurements.
|
slot |
Load a parameter set (*.ini format)
The parameter file should be previously saved after interactively teaching in the dialog itself.
filename | Name of the parameter file to be loaded |
|
slot |
Writes a result file (*.csv format)
The file format is a simple CSV file which contains the data tables, calculated by iMatrixModuleExecute().
filename | name of the file |
|
slot |
Create a color image from color extracts.
_iSrcGreyImage1 | Index of source grey image 1 or less then -3 if not used |
_iSrcGreyImage2 | Index of source grey image 2 or less then -3 if not used |
_iSrcGreyImage3 | Index of source grey image 3 or less then -3 if not used |
_iDstColorImage | Index of target color image |
_iColorSpace | Color space, see iGetColor() for definitions |
|
slot |
Close axes access.
After this function access th axes is no longer allowed
|
slot |
Get names, min and max of an axis.
index | Input index of wished axis |
name | Returns name of axis |
minposition | Returns minimum position of axis |
normposition | Returns normal position of axis |
maxposition | Returns maximum position of axis |
minspeed | Returns minimum speed of axis |
normspeed | Returns normal speed of axis |
maxspeed | Returns maximum speed of axis |
|
slot |
Get position of an axis.
index | Input index of wished axis |
position | Returns current position |
|
slot |
Get speed of an axis.
index | Input index of wished axis |
speed | Returns speed currently set |
|
slot |
Is the axis moving?
index | Input index of wished axis |
moving | Returns: 0 = axis is stopped, 1 = axis is moving |
|
slot |
Get number of axes.
number | Returns number of axes (all other functions use index = 0...numbers-1) |
|
slot |
Initialisation of all axes.
Iinitialize all axes (possible after iMotor_ReadIni())
|
slot |
Read of ini file with information about the axes.
filename | Full path name of initialization file (in "Motors" directory of LabSoft installation) |
|
slot |
Set position of an axis (axis begin to move)
index | Input index of wished axis |
position | Input wished position (axis is immediatelymoving afterwards!) |
|
slot |
Set speed of an axis.
index | Input index of wished axis |
speed | Input wished speed |
|
slot |
Move a region the wished distance.
_iList | Index of region list |
_iRegionIndex | This region |
_dX | Move in x direction in the associated coordinate system |
_dY | Move in x direction in the associated coordinate system |
|
slot |
MultiPic capture algorithm.
_dExposureTime | Exposure time to use |
_iCountPic | Number of camera images |
_iSmear | Number of smear images (0=no smear correction) |
_dModFrequency | Modulation frequency (0=no modulation) |
|
slot |
MultiPic capture algorithm.
_dExposureTime | Exposure time to use |
_iCountPic | Number of camera images |
|
slot |
Opens the Lmk4 application.
After opening, the main window is visible.
|
slot |
Open register file.
_qFileName | File name |
_iMode | Open Mode |
|
slot |
Open register map file.
_qFileName | File name |
|
slot |
Take the statistic parameter of one object over to another.
From this time on the two objects use the same set of statistic parameter. The second object get the parameter of the first one. The previous parameter set of the second object will be deleted.
_iType | Index of statistic type |
_iFirstIndex | Index of first object |
_iSecondIndex | Index of second object |
|
slot |
Separate the statistic parameter set of one object.
From this time this statistic object has its one parameter set.
_iType | Index of statistic type |
_iIndex | Index of object |
|
slot |
Get the name of a parameter set.
If two objects have the same name of their parameter set, they use the same parameters. This function is usefull, if someone wants to use the two functions iParamStatistics_Connect() and iParamStatistics_Disconnect().
_iType | Index of statistic type |
_iIndex | Index of object |
_qsName | Current name of parameter set |
|
slot |
Set the name of a parameter set.
The name of the set have to be different from all existing.
_iType | Index of statistic type |
_iIndex | Index of object |
_qsNewName | Wished name of parameter set |
|
slot |
Get flags for Pixel crosstalk measurement.
createTemplate | If set, the automatic measurement creates the needed images via template generator |
darkCapture | If set, the algorithm takes a capture of dark image |
pixelCapture | If set, the algorithm takes one or more captures of images with pixels set to red, green, blue or white) |
red | For pixel capture: One capture with red pixels set? |
green | For pixel capture: One capture with green pixels set? |
blue | For pixel capture: One capture with blue pixels set? |
white | For pixel capture: One capture with white pixels set? |
|
slot |
Load dark image from file.
filename | Read image from this file |
|
slot |
Load parameters set from *.ini file.
filename | Read parameters from this *.ini file |
|
slot |
Load pixel image from file.
filename | Read image from this file |
|
slot |
Save parameters set to *.ini file.
filename | Write parameters to this *.ini file |
|
slot |
Set flags for Pixel crosstalk measurement.
createTemplate | If set, the automatic measurement creates the needed images via template generator |
darkCapture | If set, the algorithm takes a capture of dark image |
pixelCapture | If set, the algorithm takes one or more captures of images with pixels set to red, green, blue or white) |
red | For pixel capture: One capture with red pixels set? |
green | For pixel capture: One capture with green pixels set? |
blue | For pixel capture: One capture with blue pixels set? |
white | For pixel capture: One capture with white pixels set? |
|
slot |
classic Ping, return 27
|
slot |
Projective rectification of an image.
srcimage | Index of the source image |
parameterfile | Name of file in *.prorect format |
dstimage | Index of the target image |
|
slot |
Read a string from the status line of the program.
_qMessage | Current message shown |
|
slot |
Read list of entries in a section of an inifile.
_qFileName | Inifile name |
_qSection | Section name |
_qslEntries | List of entries in the section |
|
slot |
Read value of an entry in a section of an inifile.
_qFileName | Inifile name |
_qSection | Section name |
_qEntry | Entry name |
_qDefault | Default value if not found |
_qValue | Current value of entry |
|
slot |
Read list of sections in an inifile.
_qFileName | Inifile name |
_qslSections | List of sections in inifile |
|
slot |
Read physical register of camera.
_iRegister | Number of register |
_irValue | Write there value |
|
slot |
read register value
_qRegisterName | Register name |
_irValue | Value |
|
slot |
Make autofocus procedure in a small range around the last good value.
sharpness | Value of sharpness, the higher, the better |
edge | Mean edge quality in percent (Maximum = 100%) |
|
slot |
Reset a time statistic.
_iTyp | Index of statistic type |
_iObject | Index of object, -1 for all of this type |
|
slot |
Save color factors file to use at next program start.
Color factors sets are reachable within the program with "Capture | properties | Color factors | Change". See LabSoft manual chapter 5.3.1 "Color factors".
After changing one color factor set the values are not saved to file. It can be done afterwards with this function.
|
slot |
Save image.
The function overwrites an existing file.
_iNumber | Index of image to save |
_qFileName | Destination file name |
|
slot |
Save image region.
The function overwrites an existing file. The region is determined by the index of a rectangular region in the image region list.
_iImage | Index of image to save |
_iRegion | Index of region to save |
_qFileName | Destination file name |
|
slot |
Save a protocol into a file.
_qPathName | Save into this file. File extension: ".ttcs" |
|
slot |
Save region list.
The same file formats (csv, txt) available like in menu point "Regions | Save as".
_iList | Index of region list |
_qFileName | Destination file name |
_iOverwrite | Overwrite existing file? |
|
slot |
Save region list in units of coordinate system.
The same file formats (csv, txt) available like in menu point "Regions | Save as".
_iList | Index of region list |
_qFileName | Destination file name |
_iOverwrite | Overwrite existing file? |
|
slot |
Bring image to front in LabSoft.
_iIndex | Index of image (-3, ..., number of evaluation images - 1) |
|
slot |
Selects or deselects a region.
_iList | Index of region list |
_iRegion | Index of region |
_iSelected | Select or deselect! |
|
slot |
Set aperture value.
value | Set new aperture value |
|
slot |
Set Automatic-Flag for all exposure times.
If this flag is set, all exposure times will automatically adjusted if camera exposure time is reduced or enlarged.
_iAutomatic | 1=switch option on, 0=switch option off |
|
slot |
Set use of autoscan algorithm.
Determination of a good exposure time before the capturing algorithm.
_iAutoscan | =1 Use autoscan, =0 do not use |
|
slot |
Write access to camera parameter.
_qParameterName | Name of parameter |
_qrParameterValue | Parameter value(s) as string |
The function is only available in TechnoTeam developer mode. The function fails if no camera is connected.
|
slot |
Set name and visibility of class.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iClass | Index of class |
_qsClassName | Name of class |
_iVisible | Class visible in images, tables and diagrams |
|
slot |
Selection of a color correction factor.
_iIndex | Index of factor, indexes begin with "0" |
_iSelect | Select (1) or unselect (0) this factor |
|
slot |
Set a color matrix.
See dialog "Camera|Recalibration" in LabSoft main menu.
_iIndex | Index of color matrix, indexes begin with "0" |
|
slot |
Set new converting values.
See dialog "Camera|Recalibration" in LabSoft main menu.
_qName | wished Name |
_qUnit | wished Unit |
_dFactor | wished factor |
|
slot |
Darkening computer monitor while capturing.
_iDarkening | 1=darkening monitor, 2=no darkening |
_iSwitchMonitorOff | 1=If darkening is wished, switch monitor off |
_dTimeOut | Wait time in seconds after switch off before start of capture |
|
slot |
Set new filter position.
_iCurrentFilter | Wished new position |
|
slot |
Set Flags for statistic evaluations.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iGeo | Calculate geometric center |
_iPhoto | Calculate photometric center |
_iMinMax | Calculate position of min max |
_iTime | Get time flags (OR combination of bits):
|
_iHorseshoe | Color diagram |
|
slot |
Set Flags for statistic evaluations.
_iTyp | Index of statistic type |
_iObject | Index of object |
_iGeo | Calculate geometric center |
_iPhoto | Calculate photometric center |
_iMinMax | Calculate position of min max |
_iTime | Get time flags (OR combination of bits):
|
_iMaxCountTime | Maximum number of time statistic values. |
_iHorseshoe | Color diagram |
|
slot |
Set focus position.
value | Required focus position in percent |
|
slot |
Set a focus factor.
See dialog "Camera|Recalibration" in LabSoft main menu.
_iIndex | Index of factor, indexes begin with "0" |
|
slot |
Set parameter for autofocus.
subsampling | Subsampling of camera image, possible values are 1, 2 and 4 |
top | First row of region |
bottom | Last row of region |
left | First column of region |
right | Last column of region |
|
slot |
Selection of a grey filter.
_iIndex | Index of filter, indexes begin with "0" |
_iSelect | Select (1) or unselect (0) this grey filter |
|
slot |
Set grey filters.
See function iGetGreyFilterList(). In this function the program returns a list of the available grey filters and wether they are switched on or off. Use this function to get the appropriate list size.
_qSelected | List with "0" for "no selected" and "1" for "selected" |
|
slot |
Changes the name of an image.
See also iGetImageName().
_iIndex | Index of the image |
_qName | Wished name of image |
|
slot |
Set new exposure time.
_dWishedTime | Wished integration time |
_drRealizedTime | Realized integration time |
|
slot |
Set the maximum possible exposure time.
The maximum values is of course restricted by camera properties. But you can use an even smaller time to avoid to long meausrement times.
_dMaxCameraTime | Wished value |
|
slot |
Set the frequency of modulated light.
If the light source is driven by alternating current, there are some restriction for the exposure times. Please inform the program about the modulation frequency.
_dModFrequency | Frequency of light source. 0 if no modulation is to be concerend |
|
slot |
Set new camera calibration data.
_qPathToLens | Path to the camera calibration data. More exactly spoken path to the lens sub directory. After calling this function the camera is completely reinitialized. |
If the string is empty a currently existing camera connection is finished.
|
slot |
Set new camera calibration data.
_qNameCamera | Name of camera, for example "dxm2150" |
_qNameLens | Name of lens, for example "oC202564f50" If both strings are empty, a currently existing camera connection is finished. |
|
slot |
Write position of region name.
list | Index of region list |
index | Index of the region |
position | return position of region name
|
|
slot |
Set focus position.
value | Required focus position absolute |
|
slot |
Set recalibration factor.
See dialog "Camera|Recalibration" in LabSoft main menu.
_dFactor | Factor wished |
|
slot |
Change region name.
_iList | Index of region list |
_iIndex | Index of the region |
_qrName | Name |
|
slot |
Use of scattered light correction.
Only useable, if a parameter set is available in program
_iScatteredLight | =0 Switch on of scattered light correction, =1 switch on. |
|
slot |
Set the parameter for smear correction.
_iSmear | 0 means no smear correction, otherwise smear correction with at least 10 dark images captured. >10 number of dark images. |
|
slot |
Change the parameters of a statistic.
_iTyp | Index of statistic type |
_iObject | Index of object |
_irNumberParam | Number of parameters for this statistic |
_slrParamList | List of parameters for this statistic |
|
slot |
Suppress overflow warning in measurement series.
_iSuppress | 1=suppress warning, 0=allow warning |
|
slot |
Suppress view of progress dialog while capturing an luminance or color image.
_iSuppress | 1=Dialog is hided, 0=Dialog is shown |
|
slot |
Switch trigger mode on or off for Lmk6 camera.
type | - 0 No trigger
|
|
slot |
Set common trigger parameter for Lmk6 camera.
timeout | Timout in seconds (external and image trigger) |
capturedistance | Distance between captures in seconds (internal trigger) |
exposuredelay | Delay between trigger signal and exposure in seconds |
triggerhigh | = 1 rising edge of trigger signal, = 0 alling edge of trigger signal |
strobehigh | = 1 rising edge of strobe signal, = 0 alling edge of strobe signal |
|
slot |
Set image trigger parameter for Lmk6 camera.
top | top edge of region in the image to detect image trigger |
bottom | bottom edge of region in the image to detect image trigger |
left | left edge of region in the image to detect image trigger |
right | right edge of region in the image to detect image trigger |
reserved | Parameter is currently not used |
level | Grey threshold for image trigger in camera image. |
exposure | Exposure time for image trigger (it is different fom normal exposure time) |
|
slot |
Switch on or off triggered mode of capturing.
This mode is only usefull, if
_iTriggerMode | =1 Switch trigger mode on, =0 switch off |
_dTimeout | Timeout in seconds in trigger mode |
|
slot |
Set strobe trigger parameter for Lmk6 camera.
parametrizable | = 0, strobe signal while capture is running, = 1 parametrizable strobe signal |
delay | Delay between exposure and strobe signal in seconds |
duration | Duration of strobe signal in seconds |
|
slot |
Change color palette.
The function is only available for grey scale images.
image | Index of image (-3, ..., number of evaluation images - 1) |
palette | Index of the new palette, see iGetViewPalette() for possible values |
|
slot |
Set new scaling of image view.
image | Index of image (-3, ..., number of evaluation images - 1) |
scaling | Returns decades of scaling:
|
minimum | Minimum of scaling (valid only for linear scaling) |
maximum | Maximum of scaling |
If minimum = maximum = 0 then automatic scaling.
|
slot |
Set new scaling rectangle of image view.
image | Index of image (-3, ..., number of evaluation images - 1) |
top | Upper border of scaling rect |
bottom | Lower border of scaling rect |
left | Left border of scaling rect |
right | Right border of scaling rect |
If top = bottom = left = right = 0 then whole image.
|
slot |
Set new zooming parameters.
image | Index of image (-3, ..., number of evaluation images - 1) |
zoom | New zooming factor (0.0, 0.02 .... 50.0) |
top | New upper border |
left | New left border |
If zoom = 0 then always show whole image. If the coordinates outside the image, then they will be corrected.
|
slot |
Change visibility of the program.
_iShowStatus | - 0 hide(), better use 2=showMinimized instead
|
|
slot |
Get image saving parameters.
saveImages | Save images? |
directoryName | Directory to save image |
|
slot |
Get schedule of measurement.
rollingTime | Pattern rolling time in seconds |
burnInTime | BurnIn time in seconds |
relaxationTime | Relaxation time in seconds |
firstTriggered | First image triggered |
corrNonUniformity | Correction of nonuniformity |
|
slot |
Load project file *.si2.
filename | Read project file *.si2 |
|
slot |
Load TeachIn file *.car.
filename | Read camera adjustment result file *.car |
|
slot |
Save project file *.*.si2.
filename | Save project file *.si2 |
|
slot |
Set image saving parameters.
saveImages | Save images? |
directoryName | Directory to save image |
|
slot |
Set schedule of measurement.
rollingTime | Pattern rolling time in seconds |
burnInTime | BurnIn time in seconds |
relaxationTime | Relaxation time in seconds |
firstTriggered | First image triggered |
corrNonUniformity | Correction of nonuniformity |
|
slot |
Get parameters of measurement.
binalevel | Binarization level in percent |
maxobjectsize | Maximum scan object size |
horzscanfactor | Horizontal scan factor |
bordersize | Border size |
showregions | Show regions in image? |
corrnonuniformity | Correction of nonuniformity? |
|
slot |
Load parameters of measurement *.ini.
filename | of parameter file *.ini |
|
slot |
Load project file *.stimp.
filename | Name of project file *.stimp |
|
slot |
Save parameters of measurement *.ini.
filename | of parameter file *.ini |
|
slot |
Save project file *.stimp.
filename | Name of project file *.stimp |
|
slot |
Set parameters of measurement.
binalevel | Binarization level in percent |
maxobjectsize | Maximum scan object size |
horzscanfactor | Horizontal scan factor |
bordersize | Border size |
showregions | Show regions in image? |
corrnonuniformity | Correction of nonuniformity? |
|
slot |
SinglePic capture algorithm.
_dExposureTime | Exposure time to use |
_iSmear | Number of smear images (0=no smear correction) |
_dModFrequency | Modulation frequency (0=no modulation) |
|
slot |
SinglePic capture algorithm.
_dExposureTime | Exposure time to use |
|
slot |
Convert camera image file to luminance image.
The function takes a *.pus or *.rc2 file with a previous captured and saved camera image and converts it into a luminance image. It requires that the camera calibration data are already loaded into the program.
_qFileName | File name of camera image |
|
slot |
Converts a directory with camera images to a directory with luminance images.
The function takes a directory with *.pus files of previous captured and saved camera images and converts them into a directory with luminance images. It requires that the camera calibration data are already loaded into the program.
_qSrcDirectory | Directory with existing camera images |
_qDstDirectory | Directory with luminance images to create |
|
slot |
Make autoscan algorithm and take over exposure time.
This function is only allowed after opening camera connection.
time | Exposure time |
|
slot |
Capture luminance image.
This function is only allowed after opening camera connection.
|
slot |
Get capture parameters.
This function is only allowed after opening camera connection.
fieldAngle | Field angle (Default 7°) |
resolution | Camera pixel resolution (Default 10 Pixel/mm) |
showAngle | Show field angle in image |
defaultValues | Use defaults for angle and resolution |
|
slot |
Get exposure time and number of images for MultiPic algorithm.
This function is only allowed after opening camera connection.
time | Exposure time |
count | Number of images |
|
slot |
Get measuring region.
This function is only allowed after opening camera connection.
height | Height of region, power of two |
width | Width of region, power of two |
top | Upper border of region |
left | Left border of region |
showRegion | Show region in image |
showDisplay | Show display size (from *.car file) |
|
slot |
Get movement parameters for measurement.
This function is only allowed after opening drive unit connection.
middle | Middle point of measurement range |
range | Extension of range |
step | Movement steps |
|
slot |
Complete measurement with image displays, diagram and tables.
This function is only allowed after opening both camera and movement unit. Two tables, a diagram and the "Sparkle" image are displayed.
value | Calculated maximum sparkle value |
position | Position of drive unit for maximum sparkle value |
|
slot |
Read camera adjustment file *.car, contains information about display to be measured.
This function is only allowed after opening camera connection.
filename | Name der *.car-Datei |
|
slot |
Read parameter file *.spa.
This function is only allowed after opening camera connection.
filename | Name of *.spa file |
|
slot |
Set capture parameters.
This function is only allowed after opening camera connection.
fieldAngle | Field angle (Default 7°) |
resolution | Camera pixel resolution (Default 10 Pixel/mm) |
showAngle | Show field angle in image |
defaultValues | Use defaults for angle and resolution |
|
slot |
Set exposure time and number of images for MultiPic algorithm.
This function is only allowed after opening camera connection.
time | Exposure time |
count | Number of images |
|
slot |
Set measuring region.
This function is only allowed after opening camera connection.
height | Height of region, power of two |
width | Width of region, power of two |
top | Upper border of region |
left | Left border of region |
showRegion | Show region in image |
showDisplay | Show display size (from *.car file) |
|
slot |
Set movement parameters for measurement.
This function is only allowed after opening drive unit connection.
middle | Middle point of measurement range |
range | Extension of range |
step | Movement steps |
|
slot |
Single measurement in luminance image.
No capturing, no moving, no diagrams or tables.
value | Calculated single sparkle value |
|
slot |
Write parameter file *.spa.
This function is only allowed after opening camera connection.
filename | Name of *.spa file |
|
slot |
Split a color image into color extracts.
_iSrcColorImage | Index of source color image |
_iDstGreyImage1 | Index of target grey image 1 or less then -3 if not needed |
_iDstGreyImage2 | Index of target grey image 2 or less then -3 if not needed |
_iDstGreyImage3 | Index of target grey image 3 or less then -3 if not needed |
_iColorSpace | Color space, see iGetColor() for definitions |
|
slot |
Get parameters from section "Change regions".
enlarge | Enlarge (or reduce) size of contour found |
smoothing | Smoothing of contour |
minsize | Minimum region size |
maxsize | Maximum region size |
convex | !=0 use convex envelope |
rectangles | !=0 use rectangles |
|
slot |
Get parameters from section "Searching for regions.
image | Index of image, see section "Access to the images" |
threshold | Minimum luminance threshold in image |
smoothing | Size of smoothing filter in image |
|
slot |
Get parameters from section "Generate statistics.
statistic | Creating statistics:
|
separate | separate parameter sets for every object:
|
|
slot |
Get parameters from section "Use regions".
usage | Usage of existing regions:
|
delexisting | !=0 Delete existing regions if not found |
createmiss | !=0 Create missing regions if not found |
distance | If "use and change existing": weighting of the distance |
area | If "use and change existing": weighting of the area |
circumference | If "use and change existing": weighting of the circumference |
shape | If "use and change existing": weighting of the shape |
rotation | If "use and change existing": weighting of the rotation |
displacement | If "use and change existing": Maximum displacement between old and new region |
|
slot |
Set parameters to section "Change regions".
enlarge | Enlarge (or reduce) size of contour found |
smoothing | Smoothing of contour |
minsize | Minimum region size |
maxsize | Maximum region size |
convex | !=0 use convex envelope |
rectangles | !=0 use rectangles |
|
slot |
Set parameters to section "Searching for regions.
image | Index of image, see section "Access to the images" |
threshold | Minimum luminance threshold in image |
smoothing | Size of smoothing filter in image |
|
slot |
Set parameters to section "Generate statistics".
statistic | Creating statistics:
|
separate | separate parameter sets for every object:
|
|
slot |
Set parameters to section "Use regions".
usage | Usage of existing regions:
|
delexisting | !=0 Delete existing regions if not found |
createmiss | !=0 Create missing regions if not found |
distance | If "use and change existing": weighting of the distance |
area | If "use and change existing": weighting of the area |
circumference | If "use and change existing": weighting of the circumference |
shape | If "use and change existing": weighting of the shape |
rotation | If "use and change existing": weighting of the rotation |
displacement | If "use and change existing": Maximum displacement between old and new region |
|
slot |
Returns all cells of a table as a list.
The entries are sorted line by line.
_iTable | Index of wished table |
_qslContent | List with content of all cells |
|
slot |
Returns the content of a cell of a table.
_iTable | Index of wished table |
_iLine | Index of wished table line |
_iColumn | Index of wished table column |
_qrCell | Returns the content of table cell |
|
slot |
Returns the column header of a column of a table.
_iTable | Index of wished table |
_iColumn | Index of wished column |
_qrName | Returns the name of the column |
_qrCaption | Returns the caption of the column |
_qrUnit | Returns the unit of the column |
|
slot |
Search for a table, given by name or caption.
_qNameOrCaption | Searched name or caption of a table |
_irTable | Index of table or -1 if not found |
|
slot |
Returns the name and the caption of an existing table.
_iTable | Index of wished table |
_qrName | Returns the name of the table |
_qrCaption | Returns the caption of the table |
|
slot |
Returns the number of tables in the result tab widget.
_irNumber | Returns the number of tables |
|
slot |
Returns the number of columns of a table.
_iTable | Index of wished table |
_irNumberColumns | Returns the number of columns in table |
|
slot |
Returns the number of lines of a table.
_iTable | Index of wished table |
_irNumberLines | Returns the number of lines in table |
|
slot |
Create template image with the adjusted parameters.
|
slot |
Remove template image from the display.
Template images can only be deleted from a display. If the target is an evaluation image, deletion is not possible.
|
slot |
Get properties of image border.
_irUse | Use an image border? |
_irLeft | Size of left border in pixels |
_irRight | Size of right border in pixels |
_irTop | Size of top border in pixels |
_irBottom | Size of bottom border in pixels |
_irValue | Fill value of border |
|
slot |
Get list of categories of template images.
_qslCategories | Save list of categories there |
|
slot |
Get list of types of template images for the given category.
_qCategory | One of the possible categories |
_qslOperations | Save list of template image types there |
|
slot |
Get a parameter name list for the currently selected template image type.
_qrParameters | Write list of parameter names there |
|
slot |
Number of connected displays.
At least there is one - on which the program is shown.
_irNumber | Get number of available displays, at least one |
|
slot |
Get a certain parameter value.
_qName | Name of parameter |
_drValue | Value of parameter (if bool, then 0 or 1) |
|
slot |
Get current target for template image generation.
_irIndex | Values:
|
_qrImageName | Image name is only returned if _irIndex = -1 |
|
slot |
Get properties of current target.
The size of the target image is fixed.
_irType | Values:
|
_irHeight | Height in millimeter |
_irWidth | Width in millimeter |
_irLines | Number of image lines |
_irColumns | Number of image columns |
|
slot |
Make template image dialog invisible.
|
slot |
Ask, if a type of template image is selected.
Normally an operation is represented by a radio button in the Template image generator dialog. In this case only one operation can be set at one time.
_qCategory | Name of category |
_qOperation | Name of operation or option |
_irSet | Is this operation selected? |
|
slot |
Load template image file to the target.
This operation is only allowed for category "User defined".
_qFileName | Name of an image file. Allowed file extensions are .puc, *.pus, *.pf, *.pco, *.pcf, *.bmp, *.png and *.jpg |
|
slot |
Load file with predefined parameter values.
_qFileName | Name of an existing parameter file with extension *.ini |
|
slot |
Save template image to a file.
_qFileName | Name of an image file. Allowed file extensions are .puc, *.pus, *.pf, *.pco, *.pcf, *.bmp, *.png and *.jpg |
|
slot |
Save file with adjusted parameter values.
_qFileName | Name of a parameter file with extension *.ini |
|
slot |
Set properties of image border.
_iUse | Use an image border? |
_iLeft | Size of left border in pixels |
_iRight | Size of right border in pixels |
_iTop | Size of top border in pixels |
_iBottom | Size of bottom border in pixels |
_iValue | Fill value of border |
|
slot |
Set a type of template image or an option.
_qCategory | Name of category |
_qOperation | Name of operation or option |
_iSet | Set or unset. This parameter is only valid, if this is an option (CheckBox, not radiobutton in this tabsheet / category) |
|
slot |
Set a certain parameter value.
_qName | Name of parameter |
_dValue | Value of parameter (if bool, then 0 or 1) |
|
slot |
Set target for template image generation.
_iIndex | Values:
|
_qImageName | Image name is only necessary if _iIndex = -1 |
|
slot |
Make template image dialog visible.
|
slot |
Close Word program.
|
slot |
Copy one item to Word.
_iIndex | Index of the entry |
|
slot |
Copy all selected items to Word.
|
slot |
Get the informations about a data entry.
_iIndex | Index of the entry |
_irType | Returns type of entry. Possible values:
|
_qrName | Returns data name |
_qrMarker | Returns text marker name |
_irSelected | Is item selected? |
|
slot |
Get number of data entries in Word dialog.
_irNumber | Returns number of items |
|
slot |
Open an Word file for data export.
_qFileName | Filename of Word file |
|
slot |
Save Word file.
|
slot |
Select all items in Word dialog.
|
slot |
Set the informations about a data entry.
_iIndex | Index of the entry |
_qMarker | Change marker name (don't change current value if empty string) |
_iSelect | Should item be selected in dialog?
|
|
slot |
Change visbility of Word program.
_iVisible | 0=invisible, 1=visible |
|
slot |
Unselect all items in Word dialog.
|
slot |
Write value of an entry in a section of an inifile.
_qFileName | Inifile name |
_qSection | Section name |
_qEntry | Entry name |
_qValue | new value of entry |
|
slot |
Write physical register of camera.
_iRegister | Number of register |
_iValue | New value |
|
slot |
Write register file.
_qFileName | File name |
|
slot |
Write register value
_qRegisterName | Register name |
_iValue | Value |
|
slot |
Writes a string to the status line of the program.
_qMessage | Message to be shown |
|
signal |
After changing of an image, this signal is thrown.
Every time an image is updated, this signal is send with the index of the image. After this time point the user can read the new image data or call for changed statistic data.
_iImage | - -3 Camera image
|
|
signal |
If capturing algorithm waits for extern trigger signal.
If the user captures images via the MultiPic, HighDyn or ColorHighdyn algorithm, it is not clear at which points the next camera image has to be triggered. And in the case of highdyn captures it is furthermore unclear, how many camera images needed and has to be triggered. Thats why before every needed trigger signal this signal is send to the user.
The user should not send the trigger signal within the function which has captured the callback signal. He has to return from thsi function and to wait some time (at least 1 ms or more) and then send the trigger signal to the camera.
_dTimeout | How long programm waits for the trigger signal. Time is given in seconds. |