Python - 233.129 65.752 19.683 87.820 1.765 93.857 17.166
Java Plugin - 217.050 78.701 20.173 79.545 10.591 163.151 16.680
ImageJ - 336.494 104.861 30.466 70.278 8.605 162.943 21.498
Actual - 282.742 60.301 20.122 86.055 23.610 78.936 18.275
The method of using Python seems to be very close to the actual on this particular image.
Python Method -
Convert the image in python to a binary image with a threshold of 128.
Open image into ImageJ and convert to Binary (ImageJ requires inverted colors)
Fill Holes.
Dilate and Erode (for this particular image 3 times each).
There are a few areas where things can vary if you change the numbers (threshold, and dilate and erode). But Python works well (slide-000)
Python was not always the best for other slides, but the less complicated slides (with very little to no junk surrounding the diatom) appear to work best with Python.
Java Media Framework(JMF) and Marvins Framework, don't appear to be useful for this. They have no more tools for use than ImageJ Libraries supply.
Images showing the diatom that was measured for slide-000.
ImageJ |
Python |
Original |
Java Plugin |
No comments:
Post a Comment