A method for automated ontological grouping of objects, comprising:
- a digital camera taking a picture of an image in an electron microscope;
- storing the picture as a digital image in a computer;
- the digital image having pixels in sequence having brightness values comprising a first pixel having a first brightness value, a second pixel, adjacent to the first pixel, having a second brightness value, a third pixel, adjacent to the second pixel, having a third brightness value and a fourth pixel, adjacent to the third pixel, having a fourth brightness value,
- the digital image also having a fifth pixel having a fifth brightness value, a sixth pixel, adjacent to the fifth pixel, having a sixth brightness value, a seventh pixel, adjacent to the sixth pixel, having a seventh brightness value and an eight pixel, adjacent to the seventh pixel, having an eighth brightness value,
- the computer automatically determining, by simultaneously using all possible magnification scales of the electron microscope, a degree of association between the pixels by comparing the first brightness value with the second brightness value, the second brightness value with the third brightness value, the third brightness value with the fourth brightness value, the computer also comparing the fifth brightness value with the sixth brightness value, the sixth brightness value with the seventh brightness value, the seventh brightness value with the eighth brightness value;
- the computer forming a first segment around a first identified object between the second pixel and the third pixel when the second brightness value is more similar to the first brightness value than the second brightness value is to the third brightness value and when the third brightness value is more similar to the fourth brightness value than the third brightness value is to the second brightness value;
- simultaneously with forming the first segment, the computer forming a second segment around a second identified object in the digital image between the sixth pixel and the fifth pixel when the sixth brightness value is more similar to the fifth brightness value than the sixth brightness value is to the seventh brightness value and when the seventh brightness value is more similar to the eight brightness value than the seventh brightness value is to the sixth brightness value;
- the computer mathematically transforming the first identified object to a first transformed object in a first transformed segment and the second identified object to a second transformed object in a second transformed segment wherein the transformed first and second objects have aligned shapes with a fixed orientation;
- based on the brightness of the pixels, the computer determining a first topology of the transformed first object and a second topology of the second object by comparing brightness of pixels in the first transformed segment with brightness of corresponding pixels in the second transformed segment;
- and
- the computer assigning space coordinates to the first transformed object and the second transformed object based on identified topologies so that the first transformed object is moved proximate to the second transformed object when the first topology is similar to the second topology and remote from the second transformed object when the first topology is different from the second topology.