EDeepLearningTool::GetNumPatchesForImage
Number of patches that will be extracted from an input image to perform inference.
For EasyClassify and EasyLocate, this will always be equal to 1.
For EasySegment, the number of patches will depend on the scale, patch size and sampling density parameters.
Namespace: Euresys::Open_eVision::EasyDeepLearning
[C++]
int GetNumPatchesForImage(
const EBaseROI& sampleImage
)
int GetNumPatchesForImage(
int imageWidth,
int imageHeight
)
Parameters
sampleImage
Image for which to get the number of patch
imageWidth
Width of the image for which to get the number of patch
imageHeight
Height of the image for which to get the number of patch
EDeepLearningTool.GetNumPatchesForImage
Number of patches that will be extracted from an input image to perform inference.
For EasyClassify and EasyLocate, this will always be equal to 1.
For EasySegment, the number of patches will depend on the scale, patch size and sampling density parameters.
Namespace: Euresys.Open_eVision.EasyDeepLearning
[C#]
int GetNumPatchesForImage(
Euresys.Open_eVision.EBaseROI sampleImage
)
int GetNumPatchesForImage(
int imageWidth,
int imageHeight
)
Parameters
sampleImage
Image for which to get the number of patch
imageWidth
Width of the image for which to get the number of patch
imageHeight
Height of the image for which to get the number of patch