CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Top-hat transform

operation that extracts small elements and details from given images

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionOct 27, 2025
Entity authorityQ2880017
Source-derived summary

In mathematical morphology and digital image processing, a top-hat transform is an operation that extracts small elements and details from given images. There exist two types of top-hat transform: the white top-hat transform is defined as the difference between the input image and its opening by some structuring element, while the black top-hat transform is defined dually as the difference between the closing and the input image. Top-hat transforms are used for various image processing tasks, such as feature extraction, background equalization, image enhancement, and others.

Mathematical definitions

Let

f

:

E

R

{\displaystyle f:E\mapsto \mathbb {R} }

be a grayscale image, mapping points from a Euclidean space or discrete grid E (such as

R

2

{\displaystyle \mathbb {R} ^{2}}

or

Z

2

{\displaystyle \mathbb {Z} ^{2}}

) into the real line. Let

b

(

x

)

{\displaystyle b(x)}

be a structuring element of grayscale.

Then, the white top-hat transform of f is given by:

T

w

(

f

)

=

f

f

b

{\displaystyle T_{w}(f)=f-f\circ b}

,

where

{\displaystyle \circ }

denotes the opening operation.

The black top-hat transform of f (sometimes called the bottom-hat transform

) is given by:

T

b

(

f

)

=

f

b

f

{\displaystyle T_{b}(f)=f\bullet b-f}

,

where

{\displaystyle \bullet }

is the closing operation.

Properties

The white top-hat transform returns an image, containing those "objects" or "elements" of an input image that:

Are "smaller" than the structuring element (i.e., places where the structuring element does not fit in), and

are brighter than their surroundings.

The black top-hat returns an image, containing the "objects" or "elements" that:

Are "smaller" than the structuring element, and

are darker than their surroundings.

The size, or width, of the elements that are extracted by the top-hat transforms can be controlled by the choice of the structuring element

b

{\displaystyle b}

.

Editorial summary

Begin with the source’s own compact description: “Top-hat transform” is operation that extracts small elements and details from given images. The dossier treats that line as a proposition to test through Top-hat, transform and operation, not as a finished interpretation.

Editorial reviewA practical starting point whose main value is the path it opens into stronger specialist and primary sources. The current 311-word lead offers orientation but no explicit four-digit date, so chronology should not be assumed. The selected authority fields contribute no independent date. For this dossier, Top-hat, transform and operation is the immediate research focus.
Editorial analysis

Why this record matters

The phrase “operation that extracts small elements and details from given images” supplies a clear boundary for inquiry. It also exposes the unanswered questions: who defined that boundary, when it became stable and which sources sit outside it.

Evidence profile

The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Oct 27, 2025. The linked authority identifier is Q2880017. None of the 0 selected statements returned an explicit reference.

Critical limits

A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Top-hat transform”, its source revision and the description used here.
  2. Expand the search: follow Top-hat transform primary sources, Top-hat transform archive and Top-hat research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Top-hat transform”?
  2. Which cited source is closest to the event, object or claim?
  3. What terminology or title could unlock a more precise catalogue search?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Top-hat transform” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.