Medical diagnosis is the process of identifying the presence of a specific disease. Medical images play an important and major role in helping the doctor and specialist in the process of diagnosing the patient's condition. As a result of the technological development taking place in the fields of artificial intelligence, which processes data quickly and efficiently by responding to various conditions and situations, providing a great deal of flexibility and accuracy, it is widely used in helping to diagnose diseases. Fuzzy logic was used to find the number of cells in medical images, where the increase or decrease in the number of cells beyond the normal limit indicates the presence of a specific disorder or disease.
This paper aims to use fuzzy logic and the Image J system to determine the appropriate mechanism and method for counting cells according to their size in the medical image, where a set of basic steps are implemented on the image by using the Image J system. This includes converting to mask, outlining, filling holes, watershedding, setting measurements, and analyzing particles. After that, using fuzzy logic to determine the best appropriate methods for counting cells in medical images based on size, enter a single random value for size, and cells smaller than that value are ignored. The area and perimeter of cells are accounted for.