5.3.4.59. Function features_shrink
Defined in File features_compute.h
5.3.4.59.1. Function Documentation
-
size_t features_shrink(const RoI_basic_t *RoIs_basic_src, const RoI_magn_t *RoIs_magn_src, const RoI_elli_t *RoIs_elli_src, const size_t n_RoIs_src, RoI_basic_t *RoIs_basic_dst, RoI_magn_t *RoIs_magn_dst, RoI_elli_t *RoIs_elli_dst)
Shrink features. Remove features when feature identifier value is 0. Source features (
RoIs_X_src) are copied into destination features (RoIs_X_dst) ifRoIs_basic[Y].id> 0.See also
RoI_basic_t for more explanations about the features.
See also
RoI_magn_t for more explanations about the features.
See also
RoI_elli_t for more explanations about the features.
- Parameters
RoIs_basic_src – Source features.
RoIs_magn_src – Source features (can be NULL).
RoIs_elli_src – Source features (can be NULL).
n_RoIs_src – Number of RoIs in the previous arrays.
RoIs_basic_dst – Destination features.
RoIs_magn_dst – Destination features (can be NULL).
RoIs_elli_dst – Destination features (can be NULL).
- Returns
Number of regions of interest (RoIs) after the data shrink.