Table of Contents

Method CreateRLEImage

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

CreateRLEImage(IEnumerable<Point3i>, OutputArray, Size?)

Creates a run-length encoded image from a vector of runs (column begin, column end, row)

public static void CreateRLEImage(IEnumerable<Point3i> runs, OutputArray res, Size? size = null)

Parameters

runs IEnumerable<Point3i>

vector of runs

res OutputArray

result

size Size?

image size (to be used if an "on" boundary should be used in erosion, using the default means that the size is computed from the extension of the input)