Skip to content

Commit ef5440d

Browse files
authored
Add files via upload
1 parent b53e09c commit ef5440d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

nQuantCpp/GilbertCurve.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ namespace Peano
161161

162162
if (DITHER_MAX < 16 && m_nMaxColor > 4 && m_saliencies[bidx] < .6f && CIELABConvertor::Y_Diff(pixel, c2) > margin - 1)
163163
c2 = Color::MakeARGB(a_pix, r_pix, g_pix, b_pix);
164-
if (m_nMaxColor > 32 && m_saliencies[bidx] > .99f)
165-
c2 = BlueNoise::diffuse(c2, m_pPalette[qPixelIndex], beta * normalDistribution(m_saliencies[bidx], .25f) * beta, strength, x, y);
166164

167165
return m_ditherFn(m_pPalette, m_nMaxColor, c2.GetValue(), bidx);
168166
}

0 commit comments

Comments
 (0)