learn/what the ai was for
Segmentation
Segmentation is the job of dividing an image or a signal into meaningful pieces, so that a computer can say which part is which object rather than just storing a grid of values.
What it is
A digital image is only a grid of numbers, each number a brightness or a colour at one small point, called a pixel. In three dimensions the small units are called voxels. Segmentation assigns a label to every one of those units: background, or bone, or one particular grain of material. Once labelled, the pieces can be counted and measured. Two flavours are common. Semantic segmentation says what kind of thing each point belongs to, so all the grains share one label. Instance segmentation goes further and gives each separate object its own identifier, so one grain can be told apart from the grain touching it.
Modern segmentation usually works by learning from examples. A person marks up a set of images by hand, outlining the regions of interest, and a network is trained to reproduce those outlines, then applied to images it has never seen. Networks built for this task often pass the image through layers that shrink it, to capture broad context, and then layers that enlarge it again, to put the labels back at full resolution. The same machinery works on things that are not pictures at all: a protein's chain of building blocks can be treated as a one-dimensional signal and cut into labelled stretches.
Why scientists use it
Scientific instruments produce more data than anyone can mark up by hand. A tomographic scan, which builds a three-dimensional picture from many views taken at different angles, can contain thousands of slices and many thousands of objects. The measurement a scientist actually wants is almost never the raw brightness; it is a count, a size distribution, a shape, a contact area. All of those require knowing where one object ends and the next begins. Segmentation is the step that turns pictures into objects that can be measured, and it is often the only bottleneck between an instrument and a statistic.
It also makes the invisible categories of a theory into something you can point at. Astronomers speak of cosmic voids, walls and filaments; biologists speak of helices and sheets. These are not printed on the data. Segmentation is how a definition becomes a labelled region, and once regions are labelled consistently the same analysis can be run across far more data than a person could ever inspect. Labels made by a non-learning method can also serve as the training targets that teach a network to do the same job faster.
In the record
Limits
Segmentation inherits whatever the hand-drawn training labels contain, including their mistakes and their unspoken conventions, so a boundary that experts disagree about will be drawn confidently but arbitrarily. Objects that touch or overlap are often merged or split wrongly, and faint or blurred edges are placed by guesswork. A model trained on one instrument, sample or resolution frequently fails on another. Crucially, a label looks equally crisp whether the evidence was strong or weak, which can make noise look like structure and hide how uncertain the measurement really is.
Written by AIxSci: the background from general knowledge, the examples from checked records.
By field
Every article
aix-00152
Neural networks trained to find the cutting site on serpin proteins
aix-00190
A transformer model segments cryo-electron tomograms from three viewing directions at once
aix-00116
Neural network reads protein surfaces to predict DNA and RNA binding
aix-00079
Changing the training penalty improves how a network spots beta-sheets in blurry protein maps
aix-00072
Attention patterns inside a protein language model used to cut sequences into reusable units
aix-00043
Neural network maps cosmic voids, walls and filaments from sparse galaxy tracers
aix-00013