《zw版·Halcon-delphi系列原創教程》 Halcon分類函數013,shape模型
為方便閱讀,在不影響說明的前提下,筆者對函數進行了簡化::: 用符號“**”,替換:“procedure”
:: 用大寫字母“X”,替換:“IHUntypedObjectX”
:: 省略了字符:“const”、“OleVariant”
【示例】 說明
函數:
procedure AddNoiseWhiteContourXld( const Contours: IHUntypedObjectX; out NoisyContours: IHUntypedObjectX; NumRegrPoints: OleVariant; Amp: OleVariant);
簡化后為:
** AddNoiseWhiteContourXld( Contours: X; out NoisyContours: X; NumRegrPoints, Amp);**?AddChannels(?Regions:?X;?Image:?X;?out?GrayRegions:?X);
說明,??add_channels,把兩個灰度值添加到區域中。
**?AddSamplesImageClassGmm(?Image:?X;?ClassRegions:?X;?GMMHandle,?Randomize);
說明,??add_samples_image_class_gmm,將從圖像中獲取的測試樣本添加到高斯混合模型的測試數據庫中。
**?AddSamplesImageClassKnn(?Image:?X;?ClassRegions:?X;?KNNHandle);
**?AddSamplesImageClassMlp(?Image:?X;?ClassRegions:?X;?MLPHandle);
說明,??add_samples_image_class_mlp,將從圖像中獲取的測試樣本添加到多層視感控器的測試數據庫中。
**?AddSamplesImageClassSvm(?Image:?X;?ClassRegions:?X;?SVMHandle);
說明,??add_samples_image_class_svm,將從圖像中獲取的測試樣本添加到一個支持向量機的測試數據庫中。
**?AffineTransRegion(?Region:?X;?out?RegionAffineTrans:?X;?HomMat2d,?Interpolate);
說明,??affine_trans_region,對區域進行任意的二維變換。
**?AreaCenter(?Regions:?X;?out?Area,?out?Row,?out?Column);
說明,??area_center,一個區域的面積(大小)和中心。
**?AreaCenterGray(?Regions:?X;?Image:?X;?out?Area,?out?Row,?out?Column);
**?AreaHoles(?Regions:?X;?out?Area);
說明,??測量孔洞Holes的面積
**?AutoThreshold(?Image:?X;?out?Regions:?X;?Sigma);
說明,??auto_threshold,根據直方圖決定的閥值分割圖像。
**?BackgroundSeg(?Foreground:?X;?out?BackgroundRegions:?X);
說明,??background_seg,決定給定區域背景相連的部分。
**?BinThreshold(?Image:?X;?out?Region:?X);
說明,??bin_threshold,根據自動產生的閥值分割圖像。
**?BottomHat(?Region:?X;?StructElement:?X;?out?RegionBottomHat:?X);
說明,??bottom_hat,計算區域的bottom?hat(原圖像和它的閉之間的差)。
**?Boundary(?Region:?X;?out?RegionBorder:?X;?BoundaryType);
**?ChangeRadialDistortionImage(?Image:?X;?Region:?X;?out?ImageRectified:?X;?CamParamIn,?CamParamOut);
說明,??change_radial_distortion_image,改變圖像的放射失真。
**?CharThreshold(?Image:?X;?HistoRegion:?X;?out?Characters:?X;?Sigma,?Percent,?out?Threshold);
說明,??char_threshold,為提取的字符產生一個分割閥值。
**?Circularity(?Regions:?X;?out?Circularity);
說明,??circularity,影響一個區域與圓的相似度的形狀系數。
**?Class2DimSup(?ImageCol:?X;?ImageRow:?X;?FeatureSpace:?X;?out?RegionClass2Dim:?X);
說明,??class_2dim_sup,采用二維空間像素分類分割圖像。
**?ClassifyImageClassGmm(?Image:?X;?out?ClassRegions:?X;?GMMHandle,?RejectionThreshold);
說明,??classify_image_class_gmm,根據高斯混合模式分類圖像。
**?ClassifyImageClassKnn(?Image:?X;?out?ClassRegions:?X;?out?DistanceImage:?X;?KNNHandle,?RejectionThreshold);
說明,??根據KNN模式分類圖像。
**?ClassifyImageClassLut(?Image:?X;?out?ClassRegions:?X;?ClassLUTHandle);
說明,??根據lut模式分類圖像。
**?ClassifyImageClassMlp(?Image:?X;?out?ClassRegions:?X;?MLPHandle,?RejectionThreshold);
說明,??classify_image_class_mlp,根據多層視感控器分類圖像?。
**?ClassifyImageClassSvm(?Image:?X;?out?ClassRegions:?X;?SVMHandle);
說明,??classify_image_class_svm,根據支持向量機分類圖像。
**?ClassNdimBox(?MultiChannelImage:?X;?out?Regions:?X;?ClassifHandle);
說明,??class_ndim_box,利用立方體將像素分類。
**?ClassNdimNorm(?MultiChannelImage:?X;?out?Regions:?X;?Metric,?SingleMultiple,?Radius,?Center);
說明,??class_ndim_norm,利用球體或立方體將像素分類。
**?ClipRegion(?Region:?X;?out?RegionClipped:?X;?Row1,?Column1,?Row2,?Column2);
說明,??clip_region,將一個區域修改為矩形。
**?ClipRegionRel(?Region:?X;?out?RegionClipped:?X;?Top,?Bottom,?Left,?Right);
說明,??clip_region_rel,根據大小修改一個區域。
**?CloseEdges(?Edges:?X;?EdgeImage:?X;?out?RegionResult:?X;?MinAmplitude);
說明,??close_edges,使用邊緣幅值圖像消除邊緣缺陷。
**?ClosestPointTransform(?Region:?X;?out?Distances:?X;?out?ClosestPoints:?X;?Metric,?Foreground,?ClosestPointMode,?Width,?Height);
說明,??關閉點變換
**?Closing(?Region:?X;?StructElement:?X;?out?RegionClosing:?X);
說明,??closing,關閉一個區域。
**?ClosingCircle(?Region:?X;?out?RegionClosing:?X;?Radius);
說明,??closing_circle,關閉一個圓形結構基礎的一個區域。
**?ClosingGolay(?Region:?X;?out?RegionClosing:?X;?GolayElement,?Rotation);
說明,??closing_golay,關閉格雷字母表中的元素的一個區域。
**?ClosingRectangle1(?Region:?X;?out?RegionClosing:?X;?Width,?Height);
說明,??closing_rectangle1,關閉一個矩形結構基礎的一個區域。
**?Compactness(?Regions:?X;?out?Compactness);
說明,??compactness,影響一個區域致密度的形狀系數。
**?CompareExtVariationModel(?Image:?X;?out?Region:?X;?ModelID,?Mode);
說明,??compare_ext_variation_model,將圖像與一個變化模型(variation?model)相比較。
**?CompareVariationModel(?Image:?X;?out?Region:?X;?ModelID);
說明,??compare_variation_model,將圖像與一個變化模型(variation?model)相比較。
**?Complement(?Region:?X;?out?RegionComplement:?X);
說明,??complement,返回一個區域的補碼。
**?ConnectAndHoles(?Regions:?X;?out?NumConnected,?out?NumHoles);
說明,??connect_and_holes,連接部分和中斷的數目。
**?Connection(?Region:?X;?out?ConnectedRegions:?X);
**?Contlength(?Regions:?X;?out?Contlength);
說明,??contlength,描述一個區域輪廓,的長度。
**?Convexity(?Regions:?X;?out?Convexity);
說明,??convexity,影響一個區域凸性的形狀系數。
**?CoocFeatureImage(?Regions:?X;?Image:?X;?LdGray,?Direction,?out?Energy,?out?Correlation,?out?Homogeneity,?out?Contrast);
說明,??cooc_feature_image,計算一個同時出現的矩陣并得出相關灰度值特征。
**?CreateComponentModel(?ModelImage:?X;?ComponentRegions:?X;?Variation?Row,?Variation?Column,?Variation?Angle,?AngleStart,?AngleExtent,?ContrastLowComp,?ContrastHighComp,?MinSizeComp,?MinContrastComp,?MinScoreComp,?NumLevelsComp,?AngleStepComp,?OptimizationComp,?MetricComp,?PregenerationComp,?out?ComponentModelID,?out?RootRanking);
說明,??create_component_model,基于確定的指定組件和關系準備一個匹配的組件模型。
**?CreateSheetOfLightModel(?ProfileRegion:?X;?GenParamNames,?GenParamValues,?out?SheetOfLightModelID);
說明,??建立光線模型表
**?DeserializeRegion(?out?Region:?X;?SerializedItemHandle);
說明,??區域數據轉換
**?DiameterRegion(?Regions:?X;?out?Row1,?out?Column1,?out?Row2,?out?Column2,?out?Diameter);
說明,??diameter_region,一個區域兩個邊界點的最大距離。
**?Difference(?Region:?X;?Sub:?X;?out?RegionDifference:?X);
說明,??difference,計算兩個區域的差距(不同)。
**?Dilation1(?Region:?X;?StructElement:?X;?out?RegionDilation:?X;?Iterations);
說明,??dilation1,擴大一個區域。
**?Dilation2(?Region:?X;?StructElement:?X;?out?RegionDilation:?X;?Row,?Column,?Iterations);
說明,??dilation2,擴大一個區域(使用一個參考點)。
**?DilationCircle(?Region:?X;?out?RegionDilation:?X;?Radius);
**?DilationGolay(?Region:?X;?out?RegionDilation:?X;?GolayElement,?Iterations,?Rotation);
說明,??dilation_golay,擴大格雷字母表的元素的一個區域。
**?DilationRectangle1(?Region:?X;?out?RegionDilation:?X;?Width,?Height);
說明,??dilation_rectangle1,擴大一個矩形結構基礎的一個區域。
**?DilationSeq(?Region:?X;?out?RegionDilation:?X;?GolayElement,?Iterations);
說明,??dilation_seq,順序地擴大一個區域。
**?DispRegion(?DispRegions:?X;?WindowHandle);
說明,??disp_region,在窗口中顯示區域。
**?DistanceLr(?Region:?X;?Row1,?Column1,?Row2,?Column2,?out?DistanceMin,?out?DistanceMax);
說明,??distance_lr,計算一條線和一個區域間的距離。
**?DistancePr(?Region:?X;?Row,?Column,?out?DistanceMin,?out?DistanceMax);
說明,??distance_pr,計算一個點和一個區域間的距離。
**?DistanceRrMin(?Regions1:?X;?Regions2:?X;?out?MinDistance,?out?Row1,?out?Column1,?out?Row2,?out?Column2);
說明,??distance_rr_min,兩個相鄰區域的相同像素間的最小距離。
**?DistanceRrMinDil(?Regions1:?X;?Regions2:?X;?out?MinDistance);
說明,??distance_rr_min_dil,膨脹時兩個區域間的最小距離。
**?DistanceSr(?Region:?X;?Row1,?Column1,?Row2,?Column2,?out?DistanceMin,?out?DistanceMax);
說明,??distance_sr,計算一條分割線和一個區域間的距離。
**?DistanceTransform(?Region:?X;?out?DistanceImage:?X;?Metric,?Foreground,?Width,?Height);
說明,??distance_transform,計算一個區域的距離變換。
**?DragRegion1(?SourceRegion:?X;?out?DestinationRegion:?X;?WindowHandle);
說明,??drag_region1,一個區域的交互運動。
**?DragRegion2(?SourceRegion:?X;?out?DestinationRegion:?X;?WindowHandle,?Row,?Column);
說明,??drag_region2,一個帶有定點規格區域的交互運動。
**?DragRegion3(?SourceRegion:?X;?MaskRegion:?X;?out?DestinationRegion:?X;?WindowHandle,?Row,?Column);
說明,??drag_region3,一個帶有限制位置區域的交互運動。
**?DrawPolygon(?out?PolygonRegion:?X;?WindowHandle);
說明,??draw_polygon,一個多邊形的交互繪圖。
**?DrawRegion(?out?Region:?X;?WindowHandle);
說明,??draw_region,一個閉區域的交互繪圖。
**?DualThreshold(?Image:?X;?out?RegionCrossings:?X;?MinSize,?MinGray,?Threshold);
說明,??dual_threshold,對標記的圖像做門限操作。
**?DynThreshold(?OrigImage:?X;?ThresholdImage:?X;?out?RegionDynThresh:?X;?Offset,?LightDark);
**?Eccentricity(?Regions:?X;?out?Anisometry,?out?Bulkiness,?out?StructureFactor);
說明,??eccentricity,來源于橢圓參數的形狀系數。
**?EliminateRuns(?Region:?X;?out?RegionClipped:?X;?ElimShorter,?ElimLonger);
說明,??eliminate_runs,消除一個給定寬度的順串。
**?EllipticAxis(?Regions:?X;?out?Ra,?out?Rb,?out?Phi);
說明,??elliptic_axis,相似橢圓的參數。
**?EllipticAxisGray(?Regions:?X;?Image:?X;?out?Ra,?out?Rb,?out?Phi);
說明,??elliptic_axis_gray,在一個灰度值圖像中計算一個區域的方位和主軸。
**?EntropyGray(?Regions:?X;?Image:?X;?out?Entropy,?out?Anisotropy);
說明,??entropy_gray,確定一個圖像的熵和各向異性。
**?Erosion1(?Region:?X;?StructElement:?X;?out?RegionErosion:?X;?Iterations);
說明,??erosion1,腐蝕一個區域。
**?Erosion2(?Region:?X;?StructElement:?X;?out?RegionErosion:?X;?Row,?Column,?Iterations);
說明,??erosion2,腐蝕一個區域(使用參考點)。
**?ErosionCircle(?Region:?X;?out?RegionErosion:?X;?Radius);
說明,??erosion_circle,腐蝕一個圓形結構基礎的一個區域。
**?ErosionGolay(?Region:?X;?out?RegionErosion:?X;?GolayElement,?Iterations,?Rotation);
說明,??erosion_golay,腐蝕格雷字母表的一個元素的一個區域。
**?ErosionRectangle1(?Region:?X;?out?RegionErosion:?X;?Width,?Height);
說明,??erosion_rectangle1,腐蝕一個矩形結構基礎的一個區域。
**?ErosionSeq(?Region:?X;?out?RegionErosion:?X;?GolayElement,?Iterations);
說明,??erosion_seq,按順序腐蝕一個區域。
**?EulerNumber(?Regions:?X;?out?EulerNumber);
說明,??euler_number,計算Euler數目。
**?ExhaustiveMatch(?Image:?X;?RegionOfInterest:?X;?ImageTemplate:?X;?out?ImageMatch:?X;?Mode);
說明,??exhaustive_match,模板和圖像的匹配。
**?ExpandGray(?Regions:?X;?Image:?X;?ForbiddenArea:?X;?out?RegionExpand:?X;?Iterations,?Mode,?Threshold);
說明,??expand_gray,依據灰度值或顏色填充兩個區域的間隙或分割重疊區域。
**?ExpandGrayRef(?Regions:?X;?Image:?X;?ForbiddenArea:?X;?out?RegionExpand:?X;?Iterations,?Mode,?RefGray,?Threshold);
說明,??expand_gray_ref,依據灰度值或顏色填充兩個區域的間隙或分割重疊區域。
**?ExpandLine(?Image:?X;?out?RegionExpand:?X;?Coordinate,?ExpandType,?RowColumn,?Threshold);
說明,??expand_line,從給定線開始擴充區域。
**?ExpandRegion(?Regions:?X;?ForbiddenArea:?X;?out?RegionExpanded:?X;?Iterations,?Mode);
說明,??expand_region,填充區域間的間隙或分離互相重疊的區域。
**?FastThreshold(?Image:?X;?out?Region:?X;?MinGray,?MaxGray,?MinSize);
說明,??fast_threshold,利用全局閥值快速將圖像二值化。
**?FillUp(?Region:?X;?out?RegionFillUp:?X);
說明,??fill_up,填充區域中的中斷(裂縫等)。
**?FillUpShape(?Region:?X;?out?RegionFillUp:?X;?Feature,?Min,?Max);
**?Find1DBarCode(?Image:?X;?out?CodeRegion:?X;?BarCodeDescr,?GenericName,?GenericValue,?out?BarcodeFound,?out?BarCodeElements,?out?Orientation);
說明,??find_1d_bar_code,搜索一幅圖像中的一個條形碼。
**?Find1DBarCodeRegion(?Image:?X;?out?CodeRegion:?X;?BarCodeDescr,?GenericName,?GenericValue,?out?Orientation);
說明,??find_1d_bar_code_region,搜索一幅圖像中的多種條形碼。
**?Find1DBarCodeScanline(?Image:?X;?out?CodeRegion:?X;?BarCodeDescr,?GenericName,?GenericValue,?StopIfFound,?out?BarcodeFound,?out?BarCodeElements,?out?Orientation,?out?ScanlineNumPoints,?out?ScanlineDecoded,?out?ScanlinePointsRow,?out?ScanlinePointsColumn);
說明,??find_1d_bar_code_scanline,搜索一幅圖像中的一個條形碼。
**?Find2DBarCode(?Image:?X;?out?CodeRegion:?X;?BarCodeDescr,?GenParamNames,?GenParamValues,?out?CodeRegDescr);
說明,??find_2d_bar_code,搜索可能包括一個二維條形碼的區域。
**?FindBarCode(?Image:?X;?out?SymbolRegions:?X;?BarCodeHandle,?CodeType,?out?DecodedDataStrings);
說明,??find_bar_code,檢測和讀取一幅圖像中條形碼符號。
**?FindMarksAndPose(?Image:?X;?CalTabRegion:?X;?CalTabDescrFile,?StartCamParam,?StartThresh,?DeltaThresh,?MinThresh,?Alpha,?MinContLength,?MaxDiamMarks,?out?RCoord,?out?CCoord,?out?StartPose);
說明,??find_marks_and_pose,從圖像中提取二維校準標志和為外部計算機參數計算內部數值。
**?FindNeighbors(?Regions1:?X;?Regions2:?X;?MaxDistance,?out?RegionIndex1,?out?RegionIndex2);
說明,??find_neighbors,搜尋直接鄰域。
**?FindRectificationGrid(?Image:?X;?out?GridRegion:?X;?MinContrast,?Radius);
說明,??find_rectification_grid,分割圖像中矯正網格區域。
**?FitSurfaceFirstOrder(?Regions:?X;?Image:?X;?Algorithm,?Iterations,?ClippingFactor,?out?Alpha,?out?Beta,?out?Gamma);
說明,??fit_surface_first_order,通過一個一階表面(平面)計算灰度值力矩和近似值。
**?FitSurfaceSecondOrder(?Regions:?X;?Image:?X;?Algorithm,?Iterations,?ClippingFactor,?out?Alpha,?out?Beta,?out?Gamma,?out?Delta,?out?Epsilon,?out?Zeta);
說明,??fit_surface_second_order,通過一個二階表面(平面)計算灰度值力矩和近似值。
**?Fitting(?Region:?X;?StructElements:?X;?out?RegionFitted:?X);
說明,??fitting,執行多重結構基礎的打開后關閉。
**?FuzzyEntropy(?Regions:?X;?Image:?X;?Apar,?Cpar,?out?Entropy);
說明,??fuzzy_entropy,確定區域的模糊熵。
**?FuzzyPerimeter(?Regions:?X;?Image:?X;?Apar,?Cpar,?out?Perimeter);
說明,??fuzzy_perimeter,計算一個區域的模糊周長。
**?GenCheckerRegion(?out?RegionChecker:?X;?WidthRegion,?HeightRegion,?WidthPattern,?HeightPattern);
說明,??gen_checker_region,創建一個方格式區域。
**?GenContourRegionXld(?Regions:?X;?out?Contours:?X;?Mode);
**?GenCoocMatrix(?Regions:?X;?Image:?X;?out?Matrix:?X;?LdGray,?Direction);
說明,??gen_cooc_matrix,在一個圖像中計算一個區域中同時出現的矩陣。
**?GenEmptyRegion(?out?EmptyRegion:?X);
說明,??gen_empty_region,創建一個空的區域。
**?GenGridRegion(?out?RegionGrid:?X;?RowSteps,?ColumnSteps,?Type_,?Width,?Height);
說明,??gen_grid_region,根據行或像素數創建一個區域?。
**?GenRandomRegion(?out?RegionRandom:?X;?Width,?Height);
說明,??gen_random_region,創建一個隨機區域。
**?GenRandomRegions(?out?Regions:?X;?Type_,?WidthMin,?WidthMax,?HeightMin,?HeightMax,?PhiMin,?PhiMax,?NumRegions,?Width,?Height);
說明,??gen_random_regions,創建隨機區域如圓周,矩形和橢圓。
**?GenRegionContourXld(?Contour:?X;?out?Region:?X;?Mode);
說明,??gen_region_contour_xld,從XLD元組中創建一個區域。
**?GenRegionHisto(?out?Region:?X;?Histogram,?Row,?Column,?Scale);
說明,??gen_region_histo,將一個直方圖轉換為一個區域。
**?GenRegionHline(?out?Regions:?X;?Orientation,?Distance);
說明,??gen_region_hline,將Hesse正規形狀中描述的輸入線存儲為區域。
**?GenRegionLine(?out?RegionLines:?X;?BeginRow,?BeginCol,?EndRow,?EndCol);
說明,??gen_region_line,將輸入線以區域形式存儲。
**?GenRegionPoints(?out?Region:?X;?Rows,?Columns);
說明,??gen_region_points,將個別的像素存儲為圖像區域。
**?GenRegionPolygon(?out?Region:?X;?Rows,?Columns);
說明,??gen_region_polygon,將一個多邊形存儲為一個目標圖像。
**?GenRegionPolygonFilled(?out?Region:?X;?Rows,?Columns);
說明,??gen_region_polygon_filled,將一個多邊形存儲為一個已填充區域。
**?GenRegionPolygonXld(?Polygon:?X;?out?Region:?X;?Mode);
說明,??gen_region_polygon_xld,創建一個XLD多邊形中的區域。
**?GenRegionRuns(?out?Region:?X;?Row,?ColumnBegin,?ColumnEnd);
說明,??gen_region_runs,創建一個掃描寬度編碼中的圖像區域。
**?Get1DBarCode(?BarCodeRegion:?X;?BarCodeDescr,?GenericName,?GenericValue,?Orientation,?out?BarCodeElements);
說明,??get_1d_bar_code,提取一個條形碼中元素的寬度。
**?Get1DBarCodeScanline(?BarCodeRegion:?X;?BarCodeDescr,?GenericName,?GenericValue,?Orientation,?StopIfFound,?out?BarCodeElements,?out?ScanlineNumPoints,?out?ScanlineDecoded,?out?ScanlinePointsRow,?out?ScanlinePointsColumn);
說明,??get_1d_bar_code_scanline,提取一個條形碼區域中元素的寬度。
**?Get2DBarCode(?BarCodeRegion:?X;?Image:?X;?BarCodeDescr,?CodeRegDescr,?GenParamNames,?GenParamValues,?out?BarCodeDimension,?out?BarCodeData);
說明,??get_2d_bar_code,提取一個條形碼區域(數據矩陣符號”)中數據元素(在ECC200:模塊”中)的值。
**?Get2DBarCodePos(?BarCodeRegion:?X;?Image:?X;?BarCodeDescr,?CodeRegDescr,?GenParamNames,?GenParamValues,?out?BarCodeDimension,?out?BarCodeData,?out?DataElementRow,?out?DataElementCol);
說明,??get_2d_bar_code_pos,提取一個條形碼區域(數據矩陣符號”)中數據元素(在ECC200:模塊”中)的數值和它們在圖像中的位置。
**?GetRegionChain(?Region:?X;?out?Row,?out?Column,?out?Chain);
說明,??get_region_chain,一個對象的輪廓,作為鏈式碼。
**?GetRegionContour(?Region:?X;?out?Rows,?out?Columns);
說明,??get_region_contour,查詢一個目標的輪廓,。
**?GetRegionConvex(?Region:?X;?out?Rows,?out?Columns);
說明,??get_region_convex,查詢突起的外表作為輪廓,。
**?GetRegionIndex(?Regions:?X;?Row,?Column,?out?Index);
說明,??get_region_index,包括給定像素在內的所有的區域坐標。
**?GetRegionPoints(?Region:?X;?out?Rows,?out?Columns);
說明,??get_region_points,查詢一個區域的像素數。
**?GetRegionPolygon(?Region:?X;?Tolerance,?out?Rows,?out?Columns);
說明,??get_region_polygon,用一個多邊形近似獲取區域。
**?GetRegionRuns(?Region:?X;?out?Row,?out?ColumnBegin,?out?ColumnEnd);
說明,??get_region_runs,查詢一個區域的掃描寬度編碼。
**?GetRegionThickness(?Region:?X;?out?Thickness,?out?Histogramm);
說明,??get_region_thickness,查詢主軸附近區域的寬度(厚度)。
**?GrabData(?out?Image:?X;?out?Region:?X;?out?Contours:?X;?AcqHandle,?out?Data);
說明,??grab_data,從指定的圖像獲取設備獲取圖像和預處理圖像數據。
**?GrabDataAsync(?out?Image:?X;?out?Region:?X;?out?Contours:?X;?AcqHandle,?MaxDelay,?out?Data);
說明,??grab_data_async,從指定的圖像獲取設備獲取圖像和預處理圖像數據并且開始下一個異步獲取。
**?GrayFeatures(?Regions:?X;?Image:?X;?Features,?out?Value);
說明,??灰度特征
**?GrayHisto(?Regions:?X;?Image:?X;?out?AbsoluteHisto,?out?RelativeHisto);
說明,??gray_histo,計算灰度值分布。
**?GrayHistoAbs(?Regions:?X;?Image:?X;?Quantization,?out?AbsoluteHisto);
說明,??gray_histo_abs,計算灰度值分布。
**?GrayHistoRange(?Regions:?X;?Image:?X;?Min,?Max,?NumBins,?out?Histo,?out?BinSize);
說明,??灰度范圍直方圖
**?GrayProjections(?Region:?X;?Image:?X;?Mode,?out?HorProjection,?out?VertProjection);
說明,??gray_projections,計算水平和垂直灰度值預測。
**?HammingChangeRegion(?InputRegion:?X;?out?OutputRegion:?X;?Width,?Height,?Distance);
說明,??hamming_change_region,創建一個有給定漢明距離的區域。
**?HammingDistance(?Regions1:?X;?Regions2:?X;?out?Distance,?out?Similarity);
說明,??hamming_distance,兩個區域間的漢明距離。
**?HammingDistanceNorm(?Regions1:?X;?Regions2:?X;?Norm,?out?Distance,?out?Similarity);
說明,??hamming_distance_norm,兩個區域間的歸一化漢明距離。
**?HarmonicInterpolation(?Image:?X;?Region:?X;?out?InpaintedImage:?X;?Precision);
說明,??harmonic_interpolation,對一個圖像區域執行諧波插值。
**?Histo2Dim(?Regions:?X;?ImageCol:?X;?ImageRow:?X;?out?Histo2Dim:?X);
說明,??histo_2dim,計算兩通道灰度值圖像的直方圖。
**?HitOrMiss(?Region:?X;?StructElement1:?X;?StructElement2:?X;?out?RegionHitMiss:?X;?Row,?Column);
說明,??hit_or_miss,區域的Hit-or-miss運行。
**?HitOrMissGolay(?Region:?X;?out?RegionHitMiss:?X;?GolayElement,?Rotation);
說明,??hit_or_miss_golay,使用格雷字母表的區域的Hit-or-miss運行。
**?HitOrMissSeq(?Region:?X;?out?RegionHitMiss:?X;?GolayElement);
說明,??hit_or_miss_seq,使用格雷字母表的區域的Hit-or-miss運行(按順序)。
**?HoughCircles(?RegionIn:?X;?out?RegionOut:?X;?Radius,?Percent,?Mode);
說明,??hough_circles,特定半徑的圓周的中心。
**?HoughCircleTrans(?Region:?X;?out?HoughImage:?X;?Radius);
說明,??hough_circle_trans,返回指定半徑的圓周的Hough變換。
**?HoughLines(?RegionIn:?X;?AngleResolution,?Threshold,?AngleGap,?DistGap,?out?Angle,?out?Dist);
說明,??hough_lines,借助Hough變化查詢圖像中的線,并將其返回到HNF中。
**?HoughLineTrans(?Region:?X;?out?HoughImage:?X;?AngleResolution);
說明,??hough_line_trans,對區域中的線進行Hough變換。
**?HysteresisThreshold(?Image:?X;?out?RegionHysteresis:?X;?Low,?High,?MaxLength);
說明,??hysteresis_threshold,對圖像采取磁滯門限操作。
**?InnerCircle(?Regions:?X;?out?Row,?out?Column,?out?Radius);
說明,??inner_circle,一個區域內部最大的圓周。
**?InnerRectangle1(?Regions:?X;?out?Row1,?out?Column1,?out?Row2,?out?Column2);
說明,??inner_rectangle1,一個區域內部最大的矩形。
**?InpaintingAniso(?Image:?X;?Region:?X;?out?InpaintedImage:?X;?Mode,?Contrast,?Theta,?Iterations,?Rho);
說明,??inpainting_aniso,通過各向異性擴散執行圖像修復。
**?InpaintingCed(?Image:?X;?Region:?X;?out?InpaintedImage:?X;?Sigma,?Rho,?Theta,?Iterations);
說明,??inpainting_ced,通過一致性增強擴散執行圖像修復。
**?InpaintingCt(?Image:?X;?Region:?X;?out?InpaintedImage:?X;?Epsilon,?Kappa,?Sigma,?Rho,?ChannelCoefficients);
說明,??inpainting_ct,通過連貫傳送執行圖像修復。
**?InpaintingMcf(?Image:?X;?Region:?X;?out?InpaintedImage:?X;?Sigma,?Theta,?Iterations);
說明,??inpainting_mcf,通過水平線平滑執行圖像修復。
**?InpaintingTexture(?Image:?X;?Region:?X;?out?InpaintedImage:?X;?MaskSize,?SearchSize,?Anisotropy,?PostIteration,?Smoothness);
說明,??inpainting_texture,通過結構傳導執行圖像修復。
**?InspectShapeModel(?Image:?X;?out?ModelImages:?X;?out?ModelRegions:?X;?NumLevels,?Contrast);
說明,??inspect_shape_model,創建一個輪廓模型的表示。
**?Intensity(?Regions:?X;?Image:?X;?out?Mean,?out?Deviation);
說明,??intensity,計算灰度值的平均值和偏差。
**?Interjacent(?Region:?X;?out?RegionInterjacent:?X;?Mode);
說明,??interjacent,利用給定區域分割圖像。
**?InterpolateScatteredDataImage(?Image:?X;?RegionInterpolate:?X;?out?ImageInterpolated:?X;?Method,?GenParamNames,?GenParamValues);
說明,??計算圖像的交集。
**?Intersection(?Region1:?X;?Region2:?X;?out?RegionIntersection:?X);
說明,??intersection,計算兩個區域的交集。
**?JunctionsSkeleton(?Region:?X;?out?EndPoints:?X;?out?JuncPoints:?X);
說明,??junctions_skeleton,找到框架中的結點和終點。
**?LabelToRegion(?LabelImage:?X;?out?Regions:?X);
說明,??label_to_region,提取一幅圖像中灰度值相同的區域。
**?MergeRegionsLineScan(?CurrRegions:?X;?PrevRegions:?X;?out?CurrMergedRegions:?X;?out?PrevMergedRegions:?X;?ImageHeight,?MergeBorder,?MaxImagesRegion);
說明,??merge_regions_line_scan,從行掃描圖像合并區域。
**?MinkowskiAdd1(?Region:?X;?StructElement:?X;?out?RegionMinkAdd:?X;?Iterations);
說明,??minkowski_add1,執行一個區域的Minkowski添加。
**?MinkowskiAdd2(?Region:?X;?StructElement:?X;?out?RegionMinkAdd:?X;?Row,?Column,?Iterations);
說明,??minkowski_add2,擴大一個區域(使用參考點)。
**?MinkowskiSub1(?Region:?X;?StructElement:?X;?out?RegionMinkSub:?X;?Iterations);
說明,??minkowski_sub1,腐蝕一個區域。
**?MinkowskiSub2(?Region:?X;?StructElement:?X;?out?RegionMinkSub:?X;?Row,?Column,?Iterations);
說明,??minkowski_sub2,腐蝕一個區域(使用參考點)。
**?MinMaxGray(?Regions:?X;?Image:?X;?Percent,?out?Min,?out?Max,?out?Range);
說明,??min_max_gray,計算區域內的最大和最小灰度值。
**?MirrorRegion(?Region:?X;?out?RegionMirror:?X;?Mode,?WidthHeight);
說明,??mirror_region,反饋一個平行于X或Y坐標軸的區域。
**?MomentsGrayPlane(?Regions:?X;?Image:?X;?out?MRow,?out?MCol,?out?Alpha,?out?Beta,?out?Mean);
說明,??moments_gray_plane,通過一個平面計算灰度值力矩和近似值。
**?MomentsRegion2Nd(?Regions:?X;?out?M11,?out?M20,?out?M02,?out?Ia,?out?Ib);
說明,??moments_region_2nd,區域的某時刻幾何特性,。
**?MomentsRegion2NdInvar(?Regions:?X;?out?M11,?out?M20,?out?M02);
說明,??moments_region_2nd_invar,區域的某時刻幾何特性。
**?MomentsRegion2NdRelInvar(?Regions:?X;?out?Phi1,?out?Phi2);
說明,??moments_region_2nd_rel_invar,計算相關時刻參數。
**?MomentsRegion3Rd(?Regions:?X;?out?M21,?out?M12,?out?M03,?out?M30);
說明,??moments_region_3rd,區域的某時刻幾何特性。
**?MomentsRegion3RdInvar(?Regions:?X;?out?M21,?out?M12,?out?M03,?out?M30);
說明,??moments_region_3rd_invar,區域的某時刻幾何特性。
**?MomentsRegionCentral(?Regions:?X;?out?I1,?out?I2,?out?I3,?out?I4);
說明,??moments_region_central,區域的某時刻幾何特性。
**?MomentsRegionCentralInvar(?Regions:?X;?out?PSI1,?out?PSI2,?out?PSI3,?out?PSI4);
說明,??moments_region_central_invar,區域的某時刻幾何特性。
**?MorphHat(?Region:?X;?StructElement:?X;?out?RegionMorphHat:?X);
說明,??morph_hat,計算bottom_hat?和top_hat的聯合。
**?MorphSkeleton(?Region:?X;?out?RegionSkeleton:?X);
說明,??morph_skeleton,計算一個區域的形態學框架。
**?MorphSkiz(?Region:?X;?out?RegionSkiz:?X;?Iterations1,?Iterations2);
說明,??morph_skiz,縮小一個區域。
**?MoveRegion(?Region:?X;?out?RegionMoved:?X;?Row,?Column);
說明,??move_region,對區域進行變換。
**?NoiseDistributionMean(?Region:?X;?Image:?X;?FilterSize,?out?Distribution);
說明,??noise_distribution_mean,測定一個圖像的噪聲分布。
**?Opening(?Region:?X;?StructElement:?X;?out?RegionOpening:?X);
說明,??opening,打開一個區域。
**?OpeningCircle(?Region:?X;?out?RegionOpening:?X;?Radius);
說明,??opening_circle,打開一個圓形結構基礎的一個區域。
**?OpeningGolay(?Region:?X;?out?RegionOpening:?X;?GolayElement,?Rotation);
說明,??opening_golay,打開格雷字母表的一個元素的一個區域。
**?OpeningRectangle1(?Region:?X;?out?RegionOpening:?X;?Width,?Height);
說明,??opening_rectangle1,打開一個矩形結構基礎的一個區域。
**?OpeningSeg(?Region:?X;?StructElement:?X;?out?RegionOpening:?X);
說明,??opening_seg,分離重疊區域。
**?OrientationRegion(?Regions:?X;?out?Phi);
說明,??orientation_region,一個區域的定向。
**?OverpaintRegion(?Image:?X;?Region:?X;?Grayval,?Type_);
說明,??overpaint_region,重新繪制一個圖像的區域。
**?PaintRegion(?Region:?X;?Image:?X;?out?ImageResult:?X;?Grayval,?Type_);
說明,??paint_region,把區域畫在一個圖像中。
**?PartitionDynamic(?Region:?X;?out?Partitioned:?X;?Distance,?Percent);
說明,??partition_dynamic,將一個區域分割為等大的矩形。
**?PartitionRectangle(?Region:?X;?out?Partitioned:?X;?Width,?Height);
說明,??通過各種標準區分矩形。
**?PlaneDeviation(?Regions:?X;?Image:?X;?out?Deviation);
說明,??plane_deviation,從近似像平面計算灰度值的偏差。
**?PolarTransRegion(?Region:?X;?out?PolarTransRegion:?X;?Row,?Column,?AngleStart,?AngleEnd,?RadiusStart,?RadiusEnd,?Width,?Height,?Interpolation);
說明,??polar_trans_region,將一個環狀弧內的區域轉換為極坐標。
**?PolarTransRegionInv(?PolarRegion:?X;?out?XYTransRegion:?X;?Row,?Column,?AngleStart,?AngleEnd,?RadiusStart,?RadiusEnd,?WidthIn,?HeightIn,?Width,?Height,?Interpolation);
說明,??polar_trans_region_inv,將極坐標中的區域轉換為笛卡爾坐標中的區域。
**?Pouring(?Image:?X;?out?Regions:?X;?Mode,?MinGray,?MaxGray);
說明,??pouring,根據大于pouring?water”分割圖像。
**?ProjectiveTransRegion(?Regions:?X;?out?TransRegions:?X;?HomMat2d,?Interpolation);
說明,??projective_trans_region,對一個區域進行射影變換。
**?Pruning(?Region:?X;?out?RegionPrune:?X;?Length);
說明,??pruning,去掉一個區域的分支。
**?RankRegion(?Region:?X;?out?RegionCount:?X;?Width,?Height,?Number);
說明,??rank_region,給對區域的操作歸類。
**?ReadRegion(?out?Region:?X;?FileName);
說明,??read_region,讀取二值圖像或者HALCON區域。
**?ReceiveRegion(?out?Region:?X;?Socket);
說明,??receive_region,通過插口連接接收區域。
**?Rectangularity(?Regions:?X;?out?Rectangularity);
說明,??rectangularity,影響一個區域矩形相似度的形狀系數。
**?ReduceDomain(?Image:?X;?Region:?X;?out?ImageReduced:?X);
說明,??reduce_domain,縮小一個圖像的區域。
**?ReduceObjectModel3DByView(?Region:?X;?ObjectModel3D,?CamParam,?Pose,?out?ObjectModel3DReduced);
說明,??通過視口,減少圖像區域
**?RegionFeatures(?Regions:?X;?Features,?out?Value);
說明,??區域特征
**?Regiongrowing(?Image:?X;?out?Regions:?X;?Row,?Column,?Tolerance,?MinSize);
說明,??regiongrowing,利用區域增長分割圖像。
**?RegiongrowingMean(?Image:?X;?out?Regions:?X;?StartRows,?StartColumns,?Tolerance,?MinSize);
說明,??regiongrowing_mean,利用平均灰度值執行區域增長。
**?RegiongrowingN(?MultiChannelImage:?X;?out?Regions:?X;?Metric,?MinTolerance,?MaxTolerance,?MinSize);
說明,??regiongrowing_n,利用區域增長為多通道圖像分割圖像。
**?RegionToBin(?Region:?X;?out?BinImage:?X;?ForegroundGray,?BackgroundGray,?Width,?Height);
說明,??region_to_bin,把一個區域轉變為一個二進制字節圖像。
**?RegionToLabel(?Region:?X;?out?ImageLabel:?X;?Type_,?Width,?Height);
說明,??region_to_label,把區域轉變為一個標簽圖像。
**?RegionToMean(?Regions:?X;?Image:?X;?out?ImageMean:?X);
說明,??region_to_mean,用它們的平均灰度值繪制區域。
**?RemoveNoiseRegion(?InputRegion:?X;?out?OutputRegion:?X;?Type_);
說明,??remove_noise_region,去除一個區域內的噪聲。
**?Roundness(?Regions:?X;?out?Distance,?out?Sigma,?out?Roundness,?out?Sides);
說明,??roundness,輪廓中獲取的形狀系數。
**?RunBgEsti(?PresentImage:?X;?out?ForegroundRegion:?X;?BgEstiHandle);
說明,??run_bg_esti,評估背景并返回前景區域。
**?RunlengthDistribution(?Region:?X;?out?Foreground,?out?Background);
說明,??runlength_distribution,一個區域掃描寬度編碼所需的順串的分配。
**?RunlengthFeatures(?Regions:?X;?out?NumRuns,?out?KFactor,?out?LFactor,?out?MeanLength,?out?Bytes);
說明,??runlength_features,區域掃描寬度編碼的特征值。
**?SegmentCharacters(?Region:?X;?Image:?X;?out?ImageForeground:?X;?out?RegionForeground:?X;?Method,?EliminateLines,?DotPrint,?StrokeWidth,?CharWidth,?CharHeight,?ThresholdOffset,?Contrast,?out?UsedThreshold);
說明,??segment_characters,將圖像給定區域的字符分割。
**?SelectCharacters(?Region:?X;?out?RegionCharacters:?X;?DotPrint,?StrokeWidth,?CharWidth,?CharHeight,?Punctuation,?DiacriticMarks,?PartitionMethod,?PartitionLines,?FragmentDistance,?ConnectFragments,?ClutterSizeMax,?StopAfter);
說明,??select_characters,從一個給定區域中選擇字符。
**?SelectGray(?Regions:?X;?Image:?X;?out?SelectedRegions:?X;?Features,?Operation,?Min,?Max);
說明,??select_gray,選擇基于灰度值特征的區域。
**?SelectMatchingLines(?RegionIn:?X;?out?RegionLines:?X;?AngleIn,?DistIn,?LineWidth,?Thresh,?out?AngleOut,?out?DistOut);
說明,??select_matching_lines,選取HNF中線的集合中匹配區域最好的線。
**?SelectRegionPoint(?Regions:?X;?out?DestRegions:?X;?Row,?Column);
說明,??select_region_point,選擇包括給定像素在內的所有區域。
**?SelectRegionSpatial(?Regions1:?X;?Regions2:?X;?Direction,?out?RegionIndex1,?out?RegionIndex2);
說明,??select_region_spatial,討論區域的關聯性。
**?SelectShape(?Regions:?X;?out?SelectedRegions:?X;?Features,?Operation,?Min,?Max);
**?SelectShapeProto(?Regions:?X;?Pattern:?X;?out?SelectedRegions:?X;?Feature,?Min,?Max);
說明,??select_shape_proto,選擇彼此有某種關系的區域。
**?SelectShapeStd(?Regions:?X;?out?SelectedRegions:?X;?Shape,?Percent);
說明,??select_shape_std,選擇給定形狀的區域。
**?SendRegion(?Region:?X;?Socket);
說明,??send_region,通過插口連接發送區域。
**?SerializeRegion(?Region:?X;?out?SerializedItemHandle);
說明,??區域數據序列化
**?ShapeHistoAll(?Region:?X;?Image:?X;?Feature,?out?AbsoluteHisto,?out?RelativeHisto);
說明,??shape_histo_all,用極限值確定特征的一個直方圖。
**?ShapeHistoPoint(?Region:?X;?Image:?X;?Feature,?Row,?Column,?out?AbsoluteHisto,?out?RelativeHisto);
說明,??shape_histo_point,用極限值確定特征的一個直方圖。
**?ShapeTrans(?Region:?X;?out?RegionTrans:?X;?Type_);
**?Skeleton(?Region:?X;?out?Skeleton:?X);
說明,??skeleton,計算一個區域的框架。
**?SmallestCircle(?Regions:?X;?out?Row,?out?Column,?out?Radius);
說明,??smallest_circle,一個區域的最小周長。
**?SmallestRectangle1(?Regions:?X;?out?Row1,?out?Column1,?out?Row2,?out?Column2);
說明,??smallest_rectangle1,平行于坐標軸的包圍某區域的矩形。
**?SmallestRectangle2(?Regions:?X;?out?Row,?out?Column,?out?Phi,?out?Length1,?out?Length2);
說明,??smallest_rectangle2,任意方向包圍某區域的最小矩形。
**?SortRegion(?Regions:?X;?out?SortedRegions:?X;?SortMode,?Order,?RowOrCol);
說明,??sort_region,根據相鄰位置歸類區域。
**?SpatialRelation(?Regions1:?X;?Regions2:?X;?Percent,?out?RegionIndex1,?out?RegionIndex2,?out?Relation1,?out?Relation2);
說明,??spatial_relation,根據坐標軸方向左、右、上、下排列相關區域。
**?SplitSkeletonLines(?SkeletonRegion:?X;?MaxDistance,?out?BeginRow,?out?BeginCol,?out?EndRow,?out?EndCol);
**?SplitSkeletonRegion(?SkeletonRegion:?X;?out?RegionLines:?X;?MaxDistance);
**?SymmDifference(?Region1:?X;?Region2:?X;?out?RegionDifference:?X);
說明,??symm_difference,計算兩個區域對稱差異。
**?TestEqualRegion(?Regions1:?X;?Regions2:?X;?out?IsEqual);
說明,??test_equal_region,檢測兩個目標區域是否相同。
**?TestRegionPoint(?Regions:?X;?Row,?Column,?out?IsInside);
說明,??測試區域節點
**?TestSubsetRegion(?Region1:?X;?Region2:?X;?out?IsSubset);
說明,??test_subset_region,檢測一個區域是否包含在另一個區域中。
**?TextLineOrientation(?Region:?X;?Image:?X;?CharHeight,?OrientationFrom,?OrientationTo,?out?OrientationAngle);
說明,??text_line_orientation,決定一個文本行或段落的定向(定位)。
**?TextLineSlant(?Region:?X;?Image:?X;?CharHeight,?SlantFrom,?SlantTo,?out?SlantAngle);
說明,??text_line_slant,決定一個文本行或段落的字符的傾斜。
**?Thickening(?Region:?X;?StructElement1:?X;?StructElement2:?X;?out?RegionThick:?X;?Row,?Column,?Iterations);
說明,??thickening,把一個Hit-or-miss運行的結果添加到一個區域。
**?ThickeningGolay(?Region:?X;?out?RegionThick:?X;?GolayElement,?Rotation);
說明,??thickening_golay,把一個Hit-or-miss運行的結果添加到一個區域中(使用一個Golay結構基礎)。
**?ThickeningSeq(?Region:?X;?out?RegionThick:?X;?GolayElement,?Iterations);
說明,??thickening_seq,把一個Hit-or-miss運行的結果添加到一個區域中(按順序)。
**?Thinning(?Region:?X;?StructElement1:?X;?StructElement2:?X;?out?RegionThin:?X;?Row,?Column,?Iterations);
說明,??thinning,從一個區域移去一個Hit-or-miss運行的結果。
**?ThinningGolay(?Region:?X;?out?RegionThin:?X;?GolayElement,?Rotation);
說明,??thinning_golay,從一個區域移去一個Hit-or-miss運行的結果(使用一個Golay結構基礎)。
**?ThinningSeq(?Region:?X;?out?RegionThin:?X;?GolayElement,?Iterations);
說明,??thinning_seq,從一個區域移去一個Hit-or-miss運行的結果(按順序)。
**?Threshold(?Image:?X;?out?Region:?X;?MinGray,?MaxGray);
**?TopHat(?Region:?X;?StructElement:?X;?out?RegionTopHat:?X);
說明,??top_hat,計算區域的top?hat(原圖像和它的開之間的差)。
**?TransposeRegion(?Region:?X;?out?Transposed:?X;?Row,?Column);
說明,??transpose_region,翻譯關于一個點的一個區域。
**?Union1(?Region:?X;?out?RegionUnion:?X);
說明,??union1,返回所有輸入區域的并集。
**?Union2(?Region1:?X;?Region2:?X;?out?RegionUnion:?X);
說明,??union2,返回兩個區域的并集。
**?UpdateBgEsti(?PresentImage:?X;?UpDateRegion:?X;?BgEstiHandle);
說明,??update_bg_esti,改變估測背景圖像。
**?VarThreshold(?Image:?X;?out?Region:?X;?MaskWidth,?MaskHeight,?StdDevScale,?AbsThreshold,?LightDark);
說明,??var_threshold,根據局域平均標準偏差分析將圖像二值化。
**?WienerFilterNi(?Image:?X;?Psf:?X;?NoiseRegion:?X;?out?RestoredImage:?X;?MaskWidth,?MaskHeight);
說明,??wiener_filter_ni,通過Wiener濾波進行圖像恢復。
**?WriteRegion(?Region:?X;?FileName);
說明,??write_region,在文件中寫入地域。
**?ZeroCrossing(?Image:?X;?out?RegionCrossing:?X);
說明,??zero_crossing,從一幅圖像中提取零相交。
**?ZoomRegion(?Region:?X;?out?RegionZoom:?X;?ScaleWidth,?ScaleHeight);
說明,??zoom_region,縮放一個區域。
#轉載請注明出處 www.skcircle.com 《少有人走的路》勇哥的工業自動化技術網站。如果需要本貼圖片源碼等資源,請向勇哥索取。