Remove grid lines and background
Stefan van der Walt
stefanv at berkeley.edu
Mon May 4 02:54:33 EDT 2015
On 2015-05-01 10:17:52, elyraz at mail.com wrote:
> I have an image (http://www.wetnewf.org/pdfs/hemocytometer.html)
> and I am looking for way to generate a new image that will only
> show the cells and omit the background and the grid lines with
> minimum impact on the cell dimensions.
In your case, the lines are so regular that you can simply take
the column and row sums and see where they peak. An example is
shown here (sorry, the notebook output was stripped, so you'll
have to execute it to see the actual images):
http://nbviewer.ipython.org/github/scikit-image/skimage-tutorials/blob/master/lectures/adv2_microarray.ipynb
Stéfan
More information about the scikit-image
mailing list