Skip to main content

ClikaRT::io::VideoReader::FrameRange

class

Header: ClikaRT/io/video.h

A lazy range over frames yielding FrameBatches of up to batch_size frames each. The consecutive form covers all frames [0, T); the explicit form covers an arbitrary indices set. Each dereference decodes its window (and raises ClikaRT::Error on a decode failure).

Nested types

NameDescription
iteratorForward iterator over the range's frames; dereference decodes the frame at the current position.

Member functions

FrameRange()

FrameRange(FrameRange&&) noexcept

Move-only: transfers the range.

Declared in ClikaRT/io/video.h, line 94

operator=()

FrameRange& operator=(FrameRange&&) noexcept

Move-assign: transfers the range.

Declared in ClikaRT/io/video.h, line 96

~FrameRange()

~FrameRange()

Releases the range.

Declared in ClikaRT/io/video.h, line 98

begin()

iterator begin() const

The first frame position.

Declared in ClikaRT/io/video.h, line 116

end()

iterator end() const

One past the last frame position.

Declared in ClikaRT/io/video.h, line 118

num_batches()

std::size_t num_batches() const

Number of batches this range yields.

Declared in ClikaRT/io/video.h, line 120