COM object EvFishTrackingProperties

EvApplication > EvFileCollection > EvFile > EvFileProperties > EvFishTrackingProperties

 

View the COM map and the COM summary.

The EvFishTrackingProperties object provides information about and allows you to change fish tracking settings on the Track Detection Properties dialog box. This object is accessed via the EvFileProperties.FishTracking property.

EvFishTrackingProperties classes:

Alpha
Beta
ExclusionDistance
MissedPingExpansion
Weights

EvFishTrackingProperties properties:

DataDimensions
MinimumTargets
MinimumPings
MaximumGap

 

Description

DataDimensions

(read-write) EFishTrackingDataDimensions DataDimensions

Summary

Get or set the Fish tracking algorithm for fish track detection, under the Data section of the Algorithm page of the Track Detection Properties dialog box, by using an enum for EFishTrackingDataDimensions.

See also: Enum issue under VBS.

Parameters

An enum for the 2D or 4D fish tracking algorithm.

Result

Read or change the enum for the fish tracking algorithm.

Example
Dim EvApp: Set EvApp = CreateObject("EchoviewCom.EvApplication")
'This will begin at the first (already) open EV file.
Dim EvFile: Set EvFile = EvApp.EvFiles.Item(0) 

'Changing Fish tracking detection properties.
Dim FTProps: Set FTProps = EvFile.Properties.FishTracking

        FTProps.DataDimensions = 4
        
        FTProps.Alpha.MajorAxis = 0.1
        FTProps.Alpha.MinorAxis = 0.2
        FTProps.Alpha.Range = 0.3
        FTProps.Beta.MajorAxis = 0.4
        FTProps.Beta.MinorAxis = 0.5
        FTProps.Beta.Range = 0.6
        FTProps.ExclusionDistance.MajorAxis = 0.7
        FTProps.ExclusionDistance.MinorAxis = 0.8
        FTProps.ExclusionDistance.Range = 0.9
        FTProps.MissedPingExpansion.MajorAxis = 1.0
        FTProps.MissedPingExpansion.MinorAxis = 1.1
        FTProps.MissedPingExpansion.Range = 1.2

        FTProps.Weights.MajorAxis = 1.3
        FTProps.Weights.MinorAxis = 1.4
        FTProps.Weights.Range = 1.5
        FTProps.Weights.TS = 1.6
        FTProps.Weights.PingGap = 1.7

        FTProps.MinimumTargets = 4
        FTProps.MinimumPings = 5
        FTProps.MaximumGap = 3

Alpha

(read only) EvFishTrackingAnglesAndRange Alpha

Summary

Access the values for Alpha under the Track detection section of the Algorithm page of the Track Detection Properties dialog box.

Parameters

Read or write the real values for Alpha via the EvFishTrackingAnglesAndRange object.

Result

EvFishTrackingAnglesAndRange

Example

See above.

Beta

(read only) EvFishTrackingAnglesAndRange Beta

Summary

Access the values for Beta under the Track detection section of the Algorithm page of the Track Detection Properties dialog box.

Parameters

Read or write the real values for Beta via the EvFishTrackingAnglesAndRange object.

Result

EvFishTrackingAnglesAndRange

Example

See above.

ExclusionDistance

(read-only) EvFishTrackingAnglesAndRange ExclusionDistance

Summary

Access the value for Exclusion distance under the Target gates section of the Algorithm page of the Track Detection Properties dialog box.

Parameters

Read or write the real values for ExclusionDistance via the EvFishTrackingAnglesAndRange object.

Result

EvFishTrackingAnglesAndRange

Example

See above.

MissedPingExpansion

(read only) EvFishTrackingAnglesAndRange MissedPingExpansion

Summary

Access the value for Missed ping expansion under the Target gates section of the Algorithm page of the Track Detection Properties dialog box.

Parameters

Read or write the real values for MissedPingExpansion via the EvFishTrackingAnglesAndRange object.

Result

EvFishTrackingAnglesAndRange

Example

See above.

Weights

(read-only) EvFishTrackingWeights Weights

Summary

Access the values for Weights on the Weights page of the Track Detection Properties dialog box.

Parameters

Read or write the real values for Weights via the EvFishTrackingWeights object.

Result

EvFishTrackingWeights

Example

See above.

MinimumTargets

(read-write) integer MinimumTargets

Summary

Read or write the value for the Minimum number of single targets in a track on the Track Acceptance page of the Track Detection Properties dialog box.

Parameters

Integer value for the Minimum Targets setting.

Example

See above.

MinimumPings

(read-write) integer MinimumPings

Summary

Read or write the value for the Minimum number of pings in track on the Track Acceptance page of the Track Detection Properties dialog box.

Parameters

Integer value for the Minimum Pings setting.

Example

See above.

MaximumGap

(read-write) integer MaximumGap

Summary

Read or write the value for the Maximum gap between single targets on the Track Acceptance page of the Track Detection Properties dialog box.

Parameters

Integer value for the Maximum Gap setting.

Example

See above.

See also

Scripting with COM objects
EvFileProperties object
COM object hierarchy