//javadoc: erGrouping(image, channel, regions, groups_rects) public static void erGrouping(Mat image, Mat channel, List <MatOfPoint> regions, MatOfRect groups_rects) { if (image != null) { image.ThrowIfDisposed(); } if (channel != null) { channel.ThrowIfDisposed(); } if (groups_rects != null) { groups_rects.ThrowIfDisposed(); } #if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER List <Mat> regions_tmplm = new List <Mat>((regions != null) ? regions.Count : 0); Mat regions_mat = Converters.vector_vector_Point_to_Mat(regions, regions_tmplm); Mat groups_rects_mat = groups_rects; text_Text_erGrouping_13(image.nativeObj, channel.nativeObj, regions_mat.nativeObj, groups_rects_mat.nativeObj); return; #else return; #endif }