/* * LImUn - Library for ImageT Understanding * - libimage - An ImageT library * See file License for license information. */ #include "core/image/BlockImageAccessT.h" namespace NICE { template int BlockImageAccessT

::width() const { return this->widthInline(); } template int BlockImageAccessT

::height() const { return this->heightInline(); } template P BlockImageAccessT

::getPixelT(int x, int y) const { return getPixelQuick(x, y); } template void BlockImageAccessT

::setPixelT(int x, int y, P pixel) { setPixelQuick(x, y, pixel); } template void BlockImageAccessT

::set(const P& value) { for(int y=0; yheight(); ++y) { const P* end = this->getPixelPointerYEnd(y); const int inc = this->columnStepsize(); for (P* p = this->getPixelPointerY(y); p != end; p += inc) { *p = value; } } } } // namespace