PHP Class JansenFelipe\OMR\Contracts\Target

Afficher le fichier Open project: jansenfelipe/omr

Protected Properties

Свойство Type Description
$blackPixelsPercent float Black pixels percentage
$id string Identifier
$marked boolean Store results if the target was marked
$tolerance float Black pixels percentage compared to whites to consider marked

Méthodes publiques

Méthode Description
getBlackPixelsPercent ( ) : float
getId ( ) : string
getTolerance ( ) : float
isMarked ( ) : boolean Checks if the target was marked
setBlackPixelsPercent ( float $blackPixelsPercent )
setId ( string $id )
setMarked ( boolean $marked ) Tells whether the target was marked
setTolerance ( float $tolerance )

Method Details

getBlackPixelsPercent() public méthode

public getBlackPixelsPercent ( ) : float
Résultat float

getId() public méthode

public getId ( ) : string
Résultat string

getTolerance() public méthode

public getTolerance ( ) : float
Résultat float

isMarked() public méthode

Checks if the target was marked
public isMarked ( ) : boolean
Résultat boolean

setBlackPixelsPercent() public méthode

public setBlackPixelsPercent ( float $blackPixelsPercent )
$blackPixelsPercent float

setId() public méthode

public setId ( string $id )
$id string

setMarked() public méthode

Tells whether the target was marked
public setMarked ( boolean $marked )
$marked boolean

setTolerance() public méthode

public setTolerance ( float $tolerance )
$tolerance float

Property Details

$blackPixelsPercent protected_oe property

Black pixels percentage
protected float $blackPixelsPercent
Résultat float

$id protected_oe property

Identifier
protected string $id
Résultat string

$marked protected_oe property

Store results if the target was marked
protected bool $marked
Résultat boolean

$tolerance protected_oe property

Black pixels percentage compared to whites to consider marked
protected float $tolerance
Résultat float