How to extract white objects in an image(attached)? The program should then display each N as a separate figure.
It's all about detecting intensities of pixels. It'll be better if you use MATLAB. Such binary images will have just 2 intensity levels 0(black) and 1(white).

No one is going to do it for you unless you are ready to pay. Buy and read a copy of Digital Image Processing by Gonzalez