In my application it is required to use blur effect like instagram. I have gone through
with the help of second link I can blur a image completely, but I have to apply blur effect on some fragments of images please help me.
You're looking for either a tilt-shift effect or a selective blur.
I have GPU-accelerated implementations of both of these in my open source GPUImage framework.
See the GPUImageTiltShiftFilter and GPUImageGaussianSelectiveBlurFilter for these effects.