Why thumbnail-creation is so slow, Issue 1967
This commit is contained in:
@@ -122,7 +122,7 @@ public:
|
|||||||
clip = flags;
|
clip = flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
LUT<T> & operator=(const LUT<T> &rhs) {
|
LUT<T> & operator=(LUT<T> &rhs) {
|
||||||
if (this != &rhs) {
|
if (this != &rhs) {
|
||||||
if (rhs.size>this->size)
|
if (rhs.size>this->size)
|
||||||
{
|
{
|
||||||
|
@@ -746,7 +746,7 @@ IImage8* Thumbnail::processImage (const procparams::ProcParams& params, int rhei
|
|||||||
for (int i=0; i<fh; i++)
|
for (int i=0; i<fh; i++)
|
||||||
for (int j=0; j<fw; j++){
|
for (int j=0; j<fw; j++){
|
||||||
hist16[CLIP((int)((labView->L[i][j])))]++;
|
hist16[CLIP((int)((labView->L[i][j])))]++;
|
||||||
hist16C=CLIP((int)sqrt(labView->a[i][j]*labView->a[i][j] + labView->b[i][j]*labView->b[i][j]));
|
hist16C[CLIP((int)sqrt(labView->a[i][j]*labView->a[i][j] + labView->b[i][j]*labView->b[i][j]))]++;
|
||||||
}
|
}
|
||||||
// luminance processing
|
// luminance processing
|
||||||
// ipf.EPDToneMap(labView,0,6);
|
// ipf.EPDToneMap(labView,0,6);
|
||||||
|
Reference in New Issue
Block a user