digiKam
Digikam::Haar::ImageData Class Reference

Public Member Functions

void fillPixelData (const DImg &image)
 
void fillPixelData (const QImage &image)
 

Public Attributes

Unit data1 [NumberOfPixelsSquared] = { 0.0 }
 
Unit data2 [NumberOfPixelsSquared] = { 0.0 }
 
Unit data3 [NumberOfPixelsSquared] = { 0.0 }
 

Member Function Documentation

◆ fillPixelData() [1/2]

void Digikam::Haar::ImageData::fillPixelData ( const DImg im)

Write pixels of a DImg in three arrays (one per color channel, pixels linearly)

References Digikam::DImg::bits(), Digikam::DImg::convertToEightBit(), Digikam::Haar::NumberOfPixels, and Digikam::DImg::smoothScale().

◆ fillPixelData() [2/2]

void Digikam::Haar::ImageData::fillPixelData ( const QImage &  im)

Write pixels of a QImage in three arrays (one per color channel, pixels linearly)

References Digikam::Haar::NumberOfPixels.

Member Data Documentation

◆ data1

Unit Digikam::Haar::ImageData::data1[NumberOfPixelsSquared] = { 0.0 }

◆ data2

Unit Digikam::Haar::ImageData::data2[NumberOfPixelsSquared] = { 0.0 }

◆ data3

Unit Digikam::Haar::ImageData::data3[NumberOfPixelsSquared] = { 0.0 }

The documentation for this class was generated from the following files: