Unit 7 / 11

Microscopy and Image Pre-Assessment: Smear, Urine and Microbiology

Gains:

  • Understand how AI-assisted image pre-classification (peripheral smear, urine sediment, colony) works and what it accelerates
  • Ability to use AI pre-classification only as screening and leave the diagnosis of abnormal and critical cells/microorganisms to expert verification
  • Ability to recognize the limits of image models (rare cells, artifacts, staining quality, distribution shift) and manage the risk of false negatives

The microscope is the oldest but still most powerful tool of the medical laboratory. The shape of cells in a blood smear, the crystals in a urine sediment, the color and arrangement of bacteria in a Gram stain—all are patterns that a trained eye can read in seconds but require years of experience to get started. In recent years, AI-assisted image analysis has entered this microscopic world: it automatically pre-classifies digitally scanned preparations, eliminating those that appear normal and directing the specialist's attention to areas that actually require examination. This is a huge speed gain — but it is also one of the areas where the most careful boundaries must be drawn, because a false negative (missing a true abnormality) means a direct diagnosis is missed.

How AI-supported image pre-classification works in this unit; peripheral smear, urine sediment and how it is used in microbiology; and we will cover model boundaries (rare cell, artifact, staining quality, distribution shift). Basic principle: AI pre-classification is a screening, not a diagnosis; Diagnosis and final approval of abnormal and critical findings belong to the specialist.

How image pre-classification works

AI image models learn to categorize a cell or structure by training on large numbers of labeled examples. In a digital hematology analyzer, the device scans the blood smear, captures individual cells, and the pattern places each into a class (neutrophil, lymphocyte, monocyte, eosinophil, basophil, etc.). The expert is presented with pre-classified cells as a gallery; The expert confirms, corrects or reclassifies. Similarly, urine sediment analyzers detect erythrocytes, leukocytes, epithelium, crystals and casts; Some microbiology systems pre-evaluate colony counts and growth patterns.

The output of the model carries two components: a class (this cell is neutrophil) and a confidence score (how confident it is in this classification). Cells with low confidence scores or marked as "atypical/unidentified" should definitely be referred to a specialist. Note that the model may misclassify a cell with high confidence; confidence score is not a guarantee of accuracy.

Application

AI pre-work

expert's job

peripheral smear

Cell pre-sorting, gallery serving

Abnormal/blast/atypical confirmation, morphology interpretation

urine sediment

Element pre-recognition and counting

Crystal/cast/pathological cell confirmation

Microbiology (colony)

Colony count, growth pre-assessment

Type distinction, clinical significance

Bone marrow / pathology

Field/cell marking

Diagnostic interpretation, physician approval

Why the model is a "screening", not a diagnosis

The most valuable contribution of image models is that they save the expert's time by quickly passing normal and common patterns. But relying on the model for diagnostic decision-making is dangerous for three reasons:

  1. Rare findings. The model may not recognize a rare cell (e.g. a blast, a parasite, an atypical lymphocyte) that it rarely sees in the training data. The most critical findings are often the rarest; This is where a false negative is most dangerous.
  2. Artifact and painting. Staining quality, preparation thickness, and drying artifacts may mislead the model. In a poorly stained preparation, the model can safely misclassify.
  3. Distribution shift. If the model is trained with one laboratory's device and staining protocol, its performance may decrease with a different device/staining. If your population differs from the training population, the model will perform poorly than expected.
Caution: "The model said it was normal, I didn't look" is the most common way to miss a false negative. If there is an abnormal clinical suspicion (for example, a preliminary diagnosis of leukemia), the smear is examined by a specialist, regardless of what the model says.

Step by step: secure image pre-evaluation flow

  1. Check staining and preparation quality. Poor preparation misleads both the model and the eye; ensure quality first.
  2. Get model pre-classification as gallery. Quickly review normal, high security classes.
  3. Examine those marked low confidence and "atypical" first. If the model is unclear, the decision is yours.
  4. Keep clinical suspicion above the model. Perform a full manual review of a case where an abnormality is expected.
  5. Verify and report critical findings. Findings such as blasts, parasites, and malignant cells are confirmed by an expert; It is shared with the physician when necessary.

Note: In addition to using AI as a component of an imaging device in this unit, there is also a limit when working with a language model: uploading patient preparation images to a publicly available language tool is a privacy risk, and relying on an unvalidated tool for clinical diagnosis is wrong. Image diagnosis is performed using validated clinical systems and expert eyes.

Weak prompt / Strong prompt

The following comparison applies when using AI as text support (e.g. to edit a morphology note or prepare a tutorial description); not for diagnostic image decision.

Weak prompt:

Diagnose what's in this blood smear. [image]

This prompt asks the AI for a diagnosis; whereas the language tool is not validated for clinical diagnosis and the patient image is risky in terms of privacy. It is a wrong and dangerous usage.

