Revision 1928 branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/io/raster/PixelFilter.java
PixelFilter.java | ||
---|---|---|
53 | 53 |
|
54 | 54 |
public void filterLine(int [] pRGBArray) { |
55 | 55 |
for (int i=0; i<pRGBArray.length; i++) { |
56 |
if (debug) |
|
57 |
System.out.print(""+i+":"+Integer.toHexString(pRGBArray[i])+","); |
|
56 |
/*if (debug)
|
|
57 |
System.out.print(""+i+":"+Integer.toHexString(pRGBArray[i])+",");*/
|
|
58 | 58 |
if (pRGBArray[i] >= umbral) |
59 | 59 |
pRGBArray[i] = transparente; |
60 | 60 |
else |
61 | 61 |
pRGBArray[i] |= orColor; |
62 | 62 |
} |
63 |
if (debug) |
|
64 |
System.out.println(""); |
|
63 |
/*if (debug)
|
|
64 |
System.out.println("");*/
|
|
65 | 65 |
} |
66 | 66 |
} |
67 | 67 |
|
Also available in: Unified diff