Lmk4 ActiveX Server
LMKAxServer.h
1 #ifndef AXSERVER2
2 #ifndef LMKAXSERVER_H
3 #define LMKAXSERVER_H
4 
9 #pragma warning ( disable : 4127 )
10 #include <QObject>
11 #include <ActiveQt/QAxBindable>
12 #include <qlist.h>
13 #include <qvariant.h>
14 #include "..\Lmk4\qlmk4.h"
15 
1096 /* Spaeter!
1097 <h2>Database add-on functions</h2>
1098 
1099 <table border="0"><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
1100 
1101 If the database add-on is installed, writing protocols and measurement results to a database
1102 and reading protocols from adatabase is possible.
1103 
1104 <table border="0">
1105 <tr><td> iDatabaseOpen() </td><td> Opens a database for read / write access </td></tr>
1106 <tr><td> iDatabaseClose() </td><td> Closes the currently opened database </td></tr>
1107 <tr><td> iDatabaseImageOptionsSet() </td><td> Set the options for saving images </td></tr>
1108 <tr><td> iDatabaseImageOptionsGet() </td><td> Get the options for saving images </td></tr>
1109 <tr><td> iDatasetList() </td><td> Get a list of datasets in the database </td></tr>
1110 <tr><td> iDatasetWrite() </td><td> Write a dataset from LabSoft to the database </td></tr>
1111 <tr><td> iDatasetRead() </td><td> Read a dataset from the database into LabSoft </td></tr>
1112 <tr><td> iDatasetInfo() </td><td> Common informations about a dataset </td></tr>
1113 <tr><td> iDatasetDelete() </td><td> Delete a dataset in database </td></tr>
1114 <tr><td> iDatasetCopy() </td><td> Copy a dataset to another database </td></tr>
1115 <tr><td> iDatasetUserTableInfo() </td><td> Get informations about construction of the user table </td></tr>
1116 <tr><td> iDatasetUserTableWrite() </td><td> Write informations of a dataset into the user table </td></tr>
1117 <tr><td> iDatasetUserTableRead() </td><td> Read informations of a dataset from the user table </td></tr>
1118 </table>
1119 
1120 </td></tr></table>
1121 */
1122 class LMKAxServer : public QObject, public QAxBindable
1123 {
1124  Q_OBJECT
1125 
1126 public:
1127  LMKAxServer(QObject *parent = 0);
1128  ~LMKAxServer();
1129 
1130 public slots:
1131 
1137  int iOpen();
1138 
1147  int iClose(int _iQuestion);
1148 
1153  int iIsOpen();
1154 
1158  int iGetIntegrationTime(
1159  double& _drCurrentTime,
1160  double& _drPreviousTime,
1161  double& _drNextTime,
1162  double& _drMinTime,
1163  double& _drMaxTime
1164  );
1165 
1169  int iSetIntegrationTime(
1170  double _dWishedTime,
1171  double& _drRealizedTime
1172  );
1173 
1177  int iAutoScanTime();
1178 
1180  int iGrab();
1181 
1185  int iSinglePic(
1186  double _dExposureTime,
1187  int _iSmear,
1188  double _dModFrequency
1189  );
1190 
1194  int iMultiPic(
1195  double _dExposureTime,
1196  int _iCountPic,
1197  int _iSmear,
1198  double _dModFrequency
1199  );
1200 
1204  int iHighDynPic(
1205  double _dMaxTime,
1206  double _dMinTime,
1207  double _dFactor,
1208  int _iSmear,
1209  double _dModFrequency
1210  );
1211 
1215  int iColorHighDynPic(
1216  double _dMaxTime,
1217  double _dMinTime,
1218  double _dFactor,
1219  int _iSmear,
1220  double _dModFrequency
1221  );
1222 
1226  int iCaptureGetLastInfo(
1227  int& _irSuccess,
1228  int& _irAlgorithm,
1229  QString& _qrGreyFilter,
1230  QString& _qrColorFilter,
1231  int& _ulpPicCount,
1232  double& _drMaxTime,
1233  double& _drMintTime,
1234  double& _drOverflow,
1235  double& _drMaxLoad,
1236  double& _drCaptureTime,
1237  int& _irSmear,
1238  double& _drFrequency
1239  );
1240 
1245  int iGetFilterWheel(
1246  int& _irCurrentFilter,
1247  QString& _srCurrentFilter
1248  );
1249 
1253  int iSetFilterWheel(
1254  int _iCurrentFilter
1255  );
1256 
1260  int iGetNumberImages(
1261  int& _irNumber
1262  );
1263 
1268  int iSaveImage(
1269  int _iNumber,
1270  QString _qFileName
1271  );
1272 
1279  int iSaveImageRegion(
1280  int _iImage,
1281  int _iRegion,
1282  QString _qFileName
1283  );
1284 
1290  int iLoadImage(
1291  int _iNumber,
1292  QString _qFileName
1293  );
1294 
1298  int iGetRegionListSize(
1299  int _iList,
1300  int& _irSize
1301  );
1302 
1306  int iIsRegionSelected(
1307  int _iList,
1308  int _iRegion,
1309  int& _irIsSelected
1310  );
1311 
1315  int iSelectRegion(
1316  int _iList,
1317  int _iRegion,
1318  int _iSelected
1319  );
1320 
1324  int iCreateRegion(
1325  int _iList,
1326  int _iType,
1327  int _iNumPoints,
1328  QStringList& _slX,
1329  QStringList& _slY
1330  );
1331 
1335  int iDeleteRegion(
1336  int _iList,
1337  int _iIndex
1338  );
1339 
1344  int _iList,
1345  int _iIndex,
1346  int& _irType,
1347  int& _irPoints,
1348  QStringList& _slX,
1349  QStringList& _slY
1350  );
1351 
1357  int iChangeRegion(
1358  int _iList,
1359  int _iIndex,
1360  int _iNumPoints,
1361  QStringList& _slX,
1362  QStringList& _slY
1363  );
1364 
1368  int iGetRegionName(
1369  int _iList,
1370  int _iIndex,
1371  QString& _qrName
1372  );
1373 
1377  int iSetRegionName(
1378  int _iList,
1379  int _iIndex,
1380  QString _qrName
1381  );
1382 
1387  int iSaveRegionList(
1388  int _iList,
1389  QString _qFileName,
1390  int _iOverwrite
1391  );
1392 
1397  int iLoadRegionList(
1398  int _iList,
1399  QString _qFileName,
1400  int _iOverwrite
1401  );
1402 
1406  int iGetStatisticSize(
1407  int _iStatistic,
1408  int& _irSize
1409  );
1410 
1416  int iGetStatisticObject(
1417  int _iStatistic,
1418  int _iObject,
1419  int& _iImage,
1420  int& _iRegion
1421  );
1422 
1429  int _iStatistic,
1430  int _iObject,
1431  int _iClass,
1432  int& _irSize,
1433  double& _drMin,
1434  double& _drMax,
1435  double& _drMean,
1436  double& _drVar
1437  );
1438 
1443  int _iObject,
1444  int& _irNumber,
1445  QStringList& _slrX,
1446  QStringList& _slrY,
1447  QStringList& _slValues
1448  );
1449 
1455  int _iObject,
1456  int& _irNumber,
1457  QStringList& _slrX,
1458  QStringList& _slrY,
1459  QStringList& _slrValues1,
1460  QStringList& _slrValues2,
1461  QStringList& _slrValues3
1462  );
1463 
1468  int _iObject,
1469  int& _irNumber,
1470  QStringList& _slrX,
1471  QStringList& _slrValues
1472  );
1473 
1479  int _iObject,
1480  int _iColor,
1481  int& _irNumber,
1482  QStringList& _slrX,
1483  QStringList& _slrValues
1484  );
1485 
1490  int _iObject,
1491  int& _irNumber,
1492  QStringList& _slrX,
1493  QStringList& _slrY,
1494  QStringList& _slrValues
1495  );
1496 
1501  int _iObject,
1502  int& _irNumber,
1503  QStringList& _slrX,
1504  QStringList& _slrY,
1505  QStringList& _slrValues1,
1506  QStringList& _slrValues2,
1507  QStringList& _slrValues3
1508  );
1509 
1513  int iHaveStatistic(
1514  int _iImage,
1515  int _iRegion,
1516  int& _irHave,
1517  int& _irType,
1518  int& _irIndex
1519  );
1520 
1524  int iCreateStatistic(
1525  int _iTyp,
1526  int _iImage,
1527  int _iRegion,
1528  int _iNumberParam,
1529  QStringList& _slrParamList
1530  );
1531 
1535  int iDeleteStatistic(
1536  int _iTyp,
1537  int _iObject
1538  );
1539 
1544  int _iTyp,
1545  int _iObject,
1546  int& _irNumberParam,
1547  QStringList& _slrParamList
1548  );
1549 
1554  int _iTyp,
1555  int _iObject,
1556  int& _irNumberParam,
1557  QStringList& _slrParamList
1558  );
1559 
1571  int iSetNewCamera(
1572  QString _qPathToLens
1573  );
1574 
1580  int iSaveProtokoll(
1581  QString _qPathName
1582  );
1583 
1589  int iLoadProtokoll(
1590  QString _qPathName
1591  );
1592 
1598  int iImportHDF5Protocol(
1599  QString _qPathName
1600  );
1601 
1612  int iShow(
1613  int _iShowStatus
1614  );
1615 
1632  int iExecMenuPoint(
1633  QString _qMenuPoint
1634  );
1635 
1642  int _iRegister,
1643  int& _irValue
1644  );
1645 
1652  int _iRegister,
1653  int _iValue
1654  );
1655 
1660  int iOpenRegisterMapFile(QString _qFileName);
1661 
1666  int iWriteRegisterMap(QString _qRegisterName,int _iValue);
1667 
1673  int iReadRegisterMap(QString _qRegisterName,int& _irValue);
1674 
1680  QString& _rErrorInformation
1681  );
1682 
1691  int iGetCameraParameter(
1692  QString _qParameterName,
1693  QString& _qrParameterValue
1694  );
1695 
1704  int iSetCameraParameter(
1705  QString _qParameterName,
1706  QString& _qrParameterValue
1707  );
1708 
1712  int iGetIndexOfImage(
1713  QString _qName,
1714  int& _irIndex
1720  );
1721 
1728  int iGetIndexOfRegion(
1729  int _iList,
1730  QString _qName,
1731  int& _irIndex
1732  );
1733 
1740  int iExecTclCommand(
1741  QString _qCommand,
1742  int& _irReturn,
1743  QString& _qResult
1744  );
1745 
1753  int imageArithmeticII(
1754  QString _qCode,
1755  int _iSrcImage1,
1756  int _iSrcImage2,
1757  int _iDstImage
1758  );
1759 
1767  int imageArithmeticIP1(
1768  QString _qCode,
1769  int _iSrcImage,
1770  QString _qParameter,
1771  int _iDstImage
1772  );
1773 
1783  int imageArithmeticIP3(
1784  QString _qCode,
1785  int _iSrcImage,
1786  QString _qRed,
1787  QString _qGreen,
1788  QString _qBlue,
1789  int _iDstImage
1790  );
1791 
1798  int imageArithmeticI(
1799  QString _qCode,
1800  int _iSrcImage,
1801  int _iDstImage
1802  );
1806  int iPing();
1807 
1813  int iOpenRegisterFile(QString _qFileName,int _iMode);
1814 
1819  int iWriteRegisterFile(QString _qFileName);
1820 
1848  int iGetColor(
1849  double _iInputR,
1850  double _iInputG,
1851  double _iInputB,
1852  double _iReferenceR,
1853  double _iReferenceG,
1854  double _iReferenceB,
1855  int _iColorSpace,
1856  double& _iOutputColor1,
1857  double& _iOutputColor2,
1858  double& _iOutputColor3
1859  );
1860 
1875  int iImageGetSize(
1876  int _iImage,
1877  int& _irFirstLine,
1878  int& _irLastLine,
1879  int& _irFirstColumn,
1880  int& _irLastColumn,
1881  int& _irDimensions
1882  );
1883 
1893  int iImageGetPixelGrey(
1894  int _iImage,
1895  int _iLine,
1896  int _iColumn,
1897  double& _drValue
1898  );
1899 
1911  int iImageGetPixelColor(
1912  int _iImage,
1913  int _iLine,
1914  int _iColumn,
1915  double& _drRed,
1916  double& _drGreen,
1917  double& _drBlue
1918  );
1919 
1939  int _iImage,
1940  int _iFirstLine,
1941  int _iLastLine,
1942  int _iFirstColumn,
1943  int _iLastColumn,
1944  QByteArray& _rDump
1945  );
1946 
1965  int iImageGetDumpToFile(
1966  int _iImage,
1967  int _iFirstLine,
1968  int _iLastLine,
1969  int _iFirstColumn,
1970  int _iLastColumn,
1971  QString _FileName
1972  );
1973 
1977  int iGetProgramInfo(
1978  QString& _qrProgramType,
1979  QString& _qrProgramVersion,
1980  QString& _qrCameraType,
1981  QString& _qrCameraNumber,
1982  QString& _qrLensNumber
1983  );
1984 
1988  int iHighDynPic2(
1989  double _dMaxTime,
1990  double _dMinTime,
1991  double _dFactor,
1992  int _iPicCount
1993  );
1994 
1998  int iColorHighDynPic2(
1999  double _dMaxTime,
2000  double _dMinTime,
2001  double _dFactor,
2002  int _iPicCount
2003  );
2004 
2008  int iSinglePic2(
2009  double _dExposureTime
2010  );
2011 
2015  int iMultiPic2(
2016  double _dExposureTime,
2017  int _iCountPic
2018  );
2019 
2032  QString _qParameterSet
2033  );
2034 
2040  int iSetSmear(
2041  int _iSmear
2042  );
2043 
2049  int iGetSmear(
2050  int& _irSmear
2051  );
2052 
2061  double _dModFrequency
2062  );
2063 
2069  double& _drModFrequency
2070  );
2071 
2076  int iSetAutoscan(
2077  int _iAutoscan
2078  );
2079 
2084  int iGetAutoscan(
2085  int& _irAutoscan
2086  );
2087 
2094  int iSetScatteredLight(
2095  int _iScatteredLight
2096  );
2097 
2102  int iGetScatteredLight(
2103  int& _irScatteredLight
2104  );
2105 
2113  int iSetTriggerMode(
2114  int _iTriggerMode,
2115  double _dTimeout
2116  );
2117 
2122  int iGetTriggerMode(
2123  int& _irTriggerMode,
2124  double& _drTimeout
2125  );
2126 
2130  int iGetFlagsStatistic(
2131  int _iTyp,
2132  int _iObject,
2133  int& _irGeo,
2134  int& _irPhoto,
2135  int& _irMinMax,
2136  int& _irTime,
2141  int& _irHorseshoe
2142  );
2143 
2147  int iSetFlagsStatistic(
2148  int _iTyp,
2149  int _iObject,
2150  int _iGeo,
2151  int _iPhoto,
2152  int _iMinMax,
2153  int _iTime,
2158  int _iHorseshoe
2159  );
2160 
2166  int _iTyp,
2167  int _iObject,
2168  int _iClass,
2169  double& _drX,
2170  double& _drY
2171  );
2172 
2178  int _iTyp,
2179  int _iObject,
2180  int _iClass,
2181  double& _drX,
2182  double& _drY
2183  );
2184 
2189  int iGetMinMaxStatistic(
2190  int _iTyp,
2191  int _iObject,
2192  int _iClass,
2193  double& _drMinX,
2194  double& _drMinY,
2195  double& _drMinV,
2196  double& _drMaxX,
2197  double& _drMaxY,
2198  double& _drMaxV
2199  );
2200 
2205  int _iTyp,
2206  int _iObject,
2207  int _iClass,
2208  int _iWhichEl,
2215  int& _irCount,
2216  double& _drMin,
2217  double& _drMax,
2218  double& _drMean,
2219  double& _drVar
2220  );
2221 
2226  int _iTyp,
2227  int _iObject,
2228  int& _irSize
2229  );
2230 
2235  int _iTyp,
2236  int _iObject,
2237  int _iClass,
2238  int _iWhichEl,
2245  QStringList& _qslTime,
2246  QStringList& _qslValues
2247  );
2248 
2252  int iResetTimeStatistic(
2253  int _iTyp,
2254  int _iObject
2255  );
2256 
2260  int iGetNumClasses(
2261  int _iTyp,
2262  int _iObject,
2263  int& _irNumClasses
2264  );
2265 
2269  int iGetClass(
2270  int _iTyp,
2271  int _iObject,
2272  int _iClass,
2273  QString& _qsClassName,
2274  int& _irVisible
2275  );
2276 
2280  int iGetNumEquations(
2281  int _iTyp,
2282  int _iObject,
2283  int& _irNumEquations
2284  );
2285 
2289  int iGetEquation(
2290  int _iTyp,
2291  int _iObject,
2292  int _iEquation,
2293  QString& _qsName,
2294  QString& _qsFormula,
2295  int& _iWhereToShow,
2296  int& _irValid,
2297  double& _drResult
2298  );
2299 
2310  int iSetNewCamera2(
2311  QString _qNameCamera,
2312  QString _qNameLens
2313  );
2314 
2319  int _iObject,
2320  int _iClass,
2321  double& _drLength,
2322  double& _drWidth,
2323  double& _drDeflection,
2324  double& _drAbsMax
2325  );
2326 
2331  int iGetArcObjectValues(
2332  int _iObject,
2333  int& _irNumber,
2334  QStringList& _slrX,
2335  QStringList& _slrY,
2336  QStringList& _slrValues
2337  );
2338 
2346  int _iType,
2347  int _iFirstIndex,
2348  int _iSecondIndex
2349  );
2350 
2356  int _iType,
2357  int _iIndex
2358  );
2359 
2368  int _iType,
2369  int _iIndex,
2370  QString& _qsName
2371  );
2372 
2378  int _iType,
2379  int _iIndex,
2380  QString _qsNewName
2381  );
2382 
2386  int iSetClass(
2387  int _iTyp,
2388  int _iObject,
2389  int _iClass,
2390  QString _qsClassName,
2391  int _iVisible
2392  );
2393 
2397  int iDeleteEquation(
2398  int _iTyp,
2399  int _iObject,
2400  int _iEquation
2401  );
2402 
2406  int iAppendEquation(
2407  int _iTyp,
2408  int _iObject,
2409  QString& _qsName,
2410  QString& _qsFormula,
2411  int _iWhereToShow
2412  );
2413 
2424  int iGetImageName(
2425  int _iImageIndex,
2426  QString& _qsImageName
2427  );
2428 
2445  int _iImageIndex,
2446  QString& _qsImageName
2447  );
2448 
2458  int iImageCreate(
2459  int _iColorImage,
2460  QString _qImageName,
2461  int& _irIndex
2462  );
2463 
2470  int iImageDelete(
2471  int _iIndex
2472  );
2473 
2484  int iImageSetSize(
2485  int _iIndex,
2486  int _iFirstLine,
2487  int _iLastLine,
2488  int _iFirstColumn,
2489  int _iLastColumn
2490  );
2491 
2499  int iSetImageName(
2500  int _iIndex,
2501  QString _qName
2502  );
2503 
2512  int iGetConvertingUnits(
2513  QString& _qName,
2514  QString& _qUnit,
2515  double& _dFactor
2516  );
2517 
2526  int iSetConvertingUnits(
2527  QString _qName,
2528  QString _qUnit,
2529  double _dFactor
2530  );
2531 
2539  double& _dFactor
2540  );
2541 
2549  double _dFactor
2550  );
2551 
2559  int iGetFocusFactorList(
2560  QStringList& _qList,
2561  int& _iSelect
2562  );
2563 
2570  int iSetFocusFactor(
2571  int _iIndex
2572  );
2573 
2581  int iGetGreyFilterList(
2582  QStringList& _qList,
2583  QStringList& _qSelected
2584  );
2585 
2591  int iSetGreyFilter(
2592  int _iIndex,
2593  int _iSelect
2594  );
2595 
2603  int iGetColorCorrList(
2604  QStringList& _qList,
2605  QStringList& _qSelected
2606  );
2607 
2613  int iSetColorCorr(
2614  int _iIndex,
2615  int _iSelect
2616  );
2617 
2626  QStringList& _qList,
2627  int& _iSelect
2628  );
2629 
2636  int iSetColorFactors(
2637  int _iIndex
2638  );
2639 
2644  int iWriteToStatusLine(
2645  QString _qMessage
2646  );
2647 
2652  int iReadFromStatusLine(
2653  QString& _qMessage
2654  );
2655 
2666  int iCreateGroup(
2667  int _iList,
2668  int _iGroupType,
2669  int _iNumRegions,
2670  QStringList& _slRegionIndices
2671  );
2672 
2680  int iMoveRegion(
2681  int _iList,
2682  int _iRegionIndex,
2683  double _dX,
2684  double _dY
2685  );
2686 
2695  int iDeleteGroup(
2696  int _iList,
2697  int _iRegionIndex
2698  );
2699 
2708  int _iImage,
2709  int& _irHaveParam,
2710  QStringList& _qslParamNames,
2711  QStringList& _qslParamValues
2712  );
2713 
2724  int _iImage,
2725  QString& _qrValueX,
2726  QString& _qrUnitX,
2727  QString& _qrValueY,
2728  QString& _qrUnitY,
2729  QString& _qrUnitArea
2730  );
2731 
2742  int _iImage,
2743  QString _qValueX,
2744  QString _qUnitX,
2745  QString _qValueY,
2746  QString _qUnitY,
2747  QString _qUnitArea
2748  );
2749 
2761  int _iImage,
2762  double _dScalingX,
2763  double _dOffsetX,
2764  double _dScalingY,
2765  double _dOffsetY
2766  );
2767 
2778  int _iImage,
2779  double _dXm,
2780  double _dYm,
2781  double _dFactorR,
2782  double _dFactorP,
2783  double _dOffsetP
2784  );
2785 
2796  int _iImage,
2797  int& _irIsCartesian,
2798  double& _drScalingX,
2799  double& _drOffsetX,
2800  double& _drScalingY,
2801  double& _drOffsetY
2802  );
2803 
2815  int _iImage,
2816  int& _irIsPolar,
2817  double& _drXm,
2818  double& _drYm,
2819  double& _drFactorR,
2820  double& _drFactorP,
2821  double& _drOffsetP
2822  );
2823 
2833  int _iImage,
2834  double _dPixelX,
2835  double _dPixelY,
2836  double& _drCoordXorPhi,
2837  double& _drCoordYorRadius
2838  );
2839 
2849  int _iImage,
2850  double _dCoordXorPhi,
2851  double _dCoordYorRadius,
2852  double& _drPixelX,
2853  double& _drPixelY
2854  );
2855 
2862  int _iImage,
2863  QString _qFileName
2864  );
2865 
2872  int _iImage,
2873  QString _qFileName
2874  );
2875 
2900  int iColorAutoScanTime(
2901  QStringList& _qslExposureTimes
2902  );
2903 
2929  QStringList& _qslExposureTimes,
2930  int _iCountPic
2931  );
2932 
2963  QStringList& _qslExposureTimes,
2964  double _dStartRatio,
2965  double _dFactor,
2966  int _iCountPic
2967  );
2968 
2983  QString _qName,
2984  QString& _qrValue
2985  );
2986 
2997  int _iUseRegion,
2998  int _iTop,
2999  int _iBottom,
3000  int _iLeft,
3001  int _iRight
3002  );
3003 
3014  int& _irUseRegion,
3015  int& _irTop,
3016  int& _irBottom,
3017  int& _irLeft,
3018  int& _irRight
3019  );
3020 
3024  int iGetFlagsStatistic2(
3025  int _iTyp,
3026  int _iObject,
3027  int& _irGeo,
3028  int& _irPhoto,
3029  int& _irMinMax,
3030  int& _irTime,
3035  int& _irMaxCountTime,
3036  int& _irHorseshoe
3037  );
3038 
3042  int iSetFlagsStatistic2(
3043  int _iTyp,
3044  int _iObject,
3045  int _iGeo,
3046  int _iPhoto,
3047  int _iMinMax,
3048  int _iTime,
3053  int _iMaxCountTime,
3054  int _iHorseshoe
3055  );
3056 
3062  int iSetAutomatic(
3063  int _iAutomatic
3064  );
3065 
3071  int iGetAutomatic(
3072  int& _irAutomatic
3073  );
3074 
3079  int _iSuppress
3080  );
3081 
3086  int& _irSuppress
3087  );
3088 
3093  int _iSuppress
3094  );
3095 
3100  int& _irSuppress
3101  );
3102 
3106  int iSetDarkening(
3107  int _iDarkening,
3108  int _iSwitchMonitorOff,
3109  double _dTimeOut
3112  );
3113 
3117  int iGetDarkening(
3118  int& _iDarkening,
3119  int& _iSwitchMonitorOff,
3120  double& _dTimeOut
3122  );
3123 
3132  int iSplitColorImage(
3133  int _iSrcColorImage,
3134  int _iDstGreyImage1,
3135  int _iDstGreyImage2,
3136  int _iDstGreyImage3,
3137  int _iColorSpace
3138  );
3139 
3148  int iMergeColorImage(
3149  int _iSrcGreyImage1,
3150  int _iSrcGreyImage2,
3151  int _iSrcGreyImage3,
3152  int _iDstColorImage,
3153  int _iColorSpace
3154  );
3155 
3173  int iColorDiffImgImg(
3174  int _iSrcColorImage1,
3175  int _iSrcColorImage2,
3176  int _iDstGreyImage,
3177  int _iColorDifferenceType,
3178  double _dMinimumLuminance,
3179  int _iSmoothing,
3180  QStringList& _qslParameter
3181  );
3182 
3200  int iColorDiffImgCol(
3201  int _iSrcColorImage1,
3202  QStringList& _qslColor2inRGB,
3203  int _iDstGreyImage,
3204  int _iColorDifferenceType,
3205  double _dMinimumLuminance,
3206  int _iSmoothing,
3207  QStringList& _qslParameter
3208  );
3209 
3218  int _iImage,
3219  double& _drRed,
3220  double& _drGreen,
3221  double& _drBlue
3222  );
3223 
3232  int _iImage,
3233  double _dRed,
3234  double _dGreen,
3235  double _dBlue
3236  );
3237 
3242  int iTableGetNumber(
3243  int& _irNumber
3244  );
3245 
3253  int _iTable,
3254  QString& _qrName,
3255  QString& _qrCaption
3256  );
3257 
3263  int iTableGetIndex(
3264  QString _qNameOrCaption,
3265  int& _irTable
3266  );
3267 
3274  int _iTable,
3275  int& _irNumberColumns
3276  );
3277 
3284  int _iTable,
3285  int& _irNumberLines
3286  );
3287 
3296  int iTableGetColumn(
3297  int _iTable,
3298  int _iColumn,
3299  QString& _qrName,
3300  QString& _qrCaption,
3301  QString& _qrUnit
3302  );
3303 
3311  int iTableGetCell(
3312  int _iTable,
3313  int _iLine,
3314  int _iColumn,
3315  QString& _qrCell
3316  );
3317 
3325  int iTableGetAllContent(
3326  int _iTable,
3327  QStringList& _qslContent
3328  );
3329 
3332  int iBlackMuraOpenDialog();
3333 
3337  int iBlackMuraCloseDialog();
3338 
3344  QString _qFileName
3345  );
3346 
3352  QString& _qrFileName
3353  );
3354 
3359 
3360 
3363  int iBlackMuraDarkCapture();
3364 
3373  int _iShowCoord,
3374  int _iShowMeasurementRegion,
3375  int _iShowAdjustmentRegions,
3376  int _iShowBrightClassification
3377  );
3378 
3387  int& _irShowCoord,
3388  int& _irShowMeasurementRegion,
3389  int& _irShowAdjustmentRegions,
3390  int& _irShowBrightClassification
3391  );
3392 
3398  QString _qDstDirectory
3399  );
3400 
3406  QString& _qrDstDirectory
3407  );
3408 
3414  QString _qSerialNumber
3415  );
3416 
3422  QString& _qrSerialNumber
3423  );
3424 
3431  int _iShowDarkClassification,
3432  int _iSaveAutomatically
3433  );
3434 
3441  int& _irShowDarkClassification,
3442  int& _irSaveAutomatically
3443  );
3444 
3453  int iSetGreyFilterList(
3454  QStringList& _qSelected
3455  );
3456 
3468  int iHighDynPic3(
3469  double _dExposureTime,
3470  double _dStartRatio,
3471  double _dFactor,
3472  int _iCountPic
3473  );
3474 
3475  // BugZilla 246: Bei Rückgabe der Fläche Koordinatensystem beachten.
3482  int _iStatistic,
3483  int _iObject,
3484  int _iClass,
3485  double& _drArea,
3486  double& _drMin,
3487  double& _drMax,
3488  double& _drMean,
3489  double& _drVar
3490  );
3491 
3492  // BugZilla 288: Maximale Belichtungszeit limitieren
3498  int iGetMaxCameraTime(
3499  double& _drMaxCameraTime
3500  );
3501 
3502  // BugZilla 288: Maximale Belichtungszeit limitieren
3508  int iSetMaxCameraTime(
3509  double _dMaxCameraTime
3510  );
3511 
3515  int iExcelOpenFile(
3516  QString _qFileName
3517  );
3518 
3522  int iExcelSetVisible(
3523  int _iVisible
3524  );
3525 
3529  int iExcelSelectAll();
3530 
3534  int iExcelUnselectAll();
3535 
3539  int iExcelCopySelected();
3540 
3545  int& _irNumber
3546  );
3547 
3552  int _iIndex,
3553  int& _irType,
3559  QString& _qrName,
3560  QString& _qrSheet,
3561  int& _irClear,
3562  QString& _qrRange,
3563  int& _irSelected
3564  );
3565 
3570  int _iIndex,
3571  QString _qSheet,
3572  int _iClear,
3577  QString _qRange,
3578  int _iSelect
3583  );
3584 
3588  int iExcelCopyItem(
3589  int _iIndex
3590  );
3591 
3595  int iExcelSave();
3596 
3600  int iExcelClose();
3601 
3605  int iWordOpenFile(
3606  QString _qFileName
3607  );
3608 
3612  int iWordSetVisible(
3613  int _iVisible
3614  );
3615 
3619  int iWordSelectAll();
3620 
3624  int iWordUnselectAll();
3625 
3629  int iWordCopySelected();
3630 
3635  int iWordGetNumberItems(
3636  int& _irNumber
3637  );
3638 
3643  int _iIndex,
3644  int& _irType,
3650  QString& _qrName,
3651  QString& _qrMarker,
3652  int& _irSelected
3653  );
3654 
3659  int _iIndex,
3660  QString _qMarker,
3661  int _iSelect
3666  );
3667 
3671  int iWordCopyItem(
3672  int _iIndex
3673  );
3674 
3678  int iWordSave();
3679 
3683  int iWordClose();
3684 
3697  int _iDestinationType,
3698  QString _qSourcePath,
3699  QString _qDestinationPath
3700  );
3701 
3710  int iDatabaseOpen(
3711  QString _qDatabaseName,
3712  QString _qUserName,
3713  QString _qPassword
3714  );
3715 
3719  int iDatabaseClose();
3720 
3731  int _iSaveMode,
3732  QString _qDirectory
3733  );
3734 
3745  int& _irSaveMode,
3746  QString& _qrDirectory
3747  );
3748 
3760  int iDatasetList(
3761  int _iTypeOfSets,
3762  int& _irNumber,
3763  QStringList& _qslContentIds,
3764  QStringList& _qslTypes
3765  );
3766 
3775  int iDatasetWrite(
3776  int _iType,
3777  QString _qDescription,
3778  int& _irContentId
3779  );
3780 
3785  int iDatasetRead(
3786  int _iContentId
3787  );
3788 
3808  int iDatasetInfo(
3809  int _iContentId,
3810  int& _irType,
3811  QString& _qrCreated,
3812  QString& _qrChanged,
3813  QString& _qrUser,
3814  int& _irImages,
3815  int& _irCompressionMode,
3816  QString& _qImageDirectory,
3817  QString& _qDescription
3818  );
3819 
3824  int iDatasetDelete(
3825  int _iContentId
3826  );
3827 
3838  int iDatasetCopy(
3839  int _iSrcContentId,
3840  QString _qDstDatabaseName,
3841  QString _qDstUserName,
3842  QString _qDstPassword,
3843  int& _irDstContentId
3844  );
3845 
3860  int& _irNumberEntries,
3861  QStringList& _qslNameList,
3862  QStringList& _qslCaptionList,
3863  QStringList& _qslTypes,
3864  QStringList& _qslDefaults,
3865  QStringList& _qslComments
3866  );
3867 
3875  int _iContentId,
3876  QStringList& _qslNames,
3877  QStringList& _qslValues
3878  );
3879 
3888  int _iContentId,
3889  QStringList& _qslNames,
3890  QStringList& _qslValues
3891  );
3892 
3896  int iLIDopenDialog(
3897  QString _qFileName
3898  );
3899 
3903  int iLIDgetCountParam(
3904  int& _iCount
3905  );
3906 
3910  int iLIDgetParamName(
3911  int _iIndex,
3912  QString& _qParamName
3913  );
3914 
3918  int iLIDexecute(
3919  int _iIndex
3920  );
3921 
3925  int iLIDcloseDialog();
3926 
3929  int iLEXopenDialog();
3930 
3934  int iLEXsetImage(
3935  QString _qImageName
3936  );
3937 
3942  int iLEXsetDescription(
3943  QString _qDescription,
3944  QString _qNumber,
3945  QString _qLaboratory,
3946  QString _qManufactory,
3947  QString _qUserName
3948  );
3949 
3954  int iLEXsetParameter(
3955  double _dTemperatur,
3956  double _dWattage,
3957  double _dVoltage,
3958  double _dCurrent,
3959  double _dLightFlux
3960  );
3961 
3967  int iLEXsetAngles(
3968  double _dThetaTop,
3969  double _dThetaBottom,
3970  double _dThetaDelta,
3971  double _dPhiMin,
3972  double _dPhiMax,
3973  double _dPhiDelta
3974  );
3975 
3979  int iLEXsetOrigin(
3980  double _dThetaDiff,
3981  int _iThetaSign,
3982  double _dPhiDiff,
3983  int _iPhiSign
3984  );
3985 
3989  int iLEXsetCoordSystem(
3990  QString _qSrcCoordSystem,
3991  QString _qDstCoordSystem
3992  );
3993 
4000  int iLEXexecute(
4001  QString _qFileName
4002  );
4003 
4007  int iLEXcloseDialog();
4008 
4013  int _iTop,
4014  int _iLeft,
4015  int _iBottom,
4016  int _iRight,
4017  double& _drFocus,
4018  double& _drContrast
4019  );
4020 
4025  int _iWholeImage,
4027  int _iTop,
4028  int _iLeft,
4029  int _iBottom,
4030  int _iRight,
4031  double& _drSaturation
4033  );
4034 
4039  );
4040 
4046  QString _qFileName
4047  );
4048 
4052  int iCameraSetupDialogOpen();
4053 
4059  QString _qFileName
4060  );
4061 
4067  int _iLuminanceImage
4069  );
4070 
4075 
4081  QString _qFileName
4082  );
4083 
4088 
4091  int iLEXgetAngles(
4092  double& _dThetaTop,
4093  double& _dThetaBottom,
4094  double& _dThetaDelta,
4095  double& _dPhiMin,
4096  double& _dPhiMax,
4097  double& _dPhiDelta
4098  );
4099 
4103  int iLEXanglesFromImage(
4104  );
4105 
4110  );
4111 
4114  int iGetCameraLensPath(
4115  QString& _qrCameraLensPath
4116  );
4117 
4122  QString _qFileName,
4123  QStringList& _qslSections
4124  );
4125 
4129  int iReadIniFileEntries(
4130  QString _qFileName,
4131  QString _qSection,
4132  QStringList& _qslEntries
4133  );
4134 
4138  int iReadIniFileEntry(
4139  QString _qFileName,
4140  QString _qSection,
4141  QString _qEntry,
4142  QString _qDefault,
4143  QString& _qValue
4144  );
4145 
4149  int iWriteIniFileEntry(
4150  QString _qFileName,
4151  QString _qSection,
4152  QString _qEntry,
4153  QString _qValue
4154  );
4155 
4161  QString _qFileName
4162  );
4163 
4168  QString _qFileName
4169  );
4170 
4171 
4172 
4176  int iBlackMuraDarkLoad(
4177  QString _qFileName
4178  );
4179 
4188  int iSinglePicFromFile(
4189  QString _qFileName
4190  );
4191 
4202  QString _qSrcDirectory,
4203  QString _qDstDirectory
4204  );
4205 
4210  int _iObject,
4211  double& _drQuantile1,
4212  double& _drQuantile2,
4213  double& _drQuantile3
4214  );
4215 
4222  int& _irNumber
4223  );
4224 
4231  int _iIndex,
4232  QString& _qrName
4233  );
4234 
4240  int iCopyColorFactors(
4241  int _iSrcIndex,
4242  int _iDstIndex
4243  );
4244 
4251  int _iIndex
4252  );
4253 
4268  int iAdjustColorFactors(
4269  int _iIndex,
4270  double _dCurrent_R,
4271  double _dCurrent_G,
4272  double _dCurrent_B,
4273  double _dWished_R,
4274  double _dWished_G,
4275  double _dWished_B
4276  );
4277 
4286  int iSaveColorFactorsFile();
4287 
4313  int iGetColorRGB(
4314  int _iColorSpace,
4315  double _dInput1,
4316  double _dInput2,
4317  double _dInput3,
4318  double _dReferenceR,
4319  double _dReferenceG,
4320  double _dReferenceB,
4321  double& _dOutputColorR,
4322  double& _dOutputColorG,
4323  double& _dOutputColorB
4324  );
4325 
4332  int iTIG_GetNumberTargetDisplays(int& _irNumber);
4333 
4341  int iTIG_SetTarget(int _iIndex,QString _qImageName);
4342 
4350  int iTIG_GetTarget(int& _irIndex,QString& _qrImageName);
4351 
4366  int iTIG_GetTargetProperties(int& _irType,int& _irHeight,int& _irWidth,int& _irLines,int& _irColumns);
4367 
4377  int iTIG_GetBorderProperties(int& _irUse,int& _irLeft,int& _irRight,int& _irTop,int& _irBottom,int& _irValue);
4378 
4388  int iTIG_SetBorderProperties(int _iUse,int _iLeft,int _iRight,int _iTop,int _iBottom,int _iValue);
4389 
4394  int iTIG_GetListOfCategories(QStringList& _qslCategories);
4395 
4401  int iTIG_GetListOfOperations(QString _qCategory,QStringList& _qslOperations);
4402 
4410  int iTIG_SetOperation(QString _qCategory,QString _qOperation,int _iSet);
4411 
4421  int iTIG_IsOperation(QString _qCategory,QString _qOperation,int& _irSet);
4422 
4427  int iTIG_GetListOfParameterNames(QStringList& _qrParameters);
4428 
4434  int iTIG_GetParameterValue(QString _qName,double& _drValue);
4435 
4441  int iTIG_SetParameterValue(QString _qName,double _dValue);
4442 
4446  int iTIG_ShowDialog();
4447 
4451  int iTIG_HideDialog();
4452 
4456  int iTIG_CreateImage();
4457 
4463  int iTIG_DeleteImage();
4464 
4469  int iTIG_LoadParameter(QString _qFileName);
4470 
4475  int iTIG_SaveParameter(QString _qFileName);
4476 
4484  int iTIG_LoadImage(QString _qFileName);
4485 
4491  int iTIG_SaveImage(QString _qFileName);
4492 
4499  int iBlackMuraAutomaticMeasure(int _iBrightImage,int _iDarkImage,double _dTimeDelay);
4500 
4505 
4509  int iMatrixModuleCloseDialog();
4510 
4517  int iMatrixModuleReadParameter(QString filename);
4518 
4523  int iMatrixModuleExecute();
4524 
4532  int iMatrixModuleWriteResults(QString filename);
4533 
4534  //---------------------------------------------------------------------------------------------
4535 
4540  int iMotor_ReadIni(QString filename);
4541 
4546  int iMotor_OpenAxes();
4547 
4552  int iMotor_NumberOfAxes(int& number);
4553 
4565  int iMotor_GetAxisInfo(int index, QString& name, double& minposition, double& normposition,
4566  double& maxposition, double& minspeed, double& normspeed, double& maxspeed);
4567 
4573  int iMotor_GetAxisSpeed(int index, double& speed);
4574 
4580  int iMotor_SetAxisSpeed(int index, double speed);
4581 
4587  int iMotor_GetAxisPosition(int index, double& position);
4588 
4594  int iMotor_SetAxisPosition(int index, double position);
4595 
4601  int iMotor_IsAxisMoving(int index, int& moving);
4602 
4607  int iMotor_CloseAxes();
4608 
4613  int iClearUndoRegionList(int _iList);
4614 
4619  int iSelectImage(int _iIndex);
4620 
4625  int iGetSelectedImage(int& image);
4626 
4644  int iGetViewPalette(int image, int& palette);
4645 
4653  int iSetViewPalette(int image, int palette);
4654 
4662  int iLoadIsoPalette(int image, QString filename);
4663 
4671  int iLoadUserPalette(int image, QString filename);
4672 
4684  int iGetViewScaling(int image, double& scaling, double& minimum, double& maximum);
4685 
4697  int iSetViewScaling(int image, double scaling, double minimum, double maximum);
4698 
4709  int iGetViewScalingRect(int image, int& top, int& bottom, int& left, int& right);
4710 
4721  int iSetViewScalingRect(int image, int top, int bottom, int left, int right);
4722 
4732  int iGetViewZoom(int image, double& zoom, int& top, int& left);
4733 
4744  int iSetViewZoom(int image, double zoom, int top, int left);
4745 
4746  // Funktion nicht dokumentieren, da nicht (mehr) implementiert.
4747  int iSetTriggered2(int trigger, int usetrigger, int externLow, int strobeLow,
4748  int strobeParameter, double timeout, double captureDistance, double captureDelay,
4749  double strobeDelay, double strobeDuration, double triggerDuration);
4750 
4751  // Funktion nicht dokumentieren, da nicht (mehr) implementiert.
4752  int iGetTriggered2(int& trigger, int& usetrigger, int& externLow, int& strobeLow,
4753  int& strobeParameter, double& timeout, double& captureDistance, double& captureDelay,
4754  double& strobeDelay, double& strobeDuration, double& triggerDuration);
4755 
4756  // Controllable lens ***************************************************************************
4757 
4761  int iHaveControllableLens(int& have);
4762 
4765  int iLensInit();
4766 
4770  int iGetFocus(double& value);
4771 
4775  int iSetFocus(double value);
4776 
4784  int iSetFocusParameter(int subsampling, int top, int bottom, int left, int right);
4785 
4793  int iGetFocusParameter(int& subsampling, int& top, int& bottom, int& left, int& right);
4794 
4804  int iAutoFocus(int linear, int adaptive, double& sharpness, double& edge);
4805 
4810  int iGetMinMaxAperture(int& minimum, int& maximum);
4811 
4815  int iGetAperture(int& value);
4816 
4820  int iSetAperture(int value);
4821 
4838  int iCoordinateTransformationI(int srcImage, int xIndexImage, int yIndexImage, int targetImage);
4839 
4856  int iCoordinateTransformationF(int srcImage, QString xIndexImage, QString yIndexImage, int targetImage);
4857 
4868  int iCameraSetupResultCircles(int& success, QStringList& middle_x, QStringList& middle_y, QStringList& radius);
4869 
4885  int iCameraSetupResultGeo(int& success, double& optical_x_pix, double& optical_x_mm, double& optical_y_pix,
4886  double& optical_y_mm, double& horizontal, double& vertical, double& axial, double& repro_x, double& repro_y);
4887 
4898  int iCameraSetupResultPhoto(int& success, double& minimum, double& maximum, QStringList& vertical,
4899  QStringList& horizontal);
4900 
4905  int iReFocus(double& sharpness, double& edge);
4906 
4915  int iIsTriggerAvailable(int& interntrigger, int& externtrigger, int& imagetrigger);
4916 
4925  int iSetTriggerCommonParameter(double timeout, double capturedistance, double exposuredelay,int triggerhigh, int strobehigh);
4926 
4935  int iGetTriggerCommonParameter(double& timeout, double& capturedistance, double& exposuredelay,int& triggerhigh, int& strobehigh);
4936 
4943  int iSetTriggerStrobeParameter(int parametrizable, double delay, double duration);
4944 
4951  int iGetTriggerStrobeParameter(int& parametrizable, double& delay, double& duration);
4952 
4953  // average Parameter between 1 and 100%. Averaging of image signal between current and previous image.
4954  // If average=100%, only the current image is used. If average is smaller also
4955  // previous images are taken into account.
4966  int iSetTriggerImageParameter(int top, int bottom, int left, int right, int reserved, int level, double exposure);
4967 
4978  int iGetTriggerImageParameter(int& top, int& bottom, int& left, int& right, int& reserved, int& level, double& exposure);
4979 
4987  int iSetTrigger(int type);
4988 
4996  int iGetTrigger(int& type);
4997 
5001  int list,
5002  int index,
5003  int& position
5010  );
5011 
5015  int list,
5016  int index,
5017  int position
5024  );
5025 
5029  int srcimage,
5030  QString parameterfile,
5031  int dstimage
5032  );
5033 
5037  int iGetLensID(QString& lensID);
5038 
5043  int iGetRawMinMaxFocus(int& minimum, int& maximum);
5044 
5048  int iGetRawFocus(int& value);
5049 
5053  int iSetRawFocus(int value);
5054 
5055  //---------------------------------------------------------------------------------------------
5056  // Beginn Sticking images Level-3 Funktionen
5057  // Die Funktionen sind in LmkAxServer_SI3.cpp implementiert
5058 
5060  int iSI3_OpenDialog();
5061 
5063  int iSI3_CloseDialog();
5064 
5068  int iSI3_LoadProject(QString filename);
5069 
5073  int iSI3_SaveProject(QString filename);
5074 
5076  int iSI3_StartMeasure();
5077 
5079  int iSI3_StopMeasure();
5080 
5089  int iSI3_SetParameters(int binalevel, int maxobjectsize, double horzscanfactor, int bordersize,
5090  int showregions, int corrnonuniformity);
5091 
5100  int iSI3_GetParameters(int& binalevel, int& maxobjectsize, double& horzscanfactor, int& bordersize,
5101  int& showregions, int& corrnonuniformity);
5102 
5106  int iSI3_LoadParameters(QString filename);
5107 
5111  int iSI3_SaveParameters(QString filename);
5112 
5114  int iSI3_DefaultParameters();
5115 
5117  int iSI3_TeachRegions();
5118 
5121 
5122  // Ende Sticking images Level-3 Funktionen *************************************************
5123 
5124  //---------------------------------------------------------------------------------------------
5125  // Beginn Pixel crosstalk Funktionen
5126  // Die Funktionen sind in LmkAxServer_PCT.cpp implementiert
5127 
5129  int iPCT_OpenDialog();
5130 
5132  int iPCT_CloseDialog();
5133 
5135  int iPCT_SetFlags(
5136  int createTemplate,
5137  int darkCapture,
5138  int pixelCapture,
5140  int red,
5141  int green,
5142  int blue,
5143  int white
5144  );
5145 
5147  int iPCT_GetFlags(
5148  int& createTemplate,
5149  int& darkCapture,
5150  int& pixelCapture,
5152  int& red,
5153  int& green,
5154  int& blue,
5155  int& white
5156  );
5157 
5159  int iPCT_LoadParameters(
5160  QString filename
5161  );
5162 
5164  int iPCT_SaveParameters(
5165  QString filename
5166  );
5167 
5169  int iPCT_CaptureDarkImage();
5170 
5172  int iPCT_LoadDarkImage(
5173  QString filename
5174  );
5175 
5177  int iPCT_CapturePixelImage();
5178 
5180  int iPCT_LoadPixelImage(
5181  QString filename
5182  );
5183 
5185  int iPCT_ExecAutomatically();
5186 
5187  // Ende Pixel crosstalk Funktionen *************************************************
5188 
5189  //---------------------------------------------------------------------------------------------
5190  // Beginn Sticking images Level-2 Funktionen
5191  // Die Funktionen sind in LmkAxServer_SI2.cpp implementiert
5192 
5194  int iSI2_OpenDialog();
5195 
5197  int iSI2_CloseDialog();
5198 
5200  int iSI2_LoadProject(
5201  QString filename
5202  );
5203 
5205  int iSI2_SaveProject(
5206  QString filename
5207  );
5208 
5210  int iSI2_LoadTeachIn(
5211  QString filename
5212  );
5213 
5215  int iSI2_SetSchedule(
5216  double rollingTime,
5217  double burnInTime,
5218  double relaxationTime,
5219  int firstTriggered,
5220  int corrNonUniformity
5221  );
5222 
5224  int iSI2_GetSchedule(
5225  double& rollingTime,
5226  double& burnInTime,
5227  double& relaxationTime,
5228  int& firstTriggered,
5229  int& corrNonUniformity
5230  );
5231 
5233  int iSI2_SetDefaults();
5234 
5236  int iSI2_SetImageDir(
5237  int saveImages,
5238  QString directoryName
5239  );
5240 
5242  int iSI2_GetImageDir(
5243  int& saveImages,
5244  QString& directoryName
5245  );
5246 
5248  int iSI2_StartMeasure();
5249 
5251  int iSI2_StopMeasure();
5252 
5254  int iBitmapGetList(
5255  QStringList& bitmapList
5256  );
5257 
5259  int iExportBitmapToFile(
5260  QString bitmapName,
5261  QString fileName
5262  );
5263 
5264  //---------------------------------------------------------------------------------------------
5265  // Beginn Sparkle Funktionen
5266  // Die Funktionen sind in LmkAxServer_Sparkle.cpp implementiert
5267 
5269  int iSPA_OpenDialog();
5270 
5272  int iSPA_CloseDialog();
5273 
5277  int iSPA_Autoscan(
5278  double& time
5279  );
5280 
5285  double time,
5286  int count
5287  );
5288 
5293  double& time,
5294  int& count
5295  );
5296 
5300  int iSPA_Capture();
5301 
5306  double fieldAngle,
5307  double resolution,
5308  int showAngle,
5309  int defaultValues
5310  );
5311 
5316  double& fieldAngle,
5317  double& resolution,
5318  int& showAngle,
5319  int& defaultValues
5320  );
5321 
5326  int height,
5327  int width,
5328  int top,
5329  int left,
5330  int showRegion,
5331  int showDisplay
5332  );
5333 
5338  int& height,
5339  int& width,
5340  int& top,
5341  int& left,
5342  int& showRegion,
5343  int& showDisplay
5344  );
5345 
5349  int iSPA_ReadCarFile(
5350  QString filename
5351  );
5352 
5357  QString filename
5358  );
5359 
5364  QString filename
5365  );
5366 
5371  double middle,
5372  double range,
5373  double step
5374  );
5375 
5380  double& middle,
5381  double& range,
5382  double& step
5383  );
5384 
5389  int iSPA_LoopMeasure(
5390  double& value,
5391  double& position
5392  );
5393 
5397  int iSPA_SingleMeasure(
5398  double& value
5399  );
5400 
5401  // Ende Sparkle-Funktionen *******************************************************************
5402 
5406  int iCamera_Firmware(
5407  int& fpga,
5408  int& firmware,
5409  int& build,
5410  int& lens
5412  );
5413 
5426  int iCamera_List(QStringList& list);
5427 
5428  //-----------------------------------------------------------------------
5429 
5434  int _iLIDIndex,
5435  double _dPhiMin,
5436  double _dPhiMax,
5437  double _dPhiStep,
5438  double _dThetaMin,
5439  double _dThetaMax,
5440  double _dThetaStep,
5441  int _iShowPositioningMessageBoxes
5442  );
5443 
5448  int iSaveRegionListCS(
5449  int _iList,
5450  QString _qFileName,
5451  int _iOverwrite
5452  );
5453 
5458  int iLoadRegionListCS(
5459  int _iList,
5460  QString _qFileName,
5461  int _iOverwrite
5462  );
5463 
5464  // "Search for regions and using them automatically" dialog **********************************
5465 
5467  int iSR_Open();
5468 
5470  int iSR_Close();
5471 
5473  int iSR_Execute();
5474 
5476  int iSR_SetSearchingFor(
5477  int image,
5478  double threshold,
5479  int smoothing
5480  );
5481 
5483  int iSR_GetSearchingFor(
5484  int& image,
5485  double& threshold,
5486  int& smoothing
5487  );
5488 
5491  int enlarge,
5492  int smoothing,
5493  int minsize,
5494  int maxsize,
5495  int convex,
5496  int rectangles
5497  );
5498 
5501  int& enlarge,
5502  int& smoothing,
5503  int& minsize,
5504  int& maxsize,
5505  int& convex,
5506  int& rectangles
5507  );
5508 
5510  int iSR_SetUseRegions(
5511  int usage,
5515  int delexisting,
5516  int createmiss,
5517  double distance,
5518  double area,
5519  double circumference,
5520  double shape,
5521  double rotation,
5522  double displacement
5523  );
5524 
5526  int iSR_GetUseRegions(
5527  int& usage,
5531  int& delexisting,
5532  int& createmiss,
5533  double& distance,
5534  double& area,
5535  double& circumference,
5536  double& shape,
5537  double& rotation,
5538  double& displacement
5539  );
5540 
5542  int iSR_SetStatistics(
5543  int statistic,
5548  int separate
5551  );
5552 
5554  int iSR_GetStatistics(
5555  int& statistic,
5560  int& separate
5563  );
5564 
5565  // DeMura Debugdialog TechnoTeam only
5566  int iDM_DebugDialog(
5567  QString command, // Command,
5568  QString& param1, // 1. I/O parameter
5569  QString& param2, // 2. I/O parameter
5570  QString& param3, // 3. I/O parameter
5571  QString& param4, // 4. I/O parameter
5572  QString& param5, // 5. I/O parameter
5573  QString& param6, // 6. I/O parameter
5574  QString& param7, // 7. I/O parameter
5575  QString& param8 // 8. I/O parameter
5576  );
5577 
5578 signals:
5590  void vSignalImageContentChanged(int _iImage);
5591 
5607  void vSignalWaitTrigger(double _dTimeout);
5608 
5609  void signalAx(QString name, QList<QVariant>& parameters, unsigned long& retvalue);
5610 
5611 private:
5612  // Bug 556 – iGetTimeValuesStatistic
5613  static void _vVector2StringList(std::vector<double>& _dprX,QStringList& _slrX,bool _bFullResolution=false);
5614  static unsigned long _ulStringList2Vector(QStringList& _slrX,std::vector<double>& _dprX);
5615 
5616  FILE* openProtokoll();
5617  void start( const char* function, const QString& output );
5618  void protStop( const char* function, const QString& output );
5619  void protokoll( const char* message, const char* function, const QString& output );
5620  void closeProtokoll();
5621 
5622  unsigned long connectToStickingImages3();
5623  QWidget* getStickingImages3Dialog();
5624  unsigned long connectToPixelCrosstalk();
5625  QWidget* getPixelCrosstalkDialog();
5626  unsigned long connectToStickingImages2();
5627  QWidget* getStickingImages2Dialog();
5628 
5629  unsigned long connectToSparkle();
5630  QWidget* getSparkleDialog();
5631 
5632  unsigned long connectToSearchRegionDialog();
5633  QWidget* getSearchRegionDialog();
5634 
5635  unsigned long connectToDeMuraDebugDialog();
5636  QWidget* getDeMuraDebugDialog();
5637 
5638 
5639  QLmk4 *m_pLmk4;
5640 
5641  bool m_protokoll;
5642  FILE* m_protfile;
5643 
5644  unsigned long m_ulVersion; // Programmversion
5645  unsigned long m_ulColor; // Farbversion
5646  unsigned long m_ulActiveX; // ActiveX
5647  unsigned long m_ulDemoVersion; // Demoversion
5648 
5649  static const wchar_t* cwcpLNR;
5650  static const wchar_t* cwcpInvalidLicense;
5651 
5652 
5653 private slots:
5654  void vSlotImageContentChanged(int _iImage);
5655  void vSlotWaitTrigger(double _dTimeout);
5656 
5657 };
5658 
5659 #endif // LMKAXSERVER_H
5660 
5661 #endif//AXSERVER2
5662 
int iSPA_OpenDialog()
Opens the Sparkle dialog.
int iWordGetNumberItems(int &_irNumber)
Get number of data entries in Word dialog.
int iGetProgramInfo(QString &_qrProgramType, QString &_qrProgramVersion, QString &_qrCameraType, QString &_qrCameraNumber, QString &_qrLensNumber)
Get some information about program version and camera current used.
int iMatrixModuleOpenDialog()
Opens the dialog for Matrix module measurements.
int iSinglePic(double _dExposureTime, int _iSmear, double _dModFrequency)
SinglePic capture algorithm.
int iGetGeometricStatistic(int _iTyp, int _iObject, int _iClass, double &_drX, double &_drY)
Get geometric center of object or class.
int iTIG_GetBorderProperties(int &_irUse, int &_irLeft, int &_irRight, int &_irTop, int &_irBottom, int &_irValue)
Get properties of image border.
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.
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.
int iSetGreyFilter(int _iIndex, int _iSelect)
Selection of a grey filter.
int iDeleteGroup(int _iList, int _iRegionIndex)
Ungroup action.
int iGetColorFactorsName(int _iIndex, QString &_qrName)
Get name of color factor set.
int iGetIndexOfRegion(int _iList, QString _qName, int &_irIndex)
Get index of region given region name.
int iGetSmear(int &_irSmear)
Get the parameter for smear correction.
int iSinglePic2(double _dExposureTime)
SinglePic capture algorithm.
int iBlackMuraSetSerialNumber(QString _qSerialNumber)
Set the serial number of next display to examine.
int iGetRegionName(int _iList, int _iIndex, QString &_qrName)
Read region name.
int iColorDiffImgImg(int _iSrcColorImage1, int _iSrcColorImage2, int _iDstGreyImage, int _iColorDifferenceType, double _dMinimumLuminance, int _iSmoothing, QStringList &_qslParameter)
Calculate a color difference between two images.
int iBlackMuraGetMeasureFlags(int &_irShowDarkClassification, int &_irSaveAutomatically)
Get flags for DarkMura measurement.
int iMotor_ReadIni(QString filename)
Read of ini file with information about the axes.
int iSI3_TeachRegions()
Teach regions.
int iBlackMuraCloseDialog()
Closes the dialog for BlackMura measurements.
int iSR_SetChangeRegions(int enlarge, int smoothing, int minsize, int maxsize, int convex, int rectangles)
Set parameters to section "Change regions".
int iCamera_GetParameter(QString _qName, QString &_qrValue)
Read some additional camera properties.
int iImageSetRefColorInRGB(int _iImage, double _dRed, double _dGreen, double _dBlue)
Set the reference color of an image.
int iGetMinMaxAperture(int &minimum, int &maximum)
Get range of aperture values.
int iImageGetPixelColor(int _iImage, int _iLine, int _iColumn, double &_drRed, double &_drGreen, double &_drBlue)
Get a pixel value of a color image.
int iSPA_WriteParameterFile(QString filename)
Write parameter file *.spa.
int iSI3_StopMeasure()
Stops measurement.
int iGetMaxCameraTime(double &_drMaxCameraTime)
Determine the maximum possible exposure time.
int iTIG_GetParameterValue(QString _qName, double &_drValue)
Get a certain parameter value.
int iLIDgetParamName(int _iIndex, QString &_qParamName)
Get name of a parameter set in LID calculation dialog.
int iSI3_CloseDialog()
Closes the Sticking images Level-3 dialog.
int iPCT_CaptureDarkImage()
Capture dark image.
int iLensInit()
Reinitialize controllable lens.
int iSetNewCamera(QString _qPathToLens)
Set new camera calibration data.
int iDatabaseImageOptionsGet(int &_irSaveMode, QString &_qrDirectory)
Get the options for saving images.
int iCameraSetupLoadProject(QString _qFileName)
Load predefined project file.
int iReadFromStatusLine(QString &_qMessage)
Read a string from the status line of the program.
int iBlackMuraAdjImageCopy()
Copy adjustment image from "Camera image" to "Adjustment image".
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.
int iOpen()
Opens the Lmk4 application.
int iGetCameraLensPath(QString &_qrCameraLensPath)
Returns path to current camera lens combination.
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.
int iTIG_GetListOfCategories(QStringList &_qslCategories)
Get list of categories of template images.
int iMotor_GetAxisPosition(int index, double &position)
Get position of an axis.
int iMultiPic(double _dExposureTime, int _iCountPic, int _iSmear, double _dModFrequency)
MultiPic capture algorithm.
int iGetPhotometricStatistic(int _iTyp, int _iObject, int _iClass, double &_drX, double &_drY)
Get photometric center of object or class.
int iCoordSystemSetCartesian(int _iImage, double _dScalingX, double _dOffsetX, double _dScalingY, double _dOffsetY)
Set the parameter of a cartesian system.
int iSPA_ReadParameterFile(QString filename)
Read parameter file *.spa.
int iBlackMuraDarkLoad(QString _qFileName)
Load a dark image and calculates results.
int iCamera_GetOverdriveRegion(int &_irUseRegion, int &_irTop, int &_irBottom, int &_irLeft, int &_irRight)
Get the region, which is used for overdrive control.
int iExcelSelectAll()
Select all items in Excel dialog.
int iLoadRegionListCS(int _iList, QString _qFileName, int _iOverwrite)
Load region list in units of coordinate system.
int iWordUnselectAll()
Unselect all items in Word dialog.
int iSetTriggerImageParameter(int top, int bottom, int left, int right, int reserved, int level, double exposure)
Set image trigger parameter for Lmk6 camera.
int iGetViewScalingRect(int image, int &top, int &bottom, int &left, int &right)
Get used scaling rectangle of image view.
int iGetTriggerImageParameter(int &top, int &bottom, int &left, int &right, int &reserved, int &level, double &exposure)
Get image trigger parameter for Lmk6 camera.
int iSetViewZoom(int image, double zoom, int top, int left)
Set new zooming parameters.
int iImportHDF5Protocol(QString _qPathName)
Import a HDF5 protocol.
int iCameraSetupDialogOpen()
Opens the dialog "Camera set-up.
int iExcelGetNumberItems(int &_irNumber)
Get number of data entries in Excel dialog.
int iTIG_LoadParameter(QString _qFileName)
Load file with predefined parameter values.
int iSelectRegion(int _iList, int _iRegion, int _iSelected)
Selects or deselects a region.
int iBitmapGetList(QStringList &bitmapList)
List of all available bitmaps in program (images, graphics, diagrams)
int iLEXsetOrigin(double _dThetaDiff, int _iThetaSign, double _dPhiDiff, int _iPhiSign)
Modification of origin of coordinate system.
int iSPA_LoopMeasure(double &value, double &position)
Complete measurement with image displays, diagram and tables.
int iSetModulationFrequency(double _dModFrequency)
Set the frequency of modulated light.
int iGetViewPalette(int image, int &palette)
Get index of used palette.
int iGetColorCorrList(QStringList &_qList, QStringList &_qSelected)
List of available color correction factors.
int iSR_GetStatistics(int &statistic, int &separate)
Get parameters from section "Generate statistics.
int iMotor_OpenAxes()
Initialisation of all axes.
int iSI3_GetParameters(int &binalevel, int &maxobjectsize, double &horzscanfactor, int &bordersize, int &showregions, int &corrnonuniformity)
Get parameters of measurement.
int iImageGetRefColorInRGB(int _iImage, double &_drRed, double &_drGreen, double &_drBlue)
Get the reference color of an image.
int iSPA_SetCaptureParam(double time, int count)
Set exposure time and number of images for MultiPic algorithm.
int iTIG_SetParameterValue(QString _qName, double _dValue)
Set a certain parameter value.
int iTableGetIndex(QString _qNameOrCaption, int &_irTable)
Search for a table, given by name or caption.
int iSPA_GetCameraParameter(double &fieldAngle, double &resolution, int &showAngle, int &defaultValues)
Get capture parameters.
int iWriteToStatusLine(QString _qMessage)
Writes a string to the status line of the program.
int iLoadProtokoll(QString _qPathName)
Load a protocol from a file.
int imageArithmeticI(QString _qCode, int _iSrcImage, int _iDstImage)
Image arithmetic with one source image and one destination image.
int iGetArcObjectValues(int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slrValues)
Get the values of the lightarc in a grey image.
int iGetStatisticSize(int _iStatistic, int &_irSize)
Determine number of objects in a statistic vector.
int iParamStatistics_Disconnect(int _iType, int _iIndex)
Separate the statistic parameter set of one object.
int iWriteRegisterFile(QString _qFileName)
Write register file.
int iSetCameraParameter(QString _qParameterName, QString &_qrParameterValue)
Write access to camera parameter.
int iReFocus(double &sharpness, double &edge)
Make autofocus procedure in a small range around the last good value.
int iTIG_SaveImage(QString _qFileName)
Save template image to a file.
int iImageSetSize(int _iIndex, int _iFirstLine, int _iLastLine, int _iFirstColumn, int _iLastColumn)
Changes the size of an existing image.
int iAutoScanTime()
Determine a good exposure time.
int iSetColorFactors(int _iIndex)
Set a color matrix.
int iGetRawFocus(int &value)
Get current focus position.
int iSetFocusParameter(int subsampling, int top, int bottom, int left, int right)
Set parameter for autofocus.
int iGetTriggerStrobeParameter(int &parametrizable, double &delay, double &duration)
Get strobe trigger parameter for Lmk6 camera.
int iMultiPic2(double _dExposureTime, int _iCountPic)
MultiPic capture algorithm.
int iWordSave()
Save Word file.
int iSI2_LoadTeachIn(QString filename)
Load TeachIn file *.car.
int iLEXanglesFromSelRect()
Set angle area from selected rectangle coordinate system.
int iBlackMuraGetFlagsProject(int &_irShowCoord, int &_irShowMeasurementRegion, int &_irShowAdjustmentRegions, int &_irShowBrightClassification)
Get flags for DarkMura project.
int iTIG_LoadImage(QString _qFileName)
Load template image file to the target.
int iDatasetRead(int _iContentId)
Read a dataset from the database into LabSoft.
int iWordSelectAll()
Select all items in Word dialog.
int iCamera_SetOverdriveRegion(int _iUseRegion, int _iTop, int _iBottom, int _iLeft, int _iRight)
Set the region, which is used for overdrive control.
int iExcelCopySelected()
Copy all selected items to Excel.
int iGetGreyProjectionValues(int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slrValues)
Get the values of the projection in a grey image.
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.
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.
int iGetNumEquations(int _iTyp, int _iObject, int &_irNumEquations)
Get the number of line equations.
int iLoadImage(int _iNumber, QString _qFileName)
Load image.
int iSI3_OpenDialog()
Opens the Sticking images Level-3 dialog.
int iOpenRegisterMapFile(QString _qFileName)
Open register map file.
int iSetImageName(int _iIndex, QString _qName)
Changes the name of an image.
int iSPA_GetMovementParameter(double &middle, double &range, double &step)
Get movement parameters for measurement.
int iSPA_CloseDialog()
Closes the Sparkle dialog.
int iGetImageName(int _iImageIndex, QString &_qsImageName)
Determines the name of an image.
int iMotor_CloseAxes()
Close axes access.
int iSetRawFocus(int value)
Set focus position.
int iExcelSetVisible(int _iVisible)
Change visbility of Excel program.
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.
int iExcelCopyItem(int _iIndex)
Copy one item to Excel.
int iLoadCaptureParameterSet(QString _qParameterSet)
Load predefined parameter set for the next captures.
int iSI3_DefaultParameters()
Set parameters to default values.
int iLEXcloseDialog()
Closes dialog for LID export into a file.
int iGetIndexOfImage(QString _qName, int &_irIndex)
Get index of image given image name.
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.
int iSetDarkening(int _iDarkening, int _iSwitchMonitorOff, double _dTimeOut)
Darkening computer monitor while capturing.
int iGetGreyHistogramValues(int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrValues)
Get the values of the histogram in a grey image.
int iLEXanglesFromImage()
Set angle area from image coordinate system.
int iSI3_SaveProject(QString filename)
Save project file *.stimp.
int iCoordinateTransformationI(int srcImage, int xIndexImage, int yIndexImage, int targetImage)
Coordinate transformation with two index images.
int iGetLensID(QString &lensID)
Get ID of lens.
int iLEXsetParameter(double _dTemperatur, double _dWattage, double _dVoltage, double _dCurrent, double _dLightFlux)
Parameters for export file.
int iGetIntegrationTime(double &_drCurrentTime, double &_drPreviousTime, double &_drNextTime, double &_drMinTime, double &_drMaxTime)
Determine current exposure time and other time parameters.
int imageArithmeticIP1(QString _qCode, int _iSrcImage, QString _qParameter, int _iDstImage)
Image arithmetic with one source image, one parameter and one destination image.
int iCameraSetupMeasurementStop()
Stop measurement in camera or luminance image.
int iGetAutomatic(int &_irAutomatic)
Get the state of Automatic-Flag for exposure times.
int iGetRecalibrationFactor(double &_dFactor)
Get recalibration factor.
int iSR_Close()
Closes the dialog.
int iTIG_ShowDialog()
Make template image dialog visible.
int iSR_SetStatistics(int statistic, int separate)
Set parameters to section "Generate statistics".
int iGetFlagsStatistic(int _iTyp, int _iObject, int &_irGeo, int &_irPhoto, int &_irMinMax, int &_irTime, int &_irHorseshoe)
Get Flags for statistic evaluations.
int iMergeColorImage(int _iSrcGreyImage1, int _iSrcGreyImage2, int _iSrcGreyImage3, int _iDstColorImage, int _iColorSpace)
Create a color image from color extracts.
int iSetSuppressProgressDialog(int _iSuppress)
Suppress view of progress dialog while capturing an luminance or color image.
int iSetNewCamera2(QString _qNameCamera, QString _qNameLens)
Set new camera calibration data.
int iHighDynPic2(double _dMaxTime, double _dMinTime, double _dFactor, int _iPicCount)
HighDyn capturing for luminance image.
int iGetEquation(int _iTyp, int _iObject, int _iEquation, QString &_qsName, QString &_qsFormula, int &_iWhereToShow, int &_irValid, double &_drResult)
Get an equation and its result.
int iGetViewZoom(int image, double &zoom, int &top, int &left)
Get current zooming parameters.
int iDatasetDelete(int _iContentId)
Delete a dataset in database.
int iSI2_LoadProject(QString filename)
Load project file *.si2.
int iTIG_IsOperation(QString _qCategory, QString _qOperation, int &_irSet)
Ask, if a type of template image is selected.
int iGetPermanentImageName(int _iImageIndex, QString &_qsImageName)
Determines the name of an image.
int iCoordSystemCoordToPixel(int _iImage, double _dCoordXorPhi, double _dCoordYorRadius, double &_drPixelX, double &_drPixelY)
Convert coordinates to pixel indices.
int iColorCaptureHighDyn(QStringList &_qslExposureTimes, double _dStartRatio, double _dFactor, int _iCountPic)
Capturing of color images with the HighDyn algorithm.
int iGetClass(int _iTyp, int _iObject, int _iClass, QString &_qsClassName, int &_irVisible)
Get name and visibility of class.
int iGetTimeSizeStatistic(int _iTyp, int _iObject, int &_irSize)
Number of elements of a time statistics.
int iExcelSetItemProperties(int _iIndex, QString _qSheet, int _iClear, QString _qRange, int _iSelect)
Set the informations about a data entry.
int iSetScatteredLight(int _iScatteredLight)
Use of scattered light correction.
int iSaveImageRegion(int _iImage, int _iRegion, QString _qFileName)
Save image region.
int iCoordSystemWriteFile(int _iImage, QString _qFileName)
Write parameter into a file.
int iIsTriggerAvailable(int &interntrigger, int &externtrigger, int &imagetrigger)
Which trigger modi for Lmk6 camera are available?
int iGetErrorInformation(QString &_rErrorInformation)
More precisely error description.
int iMatrixModuleWriteResults(QString filename)
Writes a result file (*.csv format)
void vSignalWaitTrigger(double _dTimeout)
If capturing algorithm waits for extern trigger signal.
int iLoadIsoPalette(int image, QString filename)
Load iso color palette from a file.
int iDeleteRegion(int _iList, int _iIndex)
Delete a region.
int iPCT_OpenDialog()
Opens the Pixel crosstalk dialog.
int iResetTimeStatistic(int _iTyp, int _iObject)
Reset a time statistic.
int iReadIniFileEntries(QString _qFileName, QString _qSection, QStringList &_qslEntries)
Read list of entries in a section of an inifile.
int iSI2_GetSchedule(double &rollingTime, double &burnInTime, double &relaxationTime, int &firstTriggered, int &corrNonUniformity)
Get schedule of measurement.
int iExcelOpenFile(QString _qFileName)
Open an Excel file for data export.
int iTIG_HideDialog()
Make template image dialog invisible.
int iSetConvertingUnits(QString _qName, QString _qUnit, double _dFactor)
Set new converting values.
int iLEXsetDescription(QString _qDescription, QString _qNumber, QString _qLaboratory, QString _qManufactory, QString _qUserName)
Descriptions for export file.
int iLEXsetCoordSystem(QString _qSrcCoordSystem, QString _qDstCoordSystem)
Types of coordinate system orientation used.
int iBlackMuraGetSerialNumber(QString &_qrSerialNumber)
Get the serial number of next display to examine.
int iTableGetNumberLines(int _iTable, int &_irNumberLines)
Returns the number of lines of a table.
int iDatabaseImageOptionsSet(int _iSaveMode, QString _qDirectory)
Set the options for saving images.
int iCreateRegion(int _iList, int _iType, int _iNumPoints, QStringList &_slX, QStringList &_slY)
Create a region.
int iCameraSetupResultCircles(int &success, QStringList &middle_x, QStringList &middle_y, QStringList &radius)
Get position of circles found in image.
int iDatasetUserTableWrite(int _iContentId, QStringList &_qslNames, QStringList &_qslValues)
Write informations of a dataset into the user table.
int iSPA_ReadCarFile(QString filename)
Read camera adjustment file *.car, contains information about display to be measured.
int iMotor_SetAxisPosition(int index, double position)
Set position of an axis (axis begin to move)
int iCamera_Firmware(int &fpga, int &firmware, int &build, int &lens)
Get version of firmware in camera and lens.
int iReadRegisterMap(QString _qRegisterName, int &_irValue)
read register value
int iSR_Execute()
Execute search and usage.
int iSaveImage(int _iNumber, QString _qFileName)
Save image.
int iWordOpenFile(QString _qFileName)
Open an Word file for data export.
int iTableGetNumber(int &_irNumber)
Returns the number of tables in the result tab widget.
int iGetRegionListSize(int _iList, int &_irSize)
Determine the number of regions in a list.
int iSI2_OpenDialog()
Opens the Sticking images Level-2 dialog.
int iMatrixModuleReadParameter(QString filename)
Load a parameter set (*.ini format)
int iBlackMuraSaveProject(QString _qFileName)
Saves BlackMura project file.
int iBlackMuraSetMeasureFlags(int _iShowDarkClassification, int _iSaveAutomatically)
Set flags for DarkMura measurement.
int iSetTriggerMode(int _iTriggerMode, double _dTimeout)
Switch on or off triggered mode of capturing.
int iClearUndoRegionList(int _iList)
Delete the undo stack of region list (saves memory and time)
int iPCT_LoadDarkImage(QString filename)
Load dark image from file.
int iSetSuppressOverflow(int _iSuppress)
Suppress overflow warning in measurement series.
int iTIG_CreateImage()
Create template image with the adjusted parameters.
int iSetIntegrationTime(double _dWishedTime, double &_drRealizedTime)
Set new exposure time.
int iLIDgetCountParam(int &_iCount)
Get number of available parameter set in LID calculation dialog.
int iLIDexecute(int _iIndex)
Executes a LID calculation with one of the parameter set.
int iLEXsetImage(QString _qImageName)
int iWriteRegisterMap(QString _qRegisterName, int _iValue)
int iSetAperture(int value)
Set aperture value.
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.
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.
int iBlackMuraLoadAdjFile(QString _qFileName)
int iDatasetUserTableInfo(int &_irNumberEntries, QStringList &_qslNameList, QStringList &_qslCaptionList, QStringList &_qslTypes, QStringList &_qslDefaults, QStringList &_qslComments)
Get informations about construction of the user table.
int iGetFocusParameter(int &subsampling, int &top, int &bottom, int &left, int &right)
Get parameter for autofocus.
int iDatasetUserTableRead(int _iContentId, QStringList &_qslNames, QStringList &_qslValues)
Read informations of a dataset from the user table.
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".
int iColorDiffImgCol(int _iSrcColorImage1, QStringList &_qslColor2inRGB, int _iDstGreyImage, int _iColorDifferenceType, double _dMinimumLuminance, int _iSmoothing, QStringList &_qslParameter)
Calculate a color difference to a reference color.
int iTableGetAllContent(int _iTable, QStringList &_qslContent)
Returns all cells of a table as a list.
int iShow(int _iShowStatus)
Change visibility of the program.
int iGetColor(double _iInputR, double _iInputG, double _iInputB, double _iReferenceR, double _iReferenceG, double _iReferenceB, int _iColorSpace, double &_iOutputColor1, double &_iOutputColor2, double &_iOutputColor3)
int iSplitColorImage(int _iSrcColorImage, int _iDstGreyImage1, int _iDstGreyImage2, int _iDstGreyImage3, int _iColorSpace)
Split a color image into color extracts.
int iCreateGroup(int _iList, int _iGroupType, int _iNumRegions, QStringList &_slRegionIndices)
Creates a group.
int iDatabaseOpen(QString _qDatabaseName, QString _qUserName, QString _qPassword)
Opens a database for read / write access.
int iExcelGetItemProperties(int _iIndex, int &_irType, QString &_qrName, QString &_qrSheet, int &_irClear, QString &_qrRange, int &_irSelected)
Get the informations about a data entry.
int iWordClose()
Close Word program.
int iSetClass(int _iTyp, int _iObject, int _iClass, QString _qsClassName, int _iVisible)
Set name and visibility of class.
int iSI2_SaveProject(QString filename)
Save project file *.*.si2.
int iWordSetVisible(int _iVisible)
Change visbility of Word program.
int iLIDopenDialog(QString _qFileName)
Opens dialog for LID calculation.
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".
int iWordCopyItem(int _iIndex)
Copy one item to Word.
int iGetModulationFrequency(double &_drModFrequency)
Get the modulation frequency.
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.
int iGetColorHistogramValues(int _iObject, int _iColor, int &_irNumber, QStringList &_slrX, QStringList &_slrValues)
Get the values of the histogram in a color image.
int iSI2_CloseDialog()
Closes the Sticking images Level-2 dialog.
int iTIG_GetNumberTargetDisplays(int &_irNumber)
Number of connected displays.
int iTableGetColumn(int _iTable, int _iColumn, QString &_qrName, QString &_qrCaption, QString &_qrUnit)
Returns the column header of a column of a table.
int iSaveProtokoll(QString _qPathName)
Save a protocol into a file.
int iImageDelete(int _iIndex)
Deletes an evaluation image.
int iWriteIniFileEntry(QString _qFileName, QString _qSection, QString _qEntry, QString _qValue)
Write value of an entry in a section of an inifile.
int iPCT_CloseDialog()
Closes the Pixel crosstalk dialog.
int iWritePhysicalRegister(int _iRegister, int _iValue)
Write physical register of camera.
int iSetTriggerCommonParameter(double timeout, double capturedistance, double exposuredelay, int triggerhigh, int strobehigh)
Set common trigger parameter for Lmk6 camera.
int iSetPositionRegionName(int list, int index, int position)
Write position of region name.
int iHaveStatistic(int _iImage, int _iRegion, int &_irHave, int &_irType, int &_irIndex)
Proof, if a statistic exists for a image / region / statistic type.
int iGetRawMinMaxFocus(int &minimum, int &maximum)
Get range of focus values.
int iLoadUserPalette(int image, QString filename)
Load iso color palette from a file.
int iWordSetItemProperties(int _iIndex, QString _qMarker, int _iSelect)
Set the informations about a data entry.
int iParamStatistics_GetName(int _iType, int _iIndex, QString &_qsName)
Get the name of a parameter set.
int iSI3_SaveParameters(QString filename)
Save parameters of measurement *.ini.
int iSetFocusFactor(int _iIndex)
Set a focus factor.
int iProjectiveRectification(int srcimage, QString parameterfile, int dstimage)
Projective rectification of an image.
int iSI2_SetSchedule(double rollingTime, double burnInTime, double relaxationTime, int firstTriggered, int corrNonUniformity)
Set schedule of measurement.
int iGetTriggerCommonParameter(double &timeout, double &capturedistance, double &exposuredelay, int &triggerhigh, int &strobehigh)
Get common trigger parameter for Lmk6 camera.
int iBlackMuraBrightLoad(QString _qFileName)
Load a bright image and calculates results.
int iSPA_Capture()
Capture luminance image.
int iMoveRegion(int _iList, int _iRegionIndex, double _dX, double _dY)
Move a region the wished distance.
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.
int iSI2_GetImageDir(int &saveImages, QString &directoryName)
Get image saving parameters.
int iCoordSystemGetCartesian(int _iImage, int &_irIsCartesian, double &_drScalingX, double &_drOffsetX, double &_drScalingY, double &_drOffsetY)
Set the parameter of a cartesian system.
int iTIG_DeleteImage()
Remove template image from the display.
int iLEXopenDialog()
Opens dialog for LID export into a file.
int iExcelSave()
Save Excel file.
int iSetRecalibrationFactor(double _dFactor)
Set recalibration factor.
int iGetGreyFilterList(QStringList &_qList, QStringList &_qSelected)
List of available grey filters.
int iExcelClose()
Close Excel program.
int iSetViewScaling(int image, double scaling, double minimum, double maximum)
Set new scaling of image view.
int iAutoFocus(int linear, int adaptive, double &sharpness, double &edge)
Make autofocus procedure.
int iGetPositionRegionName(int list, int index, int &position)
Read position of region name.
int iLEXexecute(QString _qFileName)
Export of LID into a file.
int iSI3_SetParameters(int binalevel, int maxobjectsize, double horzscanfactor, int bordersize, int showregions, int corrnonuniformity)
Set parameters of measurement.
int iCameraSetupSaveResult(QString _qFileName)
Save calculated results.
int iGetFocusFactorList(QStringList &_qList, int &_iSelect)
List of available focus factors.
int iSPA_GetCaptureParam(double &time, int &count)
Get exposure time and number of images for MultiPic algorithm.
int iSetViewScalingRect(int image, int top, int bottom, int left, int right)
Set new scaling rectangle of image view.
int iGetFlagsStatistic2(int _iTyp, int _iObject, int &_irGeo, int &_irPhoto, int &_irMinMax, int &_irTime, int &_irMaxCountTime, int &_irHorseshoe)
Get Flags for statistic evaluations.
int iSI3_TeachNonUniformity()
Teach nonuniformity.
int iSR_Open()
Opens the dialog.
int iDatasetList(int _iTypeOfSets, int &_irNumber, QStringList &_qslContentIds, QStringList &_qslTypes)
Get a list of datasets in the database.
int iPCT_SaveParameters(QString filename)
Save parameters set to *.ini file.
int iMotor_NumberOfAxes(int &number)
Get number of axes.
int iGetFocus(double &value)
Get current focus position.
int iDatasetWrite(int _iType, QString _qDescription, int &_irContentId)
Write a dataset from LabSoft to the database.
int iCreateStatistic(int _iTyp, int _iImage, int _iRegion, int _iNumberParam, QStringList &_slrParamList)
Create a new statistic.
int iSI2_SetDefaults()
Set parameters to default values.
int iWordCopySelected()
Copy all selected items to Word.
int imageArithmeticII(QString _qCode, int _iSrcImage1, int _iSrcImage2, int _iDstImage)
Image arithmetic with two source images and one destination image.
int iMatrixModuleCloseDialog()
Closes the dialog for Matrix module measurements.
int iImageCreate(int _iColorImage, QString _qImageName, int &_irIndex)
Creates an evaluation image.
int iPCT_GetFlags(int &createTemplate, int &darkCapture, int &pixelCapture, int &red, int &green, int &blue, int &white)
Get flags for Pixel crosstalk measurement.
int iSR_SetSearchingFor(int image, double threshold, int smoothing)
Set parameters to section "Searching for regions.
int iTableGetCell(int _iTable, int _iLine, int _iColumn, QString &_qrCell)
Returns the content of a cell of a table.
int iSetAutomatic(int _iAutomatic)
Set Automatic-Flag for all exposure times.
int iGetSuppressProgressDialog(int &_irSuppress)
Get the state of suppressing view of progress dialog.
int iGetDarkening(int &_iDarkening, int &_iSwitchMonitorOff, double &_dTimeOut)
Get the state of darkening computer monitor while capturing.
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.
int iGetAutoscan(int &_irAutoscan)
Get use of autoscan algorithm.
int iIsRegionSelected(int _iList, int _iRegion, int &_irIsSelected)
Is a region selected?
int iGetTrigger(int &type)
Is trigger mode switched on or off for Lmk6 camera?
int iWordGetItemProperties(int _iIndex, int &_irType, QString &_qrName, QString &_qrMarker, int &_irSelected)
Get the informations about a data entry.
int iGetNumClasses(int _iTyp, int _iObject, int &_irNumClasses)
Get the number of classes.
int iSetAutoscan(int _iAutoscan)
Set use of autoscan algorithm.
int iSelectImage(int _iIndex)
Bring image to front in LabSoft.
int iColorAutoScanTime(QStringList &_qslExposureTimes)
Determine good exposure times for every color filter.
int iPCT_SetFlags(int createTemplate, int darkCapture, int pixelCapture, int red, int green, int blue, int white)
Set flags for Pixel crosstalk measurement.
int iSI3_LoadProject(QString filename)
Load project file *.stimp.
int iMatrixModuleExecute()
Executes calculation with the current parameter set.
int iSPA_Autoscan(double &time)
Make autoscan algorithm and take over exposure time.
int iBlackMuraDarkCapture()
Makes a BlackMura dark capture and calculates results.
int iCoordSystemSetPolar(int _iImage, double _dXm, double _dYm, double _dFactorR, double _dFactorP, double _dOffsetP)
Set the parameter of a polar system.
int iGetColorFactorsSize(int &_irNumber)
Number of color factor sets.
int iSetMaxCameraTime(double _dMaxCameraTime)
Set the maximum possible exposure time.
int iSPA_SetMeasurementRegion(int height, int width, int top, int left, int showRegion, int showDisplay)
Set measuring region.
int iSinglePicsFromDirectory(QString _qSrcDirectory, QString _qDstDirectory)
Converts a directory with camera images to a directory with luminance images.
int iPCT_LoadPixelImage(QString filename)
Load pixel image from file.
int iParamStatistics_Connect(int _iType, int _iFirstIndex, int _iSecondIndex)
Take the statistic parameter of one object over to another.
int iHighDynPic(double _dMaxTime, double _dMinTime, double _dFactor, int _iSmear, double _dModFrequency)
HighDyn-Leuchtdichtebild-Aufnahme.
int iDatabaseClose()
Closes the currently opened database.
int iChangeRegion(int _iList, int _iIndex, int _iNumPoints, QStringList &_slX, QStringList &_slY)
Set the properties of a region.
int iCameraSetupDialogClose()
Closes the dialog "Camera set-up.
int iBlackMuraAutomaticMeasure(int _iBrightImage, int _iDarkImage, double _dTimeDelay)
Automatic measurement using DVI interface for the display to be measured.
int iTIG_GetListOfOperations(QString _qCategory, QStringList &_qslOperations)
Get list of types of template images for the given category.
int iCameraSetupResultPhoto(int &success, double &minimum, double &maximum, QStringList &vertical, QStringList &horizontal)
Get results of geometric adjustment.
int iLoadRegionList(int _iList, QString _qFileName, int _iOverwrite)
Load region list.
int iColorCaptureMultiPic(QStringList &_qslExposureTimes, int _iCountPic)
Capturing of color images with the MultiPic algorithm.
int iImageGetPixelGrey(int _iImage, int _iLine, int _iColumn, double &_drValue)
Get a pixel value of a grey image.
int iSI2_StartMeasure()
Starts measurement.
int iParamStatistics_SetName(int _iType, int _iIndex, QString _qsNewName)
Set the name of a parameter set.
int iSetViewPalette(int image, int palette)
Change color palette.
int iSI3_LoadParameters(QString filename)
Load parameters of measurement *.ini.
int iExportBitmapToFile(QString bitmapName, QString fileName)
Export a bitmap of a image, graphic or diagram to a bitmap file.
int iGetFilterWheel(int &_irCurrentFilter, QString &_srCurrentFilter)
Determine filter state.
int iMotor_GetAxisSpeed(int index, double &speed)
Get speed of an axis.
int iImageGetSize(int _iImage, int &_irFirstLine, int &_irLastLine, int &_irFirstColumn, int &_irLastColumn, int &_irDimensions)
Get image size and parameter.
int iExecTclCommand(QString _qCommand, int &_irReturn, QString &_qResult)
Execute a TCL command by the embedded tcl interpreter.
int iTIG_SetBorderProperties(int _iUse, int _iLeft, int _iRight, int _iTop, int _iBottom, int _iValue)
Set properties of image border.
int iSetFilterWheel(int _iCurrentFilter)
Set new filter position.
int iExcelUnselectAll()
Unselect all items in Excel dialog.
int iSinglePicFromFile(QString _qFileName)
Convert camera image file to luminance image.
int iSetGreyFilterList(QStringList &_qSelected)
Set grey filters.
int iDeleteEquation(int _iTyp, int _iObject, int _iEquation)
Delete an equation.
int iSetStatisticParameter(int _iTyp, int _iObject, int &_irNumberParam, QStringList &_slrParamList)
Change the parameters of a statistic.
int iGetSelectedImage(int &image)
Index of current image on top.
int iGetNumberImages(int &_irNumber)
Determine number of evaluation images.
int iReadPhysicalRegister(int _iRegister, int &_irValue)
Read physical register of camera.
int iCameraSetupMeasurementStart(int _iLuminanceImage)
Start measurement in camera or luminance image.
int iColorHighDynPic2(double _dMaxTime, double _dMinTime, double _dFactor, int _iPicCount)
HighDyn capturing for color image.
int iConvertCameraCalibrationData(int _iDestinationType, QString _qSourcePath, QString _qDestinationPath)
Convert camera calibration data.
int iTIG_SetTarget(int _iIndex, QString _qImageName)
Set target for template image generation.
int iBlackMuraOpenDialog()
Opens the dialog for BlackMura measurements.
int iReadIniFileEntry(QString _qFileName, QString _qSection, QString _qEntry, QString _qDefault, QString &_qValue)
Read value of an entry in a section of an inifile.
int iDefaultColorFactors(int _iIndex)
Reset color factor set = set to default values.
int iGetTriggerMode(int &_irTriggerMode, double &_drTimeout)
Is trigger mode switched on?
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.
int iGetAperture(int &value)
Get current aperture vaue.
int iGetSuppressOverflow(int &_irSuppress)
Get the state of suppress overflow warning in measurement series.
int iDatasetCopy(int _iSrcContentId, QString _qDstDatabaseName, QString _qDstUserName, QString _qDstPassword, int &_irDstContentId)
Copy a dataset to another database.
int iSPA_SetMovementParameter(double middle, double range, double step)
Set movement parameters for measurement.
int iBlackMuraBrightCapture()
Makes a BlackMura bright capture and calculates results.
int iGetColorFactorsList(QStringList &_qList, int &_iSelect)
List of available color matrices.
int iCoordSystemGetValueUnit(int _iImage, QString &_qrValueX, QString &_qrUnitX, QString &_qrValueY, QString &_qrUnitY, QString &_qrUnitArea)
Get the values and units of the axi.
int iTableGetNumberColumns(int _iTable, int &_irNumberColumns)
Returns the number of columns of a table.
Definition: LMKAxServer.h:1122
int iCoordSystemGetPolar(int _iImage, int &_irIsPolar, double &_drXm, double &_drYm, double &_drFactorR, double &_drFactorP, double &_drOffsetP)
Set the parameter of a polar system.
int iTableGetNameAndCaption(int _iTable, QString &_qrName, QString &_qrCaption)
Returns the name and the caption of an existing table.
int iCoordSystemReadFile(int _iImage, QString _qFileName)
Read parameter from a file.
int iBlackMuraLoadProject(QString _qFileName)
Loads BlackMura project file.
int iSetTriggerStrobeParameter(int parametrizable, double delay, double duration)
Set strobe trigger parameter for Lmk6 camera.
int iGetQuantilObjectResults(int _iObject, double &_drQuantile1, double &_drQuantile2, double &_drQuantile3)
Get the results of an quantile object in a grey image.
int iGetStandardStatistic2(int _iStatistic, int _iObject, int _iClass, double &_drArea, double &_drMin, double &_drMax, double &_drMean, double &_drVar)
Determine parameter of the standard statistic.
int iOpenRegisterFile(QString _qFileName, int _iMode)
Open register file.
int iReadIniFileSections(QString _qFileName, QStringList &_qslSections)
Read list of sections in an inifile.
int iSPA_SetCameraParameter(double fieldAngle, double resolution, int showAngle, int defaultValues)
Set capture parameters.
int iGetGreySecViewValues(int _iObject, int &_irNumber, QStringList &_slrX, QStringList &_slrY, QStringList &_slValues)
Get the values of the sectional view in a grey image.
int iMotor_IsAxisMoving(int index, int &moving)
Is the axis moving?
int iSaveColorFactorsFile()
Save color factors file to use at next program start.
int iTIG_GetTarget(int &_irIndex, QString &_qrImageName)
Get current target for template image generation.
int iGetViewScaling(int image, double &scaling, double &minimum, double &maximum)
Get used scaling of image view.
int iGetCameraParameter(QString _qParameterName, QString &_qrParameterValue)
Read access to camera parameter.
int iCamera_List(QStringList &list)
List of camera and lens calibration data for this installation.
int iSI2_SetImageDir(int saveImages, QString directoryName)
Set image saving parameters.
int iTIG_SetOperation(QString _qCategory, QString _qOperation, int _iSet)
Set a type of template image or an option.
int iPCT_CapturePixelImage()
Capture pixel image.
int iColorHighDynPic(double _dMaxTime, double _dMinTime, double _dFactor, int _iSmear, double _dModFrequency)
HighDyn-Farbbild-Aufnahme.
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.
int iTIG_GetListOfParameterNames(QStringList &_qrParameters)
Get a parameter name list for the currently selected template image type.
int iSaveRegionListCS(int _iList, QString _qFileName, int _iOverwrite)
Save region list in units of coordinate system.
int iSetSmear(int _iSmear)
Set the parameter for smear correction.
int iBlackMuraSetDstDirectory(QString _qDstDirectory)
Set the destination directory for saving images.
int iSetColorCorr(int _iIndex, int _iSelect)
Selection of a color correction factor.
int iSetFocus(double value)
Set focus position.
int iIsOpen()
Application is running?
int iGetStatisticParameter(int _iTyp, int _iObject, int &_irNumberParam, QStringList &_slrParamList)
Read the parameters of a statistic.
int iGetStatisticObject(int _iStatistic, int _iObject, int &_iImage, int &_iRegion)
Determine image and region a statistic object is calculated for.
int iLEXgetAngles(double &_dThetaTop, double &_dThetaBottom, double &_dThetaDelta, double &_dPhiMin, double &_dPhiMax, double &_dPhiDelta)
int iMotor_SetAxisSpeed(int index, double speed)
Set speed of an axis.
int iGetPropertiesRegion(int _iList, int _iIndex, int &_irType, int &_irPoints, QStringList &_slX, QStringList &_slY)
Get the properties of a region.
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...
int iExecMenuPoint(QString _qMenuPoint)
Execute any menu items of the Lmk4 program.
int iSR_GetChangeRegions(int &enlarge, int &smoothing, int &minsize, int &maxsize, int &convex, int &rectangles)
Get parameters from section "Change regions".
int iHaveControllableLens(int &have)
Controllable lens connected ?
int iPCT_LoadParameters(QString filename)
Load parameters set from *.ini file.
int iSPA_SingleMeasure(double &value)
Single measurement in luminance image.
int iGetTimeValuesStatistic(int _iTyp, int _iObject, int _iClass, int _iWhichEl, QStringList &_qslTime, QStringList &_qslValues)
List of time statistic times and values.
int iCoordinateTransformationF(int srcImage, QString xIndexImage, QString yIndexImage, int targetImage)
Coordinate transformation with two index images.
int iImageGetDumpToMemory(int _iImage, int _iFirstLine, int _iLastLine, int _iFirstColumn, int _iLastColumn, QByteArray &_rDump)
Get a memory dump of a image region into memory.
int iBlackMuraGetDstDirectory(QString &_qrDstDirectory)
Get the destination directory for saving images.
int iAppendEquation(int _iTyp, int _iObject, QString &_qsName, QString &_qsFormula, int _iWhereToShow)
Append an equation.
int iSetTrigger(int type)
Switch trigger mode on or off for Lmk6 camera.
int iPCT_ExecAutomatically()
Execute all steps automatically.
int iDeleteStatistic(int _iTyp, int _iObject)
Delete an existing statistic.
int iCoordSystemSetValueUnit(int _iImage, QString _qValueX, QString _qUnitX, QString _qValueY, QString _qUnitY, QString _qUnitArea)
Set the values and units of the axi.
int iCoordSystemPixelToCoord(int _iImage, double _dPixelX, double _dPixelY, double &_drCoordXorPhi, double &_drCoordYorRadius)
Convert pixel indices to coordinates.
int iSetFlagsStatistic2(int _iTyp, int _iObject, int _iGeo, int _iPhoto, int _iMinMax, int _iTime, int _iMaxCountTime, int _iHorseshoe)
Set Flags for statistic evaluations.
int iTIG_GetTargetProperties(int &_irType, int &_irHeight, int &_irWidth, int &_irLines, int &_irColumns)
Get properties of current target.
int iCopyColorFactors(int _iSrcIndex, int _iDstIndex)
Copy factors from one set to another.
int iClose(int _iQuestion)
Closes the Lmk4 application.
int iSI3_StartMeasure()
Starts measurement.
int iSPA_GetMeasurementRegion(int &height, int &width, int &top, int &left, int &showRegion, int &showDisplay)
Get measuring region.
int iSetFlagsStatistic(int _iTyp, int _iObject, int _iGeo, int _iPhoto, int _iMinMax, int _iTime, int _iHorseshoe)
Set Flags for statistic evaluations.
int iGetStandardStatistic(int _iStatistic, int _iObject, int _iClass, int &_irSize, double &_drMin, double &_drMax, double &_drMean, double &_drVar)
Determine parameter of the standard statistic.
int iLEXsetAngles(double _dThetaTop, double _dThetaBottom, double _dThetaDelta, double _dPhiMin, double _dPhiMax, double _dPhiDelta)
Select angle area for export file.
int iSI2_StopMeasure()
Stopps measurement.
int iSetRegionName(int _iList, int _iIndex, QString _qrName)
Change region name.
int iLIDcloseDialog()
Closes LID dialog.
int iGetImageCaptureParameter(int _iImage, int &_irHaveParam, QStringList &_qslParamNames, QStringList &_qslParamValues)
Get information of last capture to this image.
int iBlackMuraGetProjectFileName(QString &_qrFileName)
Get BlackMura project file name.
int iHighDynPic3(double _dExposureTime, double _dStartRatio, double _dFactor, int _iCountPic)
HighDyn capturing for luminance image.
int iBlackMuraSetFlagsProject(int _iShowCoord, int _iShowMeasurementRegion, int _iShowAdjustmentRegions, int _iShowBrightClassification)
Set flags for DarkMura project.
int iSR_GetSearchingFor(int &image, double &threshold, int &smoothing)
Get parameters from section "Searching for regions.
int iTIG_SaveParameter(QString _qFileName)
Save file with adjusted parameter values.
int iGetConvertingUnits(QString &_qName, QString &_qUnit, double &_dFactor)
Get converting informations.
void vSignalImageContentChanged(int _iImage)
After changing of an image, this signal is thrown.
int iSaveRegionList(int _iList, QString _qFileName, int _iOverwrite)
Save region list.
int iGetScatteredLight(int &_irScatteredLight)
Is scattered light correction switched on?