magickGetImageFeatures method

Future<ChannelFeatures?> magickGetImageFeatures(
  1. int distance
)

Returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance. The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum variance, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient.

This method runs inside an isolate different from the main isolate.

Implementation

Future<ChannelFeatures?> magickGetImageFeatures(int distance) async =>
    await _magickCompute(
      _magickGetImageFeatures,
      _MagickGetImageFeaturesParams(
        _wandPtr.address,
        distance,
      ),
    );