Skip to content

Commit a09782b

Browse files
committedMar 24, 2012
Disabled yellow filtering
1 parent 46aca35 commit a09782b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎android/jni/imagefuncs.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ void removeyellow(Mat& img) {
124124
double lambda = mean(g.mul(b-g))[0]/mean(g.mul(g)-2*g.mul(b)+b.mul(b))[0];
125125

126126
LOGI("Remove yellow lambda = %f", lambda);
127-
128-
bgr[1]=bgr[1]*(1+lambda)-bgr[0]*lambda;
127+
// REMOVED BECAUSE NOT NEEDED ON IDEOS and lambda=0.53
128+
//bgr[1]=bgr[1]*(1+lambda)-bgr[0]*lambda;
129129

130130
// Also reset blue
131131
bgr[0]=bgr[1];

0 commit comments

Comments
 (0)
Please sign in to comment.