I am trying to implement a project where I need to detect something. I have the digitized form of a human cell and I need to detect regions separately in the image. This part is over. The next part is where I have to detect overlapping regions. Another part is to detect the nucleus of these cells. Can someone help me with the code?
Yikes, this is not a very easy task. Getting the image is easy, identifying pieces of an image is not. Unless you have a very long time to dedicate, I would not attempt this from scratch. If you do, I would research "Visual Pattern Recognition" (or "Image Pattern Recognition", same thing) and "Edge Detection". Both are very difficult topics.
For comparison, consider how complex Optical Character Recognition is. You have a fixed alphabet, numbers and punctuation, only two colors you have to worry about, and it is still not an exact science after 20 years of development.