Here you can find the source of applyFilter(LookupTable lookupTable, BufferedImage srcImg)
public static BufferedImage applyFilter(LookupTable lookupTable, BufferedImage srcImg)
//package com.java2s; //License from project: Apache License import java.awt.image.BufferedImage; import java.awt.image.LookupOp; import java.awt.image.LookupTable; public class Main { public static BufferedImage applyFilter(LookupTable lookupTable, BufferedImage srcImg) { LookupOp lop = new LookupOp(lookupTable, null); return lop.filter(srcImg, null); }/*from ww w . j av a 2s .c o m*/ }