Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
usage:advanced_usage [2020/06/26 10:56] – [Custom feature extraction] pseudomoaner | usage:advanced_usage [2022/09/05 23:05] (current) – pseudomoaner | ||
---|---|---|---|
Line 47: | Line 47: | ||
If using the stand-alone version of FAST, functions that can write .mat files from other languages (such as R's [[https:// | If using the stand-alone version of FAST, functions that can write .mat files from other languages (such as R's [[https:// | ||
- | You will also need to provide FAST with the raw images from your dataset. This can be performed using FIJI in a similar way to the the segmentations, | + | You will also need to provide FAST with the raw images from your dataset. This can be performed using FIJI in a similar way to the the segmentations, |
==== Custom feature extraction ==== | ==== Custom feature extraction ==== | ||
Line 73: | Line 73: | ||
% | % | ||
% | % | ||
- | % are empty, should return a vector of zeros of the same size - this | + | % are empty, should return a vector of zeros of the same size as |
+ | % the output feature vector if these inputs were not empty - this | ||
% is used to initialise storage in the feature extraction engine. | % is used to initialise storage in the feature extraction engine. | ||
% | % | ||
Line 115: | Line 116: | ||
% | % | ||
% | % | ||
- | % are empty, should return a vector of zeros of the same size - this | + | % are empty, should return a vector of zeros of the same size as |
+ | % the output feature vector if these inputs were not empty - this | ||
% is used to initialise storage in the feature extraction engine. | % is used to initialise storage in the feature extraction engine. | ||
% | % | ||
Line 221: | Line 223: | ||
* **Locations** defines the columns in **trackableData** that should be included as separate features. For example, each cell in **trackableData.Centroid** contains an Nx2 matrix of values, with the first column indicating the x-coordinate of the N objects and the second column the y-coordinate. As checking the **Position** box in the tracking module indicates that you wish to include both x and y coordinate data as features, **featureStruct.Centroid.Locations** is set as [1,2]. | * **Locations** defines the columns in **trackableData** that should be included as separate features. For example, each cell in **trackableData.Centroid** contains an Nx2 matrix of values, with the first column indicating the x-coordinate of the N objects and the second column the y-coordinate. As checking the **Position** box in the tracking module indicates that you wish to include both x and y coordinate data as features, **featureStruct.Centroid.Locations** is set as [1,2]. | ||
* **StatsType** defines if your feature is circular or linear. | * **StatsType** defines if your feature is circular or linear. | ||
- | * **Range** only needs to be defined if **StatsType** is set as circular, and sets the ' | + | * **Range** only needs to be defined if **StatsType** is set as circular, and sets the ' |
=== Informing the division detection module === | === Informing the division detection module === |