Powerful prompt:

Your role: assistant preparing training/report text for the laboratory specialist. DIAGNOSIS; Image interpretation is my job. Below I write my own morphological observations (anonymous); Turn these into a neat smear report draft and mark which finding requires expert confirmation. My observations: neutrophil predominance, slight shift to the left, a few atypical lymphocytes[expert confirmation], impression of toxic granulation. Do not imply definitive diagnosis.

The strong will keeps the diagnosis with the expert, uses the AI ​​only to organize his own observations, and flags the finding that requires confirmation.

three mini cases

Case 1 — Efficient elimination. In a hematology laboratory, a digital analyzer pre-sorts 220 blood smears per day. Of these, 150 have completely normal patterns and high confidence scores; The expert quickly reviews and approves them through the gallery. The remaining 70 smears (low confidence or flagged) undergo full manual review. The result: the specialist's time is concentrated on cases that actually require examination, the total time is significantly reduced. The model eliminated, the expert examined.

Case 2 — Escaped blast. In one case, the model flagged a few cells as “atypical lymphocytes” with low confidence, but the expert quickly confirmed and passed through the gallery due to density. Later, the patient's clinical condition worsens; When the smear is examined again, it is seen that these cells are actually blasts. Lesson: cells that the model flags as “low confidence/atypical” are never quickly validated; The most critical finding may be hidden there. False negative is the most expensive mistake.

Case 3 — Staining artifact. On a urine sediment analyzer, the pattern marks numerous "crystals" in a poorly stained preparation. When the expert examines the preparation, he sees that these are staining precipitates (artifacts); There is no real crystal. The preparation is renewed. Lesson: the model may mistake the artifact for the real structure; The quality of the preparation is always checked first.

Copiable prompt templates

MORPHOLOGY REPORT DRAFT TEMPLATEYour role: assistant who translates morphology observations written by me (the expert) into an organized report draft. Don't diagnose. Put my observations below into standard dissemination report language; mark uncertain/atypical findings as "[expert confirmation]"; do not imply a definitive diagnosis. My observations: [text].

IMAGE MODEL EXCEPTION RULE TEMPLATEWrite as a checklist for the image pre-sorting system which cases MUST go to full manual review: low confidence score, "atypical/unidentified" label, suspected clinical abnormality, poor preparation quality, critical finding candidate. Add justification for each item.

PREPARATION QUALITY CONTROL TEMPLATEList the quality items I would check before evaluating a smear/sediment preparation: staining intensity, dispersion/thickness, artifact, drying, contamination. Suggest "accept/reprepare" criteria for each item.

TRAINING DESCRIPTION TEMPLATEYour role: assistant preparing training text for laboratory interns. Explain this morphological concept simply and accurately: [concept]. Give an example, point out the difference between similar structures, but emphasize that the diagnosis decision belongs to the specialist. Image upload; Explain with text only.

Common mistakes

  • Mistaking the model's classification for recognition. Pre-sorting is elimination; The abnormal/critical finding is confirmed by the expert.
  • Quickly approve low safe/atypical flags. The most critical findings are right there; These are examined first and carefully.
  • Skipping the quality of the preparation. Poor painting model and deceives the eye; Quality comes first.
  • Forgetting distribution shift. A model trained with another device/dye may work poorly on your samples.
  • Uploading the patient image to the public tool. Risk of breach of confidentiality and unvalidated diagnosis.
Tip: When working with the image model, let this be your rule: "The model can normally speed me up, but abnormally it will never relax me." If there is clinical doubt or the pattern is unclear, the decision lies with the expert at the microscope.

In summary

AI-assisted image pre-evaluation eliminates normal patterns in blood smears, urine sediment and microbiology, freeing up the specialist's time to focus on cases that actually require investigation. But the model is a screening tool, not a diagnosis: it can miss rare findings, mistake artifacts for real, and weaken in different populations. Diagnosis and final approval of abnormal and critical findings belong to the specialist; low-confidence and atypical markers are examined first; The quality of the preparation is always checked first. Because a false negative is the most expensive error, clinical suspicion trumps the model's output.

Application task

With an "Image Model Exception Rule" template for an image pre-classification system you use (or an example), list which cases will definitely go to full manual review. Then turn a set of morphology observations into a regular report with the "Morphology Report Draft" template and mark findings that require confirmation. Finally, create a quality checklist with the "Preparation Quality Control" template.

checklist

  • [ ] I used the model output as elimination, not diagnosis.
  • [ ] I examined those marked low safe/atypical first and carefully.
  • [ ] I checked the quality of the preparation before evaluating it.
  • [ ] In case of suspicion of clinical abnormality, I performed a full manual examination.
  • [ ] I did not upload patient images to public tools.
  • [ ] I confirmed the critical findings expertly and shared them with the physician when necessary.