Skip to main content

CSVMaskRLESaverOptions

CSVMaskRLESaverOptions

Options for saving MaskData to a single CSV file using Run-Length Encoding. More…

#include <Mask_Data_CSV.hpp>

Public Attributes

Name
std::string filename
Output filename.
std::string parent_dir
Directory to save in.
std::string delimiter
Column delimiter.
std::string rle_delimiter
Delimiter within RLE data.
bool save_header
Whether to write a header row.
std::string header
Header text.

Detailed Description

struct CSVMaskRLESaverOptions;

Options for saving MaskData to a single CSV file using Run-Length Encoding.

The output CSV will have a frame column followed by a quoted RLE-encoded string of (y, x_start, length) triplets.

Public Attributes Documentation

variable filename

std::string filename;

Output filename.

variable parent_dir

std::string parent_dir = ".";

Directory to save in.

variable delimiter

std::string delimiter = ",";

Column delimiter.

variable rle_delimiter

std::string rle_delimiter = ",";

Delimiter within RLE data.

variable save_header

bool save_header = true;

Whether to write a header row.

variable header

std::string header = "Frame,RLE";

Header text.


Updated on 2026-11-13 at 20:25:39 +0000