Table of Contents

Class TileTiffWriter<TColor, TDepth>

Namespace
Emgu.CV.Tiff
Assembly
Emgu.CV.dll

A writer for writing GeoTiff

public class TileTiffWriter<TColor, TDepth> : TiffWriter<TColor, TDepth>, IDisposable where TColor : struct, IColor where TDepth : new()

Type Parameters

TColor

The color type of the image to be written

TDepth

The depth type of the image to be written

Inheritance
TiffWriter<TColor, TDepth>
TileTiffWriter<TColor, TDepth>
Implements
Inherited Members

Constructors

TileTiffWriter(string, Size, Size)

Create a TitleTiffWriter.

public TileTiffWriter(string fileName, Size imageSize, Size tileSize)

Parameters

fileName string

The name of the file to be written to

imageSize Size

The size of the image

tileSize Size

The tile size in pixels

Properties

TileRowSizeInBytes

Get the number of bytes of a row of data in a tile.

public int TileRowSizeInBytes { get; }

Property Value

int

TileSize

Get tile size in pixels.

public Size TileSize { get; }

Property Value

Size

TileSizeInBytes

Get the equivalent size for a tile of data as it would be returned in a call to TIFFReadTile or as it would be expected in a call to TIFFWriteTile.

public int TileSizeInBytes { get; }

Property Value

int

Methods

WriteImage(Image<TColor, TDepth>)

Write the whole image as tile tiff

public override void WriteImage(Image<TColor, TDepth> image)

Parameters

image Image<TColor, TDepth>

The image to be written

WriteTile(int, int, Image<TColor, TDepth>)

Write a tile into the tile tiff

public void WriteTile(int rowNumber, int colNumber, Image<TColor, TDepth> tile)

Parameters

rowNumber int

The starting row for the tile

colNumber int

The starting col for the tile

tile Image<TColor, TDepth>

The tile to be written