Gradient based selective weighting of neighboring pixels for predictive lossless image coding | IEEE Conference Publication | IEEE Xplore