Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoundsForThreshold ¶
BoundsForThreshold returns the bounds for a crop of the specified image up to the given energy threshold.
energyThreshold is a value between 0.0 and 1.0 representing the maximum energy to allow to be cropped away before stopping, relative to the maximum energy of the image.
func Energies ¶ added in v0.3.0
Energies returns the total row and column energies for the specified region of an image.
func ToThreshold ¶
ToThreshold returns an image cropped using the bounds provided by BoundsForThreshold.
energyThreshold is a value between 0.0 and 1.0 representing the maximum energy to allow to be cropped away before stopping, relative to the maximum energy of the image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.