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.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Image<Gray, TDepth> BackProjectPatch<TDepth>(
	Image<Gray, TDepth>[] srcs,
	Size patchSize,
	HISTOGRAM_COMP_METHOD method,
	float factor
)
where TDepth : new()
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)
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
array< Image<(Of <(Gray, TDepth>)>) >[]()[]
Source images, all are of the same size and type
patchSize
Size
Size of patch slid though the source images.
method
HISTOGRAM_COMP_METHOD
Comparison method, passed to cvCompareHist.
factor
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

Return Value

Destination back projection image of the same type as the source images

See Also