Compares histogram over each possible rectangular patch of the specified size in the input images, and stores the results to the output map dst.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
| C# |
|---|
public Image<Gray, TDepth> BackProjectPatch<TDepth>( Image<Gray, TDepth>[] srcs, Size patchSize, HISTOGRAM_COMP_METHOD method, float factor ) where TDepth : new() |
| Visual Basic (Declaration) |
|---|
Public Function BackProjectPatch(Of TDepth As New) ( _ srcs As Image(Of Gray, TDepth)(), _ patchSize As Size, _ method As HISTOGRAM_COMP_METHOD, _ factor As Single _ ) As Image(Of Gray, TDepth) |
| Visual C++ |
|---|
public: generic<typename TDepth> where TDepth : gcnew() Image<Gray, TDepth>^ BackProjectPatch( array<Image<Gray, TDepth>^>^ srcs, Size patchSize, HISTOGRAM_COMP_METHOD method, float factor ) |
Parameters
- srcs
- Type: array<
Emgu.CV..::.Image<(Of <(Gray, TDepth>)>)
>[]()[]
Source images, all are of the same size and type
- patchSize
- Type: System.Drawing..::.Size
Size of patch slid though the source images.
- method
- Type: Emgu.CV.CvEnum..::.HISTOGRAM_COMP_METHOD
Comparison method, passed to cvCompareHist.
- factor
- Type: System..::.Single
Normalization factor for histograms, will affect normalization scale of destination image, pass 1. if unsure.
Type Parameters
- TDepth
- The type of depth of the image