C# Класс Emgu.CV.MemStorage

A MemStorage is a wrapper to cvMemStorage of OpenCV.
Наследование: Emgu.Util.UnmanagedObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clear ( ) : void

Resets the top (free space boundary) of the storage to the very beginning. This function does not deallocate any memory. If the storage has a parent, the function returns all blocks to the parent

CreateChildMemStorage ( ) : MemStorage

Creates a child memory storage that is similar to simple memory storage except for the differences in the memory allocation/deallocation mechanism. When a child storage needs a new block to add to the block list, it tries to get this block from the parent. The first unoccupied parent block available is taken and excluded from the parent block list. If no blocks are available, the parent either allocates a block or borrows one from its own parent, if any. In other words, the chain, or a more complex structure, of memory storages where every storage is a child/parent of another is possible. When a child storage is released or even cleared, it returns all blocks to the parent. In other aspects, the child storage is the same as the simple storage

MemStorage ( ) : System

Create a OpenCV MemStorage

Защищенные методы

Метод Описание
DisposeObject ( ) : void

Release the storage

Приватные методы

Метод Описание
MemStorage ( IntPtr ptr ) : System

Описание методов

Clear() публичный Метод

Resets the top (free space boundary) of the storage to the very beginning. This function does not deallocate any memory. If the storage has a parent, the function returns all blocks to the parent
public Clear ( ) : void
Результат void

CreateChildMemStorage() публичный Метод

Creates a child memory storage that is similar to simple memory storage except for the differences in the memory allocation/deallocation mechanism. When a child storage needs a new block to add to the block list, it tries to get this block from the parent. The first unoccupied parent block available is taken and excluded from the parent block list. If no blocks are available, the parent either allocates a block or borrows one from its own parent, if any. In other words, the chain, or a more complex structure, of memory storages where every storage is a child/parent of another is possible. When a child storage is released or even cleared, it returns all blocks to the parent. In other aspects, the child storage is the same as the simple storage
public CreateChildMemStorage ( ) : MemStorage
Результат MemStorage

DisposeObject() защищенный Метод

Release the storage
protected DisposeObject ( ) : void
Результат void

MemStorage() публичный Метод

Create a OpenCV MemStorage
public MemStorage ( ) : System
Результат System