Numerical optimization and statistics
ITK's numerical foundation gives higher-level algorithms shared ways to search parameter spaces, describe data, build compact models, and limit costly spatial work. Optimizers connect problem measures to parameter updates. Matrix, polynomial, narrow-band, and statistics services turn image, mesh, point, and vector data into values that registration, segmentation, and model-based methods can use.
Numerical foundation
The numerical foundation is a set of related capabilities rather than one fixed pipeline. A higher-level method can use measured samples, matrix structure, spatial functions, or active regions to produce a score, model, reduced parameter space, or updated state.
| Capability | Purpose | Typical result |
|---|---|---|
| Optimizers | Search for parameters that improve a cost or metric | Updated transform or model parameters |
| Eigen analysis | Find important directions in symmetric matrix data | Local values and orientation vectors |
| Polynomial models | Represent smooth spatial functions with coefficients | Evaluated field or model value |
| Narrow bands | Limit finite-difference work to an active interface region | Efficient level-set updates |
| Principal-components analysis | Summarize related vector fields with a mean and basis | Lower-dimensional variation model |
| Statistics | Summarize, search, model, and classify measurement vectors | Distances, distributions, and labels |
References: Modules/…/itk-module.cmake• L1-21 Modules/…/itk-module.cmake• L1-24 Modules/…/itk-module.cmake• L1-14 Modules/…/itk-module.cmake• L1-16 Modules/…/itk-module.cmake• L1-16 Modules/…/itk-module.cmake• L1-18 Modules/…/itk-module.cmake• L1-23
Optimization
Optimization searches a parameter space by asking a cost function or metric how well the current parameters perform. The older optimizer family uses cost-function objects. The v4 family uses metrics that own the active transform or object parameters.
Cost and metric contracts
A cost function maps parameters to a scalar value or a set of residual values. It can also provide a derivative. An object-to-object metric compares data in a shared virtual domain and supplies the information that an optimizer needs to change the active parameters.
Both optimizer families use parameter scales to place differently sized parameters on a useful search scale. The v4 contract also supports weights for local parameters. These weights can hold selected values fixed or express different importance across the parameter set.
The v4 registration path can estimate parameter scales from transform sensitivity at sampled points in the virtual domain. RegistrationParameterScalesEstimator validates the metric and its transforms, selects the transform side to estimate, and chooses samples from supplied points, local-support regions, linear-transform corners, random points, or the full domain. It can also derive a maximum step size from virtual spacing.
An optimizer must match the information available from its objective. Value-only objectives use derivative-free search. Derivative-based objectives must provide valid derivatives in the direction expected by the optimizer.
References: Modules/…/itkSingleValuedCostFunction.h• L27-74 Modules/…/itkOptimizer.h• L29-93 Modules/…/itkObjectToObjectMetric.h• L33-84 Modules/…/itkObjectToObjectOptimizerBase.h• L60-103 Modules/…/itkRegistrationParameterScalesEstimator.hxx• L37-68 Modules/…/itkRegistrationParameterScalesEstimator.hxx• L72-113 Modules/…/itkRegistrationParameterScalesEstimator.hxx• L207-215 Modules/…/itkRegistrationParameterScalesEstimator.hxx• L305-395 Modules/…/itkOptimizer.cxx• L31-55 Modules/…/itkSingleValuedVnlCostFunctionAdaptor.cxx• L31-49 Modules/…/itkMultipleValuedVnlCostFunctionAdaptor.cxx• L31-48
Multi-start optimization
Multi-start optimization runs local searches from a caller-provided set of starting parameter values. It compares the resulting metric values and leaves the metric at the best visited parameter set, so it can reduce dependence on one initial guess without claiming a global result for an incomplete sample of the search space.
Each start is an independent local trial. A trial that cannot be evaluated is treated as a failed start and the search can continue with the remaining starts. Callers must inspect the stop status and the selected result because the quality of the result depends on the supplied starts.
This diagram shows how multi-start search combines local optimization with best-result selection.
flowchart LR
A[Starting parameter sets] --> B[Select next start]
B --> C[Run local optimizer]
C --> D[Evaluate metric]
D --> E{Better result?}
E -->|yes| F[Store best parameters]
E -->|no| G[Keep current best]
F --> H{More starts?}
G --> H
H -->|yes| B
H -->|no| I[Return best parameters and status]
References: Modules/…/itkMultiStartOptimizerv4.h• L27-37 Modules/…/itkMultiStartOptimizerv4.h• L109-156 Modules/…/itkMultiStartOptimizerv4.hxx• L126-209
Optimization loop
The optimization loop evaluates the current parameters, applies scales and weights to the available information, chooses an update, and checks a stop condition. Adaptors between ITK cost functions and VNL convert parameters and derivatives between the two numeric conventions. They also cache the latest value, derivative, and parameters so observers can monitor evaluations.
The adaptors reject missing cost functions and non-positive scales. A single-valued adaptor can negate a cost when a minimizer must represent a maximization problem. Both single-valued and multiple-valued adaptors report function or gradient evaluations through iteration events.
The v4 wrapping configuration exposes the iteration-update observer with supported optimizer types, including real-valued forms of templated optimizers. This makes iteration values, positions, and stop descriptions available to wrapped optimizer users.
This diagram shows how an objective and an optimizer cooperate during a parameter search.
flowchart LR
A[Initial parameters] --> B[Cost function or metric evaluates]
B --> C[Adaptor applies parameter convention]
C --> D[Optimizer chooses update]
D --> E[Current parameters change]
E --> B
B --> F{Stop condition}
F -->|converged or limited| G[Final parameters and status]
An optimizer exposes a stop condition so callers can separate normal convergence from an iteration limit, invalid input, or an evaluation error. For optimizer-specific guidance, see Optimizer use.
References: Modules/…/itkRegularStepGradientDescentBaseOptimizer.h• L112-146 Modules/…/itkRegularStepGradientDescentBaseOptimizer.h• L154-173 Modules/…/itkSingleValuedVnlCostFunctionAdaptor.cxx• L51-89 Modules/…/itkSingleValuedVnlCostFunctionAdaptor.cxx• L92-125 Modules/…/itkMultipleValuedVnlCostFunctionAdaptor.cxx• L52-84 Modules/…/itkMultipleValuedVnlCostFunctionAdaptor.cxx• L86-116 Modules/…/itkOptimizer.cxx• L77-85 Modules/…/itkCommandIterationUpdatev4.h• L27-147 Modules/…/itkCommandIterationUpdatev4.wrap• L1-57 Modules/…/itkLBFGSOptimizerv4Test.cxx• L169-379
Registration coupling
Registration supplies images or point sets to a metric and supplies the metric to an optimizer. The metric evaluates those objects in a shared virtual domain. The optimizer then changes the active transform while the metric measures progress.
For the full registration lifecycle, see Registration framework and Registration workflows. For image-processing pipelines that consume numerical filter results, see Filtering framework. This page defines the numerical contract that higher-level systems consume.
References: Modules/…/itkImageRegistrationMethodv4.h• L202-224 Modules/…/itkImageRegistrationMethodv4.h• L294-353 Modules/…/itkObjectToObjectMetric.h• L53-84
Matrix and function models
Matrix analysis and polynomial models provide compact descriptions of local structure and smooth spatial effects. One extracts directions from matrix values. The other evaluates a function from a controlled set of coefficients.
Eigen analysis
Eigen analysis finds the principal values and directions of a symmetric matrix. The two-dimensional image filter performs this analysis per pixel from image components that represent the matrix terms. Its outputs expose the strongest and weakest values and the direction linked to the strongest value.
For wrapped use, the binding set is restricted to two-component vectors, which matches the filter's two-dimensional matrix shape.
This result lets an image method reason about local orientation and strength without carrying the full matrix at every pixel.
References: Modules/…/itkEigenAnalysis2DImageFilter.h• L25-41 Modules/…/itkEigenAnalysis2DImageFilter.h• L81-118 Modules/…/itkEigenAnalysis2DImageFilter.wrap• L1-22
Polynomial models
MultivariateLegendrePolynomial represents a two- or three-dimensional function with Legendre basis functions. The selected degree and dimension define how many coefficients the model needs. The model evaluates normalized spatial indices and can traverse its domain.
This gives methods such as bias-field or energy models a small parameter space for smooth spatial effects. The coefficient set must match the selected degree and dimension. The polynomial module's current test setup checks this dimension, degree, coefficient, and traversal contract through its GoogleTest driver.
References: Modules/…/itkMultivariateLegendrePolynomial.h• L29-64 Modules/…/itkMultivariateLegendrePolynomial.h• L100-167 Modules/…/itkMultivariateLegendrePolynomial.h• L164-206 Modules/…/itk-module.cmake• L7-16 Modules/…/CMakeLists.txt• L1-3 Modules/…/itkMultivariateLegendrePolynomialGTest.cxx• L31-67
Narrow-band computation
A narrow band is an active list of image locations near an interface. It lets a finite-difference solver update only locations that can affect the current interface instead of processing the full image.
The band carries each active location with its update data and state. It is split into a requested number of contiguous work regions, including empty regions when the band has fewer nodes than work units. The solver computes changes for each non-empty region, resolves a valid shared time step, applies updates, and refreshes the band when the interface reaches its outer edge or the refresh interval expires.
This diagram shows the repeated work pattern for a narrow-band solver.
flowchart LR
A[Level-set image] --> B[Build active band]
B --> C[Split active work]
C --> D[Compute changes in non-empty regions]
D --> E[Resolve time step]
E --> F[Apply updates]
F --> G{Refresh needed?}
G -->|yes| B
G -->|no| D
The narrow-band base supplies the shared solver structure. It keeps empty work regions from stopping updates in populated regions. A level-set filter supplies the rule for computing changes and deciding when to create or refresh the band. See Segmentation methods for higher-level consumers.
References: Modules/…/itkNarrowBand.hxx• L34-71 Modules/…/itkNarrowBandImageFilterBase.hxx• L48-175 Modules/…/itkNarrowBandImageFilterBase.hxx• L179-224 Modules/…/itkNarrowBandImageFilterBase.hxx• L229-297 Modules/…/itkNarrowBandSmallBandGTest.cxx• L169-234 Modules/…/CMakeLists.txt• L26-27
Principal-components analysis
Principal-components analysis (PCA) summarizes related vector-valued samples with an average and a smaller set of basis directions. VectorFieldPCA accepts vector fields defined over a common point set and returns eigenvalues with basis vectors. A kernel can support PCA when the useful relation between samples is not linear.
The result is a compact model of variation. A shape or deformation method can use the average field as a reference and the selected basis vectors as a lower-dimensional parameter space.
References: Modules/…/itkVectorFieldPCA.h• L31-52 Modules/…/itkVectorFieldPCA.h• L166-212 Modules/…/README.md• L3-7
Statistical analysis
The statistics system represents data as a Sample, which is a collection of measurement vectors. A measurement vector holds the values for one observation. This common form lets image features, point sets, and model inputs use the same summary, search, and classification concepts.
Samples and summaries
ListSample stores direct observations and allows duplicate, unsorted measurements. Histogram groups measurements into regular or irregular multi-dimensional bins and stores their frequencies. Summary filters derive values such as means, standard deviations, and covariance matrices from these sample forms.
Image texture analysis adds a spatial relation to this same histogram idea. ScalarImageToCooccurrenceMatrixFilter counts pairs of pixel values at selected offsets, so downstream texture methods can measure how values occur together. The filter supports normalized frequencies and caller-controlled bin counts or pixel ranges. The test confirms the expected pair counts, normalization, and range behavior for a small scalar image.
The sample contract separates data acquisition from statistical analysis. An adaptor can present values from an image, point set, or vector container without changing the summary operation. Image adaptors expose one measurement per image location. A joint-domain adaptor extends that measurement with the location and pixel data, so spatial and feature values can be analyzed together. Sample-to-histogram conversion also checks the inputs that define the bin space. It reports typed errors when required size, scale, or bounds are missing, when the sample has no measurement components, or when the histogram shape does not match the sample. Covariance summaries can use histogram frequencies as weighted observations and expose both the mean and covariance needed by distance-based models.
References: Modules/…/itkSample.h• L29-49 Modules/…/itkListSample.h• L29-40 Modules/…/itkHistogram.h• L31-66 Modules/…/itkMeanSampleFilter.h• L27-43 Modules/…/itkCovarianceSampleFilter.h• L29-45 Modules/…/itkSampleToHistogramFilter.h• L26-44 Modules/…/itkScalarImageToCooccurrenceMatrixFilter.h• L29-77 Modules/…/itkScalarImageToCooccurrenceMatrixFilterTest.cxx• L75-86 Modules/…/itkScalarImageToCooccurrenceMatrixFilterTest.cxx• L220-253 Modules/…/itkScalarImageToCooccurrenceMatrixFilterTest.cxx• L294-386 Modules/…/itkSampleToHistogramFilterExceptionsGTest.cxx• L37-85 Modules/…/itkCovarianceSampleFilterTest3.cxx• L65-208 Modules/…/itkImageToListSampleAdaptorGTest.cxx• L25-179 Modules/…/itkJointDomainImageToListSampleAdaptorGTest.cxx• L25-158 Modules/…/CMakeLists.txt• L1-73 Modules/…/CMakeLists.txt• L867-900
Histogram transforms
Image-to-histogram conversion turns scalar or multi-component image values into a binned frequency model. The filter can determine bin bounds from the image or use caller-supplied bounds. It can also divide work across image regions and merge the partial histograms, which connects large image data to later probability and texture analysis.
The reverse histogram-to-image filters expose the same binned data in forms that image and registration tools can inspect. They can produce raw bin intensity, probability, log probability, or entropy images. The total histogram frequency controls the probability-based views, while the histogram dimension and bin counts define the output image shape.
This diagram shows the two main directions between image data and histogram-derived numeric views.
flowchart LR
A[Image measurements] --> B[Frequency histogram]
B --> C[Intensity image]
B --> D[Probability image]
B --> E[Log-probability image]
B --> F[Entropy image]
B --> G[Texture or registration analysis]
These views make distribution data usable in image pipelines. They are especially useful for inspecting joint histograms during registration without changing the underlying frequency model.
References: Modules/…/itkImageToHistogramFilter.h• L31-44 Modules/…/itkImageToHistogramFilter.hxx• L101-181 Modules/…/itkImageToHistogramFilter.hxx• L230-295 Modules/…/itkHistogramToImageFilter.h• L29-45 Modules/…/itkHistogramToImageFilter.h• L89-138 Modules/…/itkHistogramToIntensityImageFilter.h• L25-36 Modules/…/itkHistogramToProbabilityImageFilter.h• L25-43 Modules/…/itkHistogramToLogProbabilityImageFilter.h• L25-43 Modules/…/itkHistogramToEntropyImageFilter.h• L25-48
Search and sampling
Statistics also supports search in spatial and feature spaces. A static k-d tree divides measurement vectors by dimension and supports nearest-neighbor and radius queries. Subsamplers and neighborhood samplers reduce a large image or point set to a chosen working set.
These tools connect data volume to algorithm cost. A classifier, cluster estimator, or level-set partition can work from selected samples or neighbors instead of scanning every possible measurement at every step.
References: Modules/…/itkKdTree.h• L498-529 Modules/…/itkKdTree.h• L666-767 Modules/…/itkLevelSetDomainPartitionImageWithKdTree.h• L59-89
Probability and classification
Membership functions map a measurement vector to a score that expresses its fit to a class. A decision rule compares those scores and selects a label. An image classifier applies the functions and rule to input pixels to produce a labeled image.
Mixture-model estimation learns membership functions by alternating between measuring sample fit and updating component parameters and proportions. The estimator stops when the model converges or reaches its iteration limit.
This diagram shows how measured data becomes a class label.
flowchart LR
A[Image or point data] --> B[Measurement sample]
B --> C[Estimate distributions or configure scores]
C --> D[Membership scores]
D --> E[Decision rule]
E --> F[Class labels]
For model choice and statistical-model use, see Statistical-model use.
References: Modules/…/itkMembershipFunctionBase.h• L27-50 Modules/…/itkImageClassifierFilter.h• L31-43 Modules/…/itkImageClassifierFilter.h• L121-147 Modules/…/itkExpectationMaximizationMixtureModelEstimator.h• L48-79 Modules/…/itkExpectationMaximizationMixtureModelEstimator.h• L170-201
Random variate generation
Random variate generation supplies repeatable pseudo-random values for numerical methods that need sampled data. NormalVariateGenerator produces values from a unit normal distribution after the caller initializes it with a seed, so a higher-level method can control reproducibility.
References: Modules/…/itkNormalVariateGenerator.h• L27-35 Modules/…/itkNormalVariateGenerator.h• L93-115
Cross-system relationships
The numerical services divide broad tasks into shared roles. Samples describe observations. Matrix and polynomial models describe structure. PCA reduces related variation. Optimizers search model or transform parameters. Narrow bands limit where spatial updates occur. Statistics can provide scores or priors that an optimizer uses.
| Higher-level need | Numerical support | Result |
|---|---|---|
| Align images or point sets | Metric, derivative, scales, and optimizer | Updated transform |
| Evolve an interface | Narrow band and finite-difference updates | New level-set state |
| Fit a shape prior | PCA basis, cost function, and optimizer | Shape and pose estimate |
| Label feature data | Samples, membership functions, and decision rules | Class-labeled image or sample |
| Reduce a vector-field ensemble | Mean, eigenvalues, and basis vectors | Compact variation model |
References: Modules/…/itkObjectToObjectOptimizerBase.h• L60-103 Modules/…/itkNarrowBandImageFilterBase.h• L31-64 Modules/…/itkVectorFieldPCA.h• L190-202 Modules/…/itkImageClassifierFilter.h• L31-43
Change checklist
When these files or sections are changed, remember to consider these:
- Changes to optimizer scales or adaptor parameter conversion must preserve the mapping between the optimizer's internal parameters and the cost function's parameters.
- Changes to multi-start parameter selection or best-result tracking must preserve the link between each start, its metric value, and the final metric parameters.
- Changes to registration scale sampling or transform-side selection must preserve correspondence among the selected transform, virtual-domain points, and local parameter Jacobians.
- Changes to adaptor derivatives must preserve sign, scale, and matrix orientation for both single-valued and multiple-valued objectives.
- Changes to adaptor evaluation events or cached values must preserve observer access to the current parameters and evaluation result.
- Changes to optimizer wrapper include lists or template instantiations must preserve access to each supported optimizer and its iteration observer in wrapped languages.
- Changes to the sample measurement-vector contract must remain compatible with summary filters, histograms, k-d trees, and membership functions.
- Changes to image-to-histogram bounds, bin sizes, marginal scaling, or streaming must preserve the mapping from image values to merged frequencies.
- Changes to histogram-to-image functors or total-frequency handling must preserve the meaning and shape of intensity, probability, log-probability, and entropy views.
- Changes to sample-to-histogram inputs or exception types must preserve the distinction between automatic and caller-supplied bin bounds.
- Changes to co-occurrence offsets, pixel ranges, bin counts, or normalization must preserve the link between image texture pairs and histogram frequencies.
- Changes to image-backed sample adaptors must preserve the requirement for a source image and the mapping from image locations to measurement-vector identifiers.
- Changes to joint-domain adaptor measurements must preserve the relationship between physical locations and pixel components.
- Changes to narrow-band splitting must preserve contiguous coverage of all active nodes and the requested number of work regions, including empty regions.
- Changes to narrow-band time-step resolution or refresh rules must ensure empty work regions do not suppress updates and must preserve the active region when the interface moves.
- Changes to PCA output shape or component meaning must be checked against shape and deformation consumers in Segmentation methods.
- Changes to PCA kernel or point-set inputs must preserve the relation between vector-field samples, their common points, and the selected basis count.
- Changes to membership scores, decision rules, or mixture proportions must keep model-estimation output compatible with image classification.
- Changes to polynomial degree or coefficient layout must preserve the coefficient contract used by spatial models.
- Changes to random generator initialization must preserve seeded reproducibility for consumers that compare sampled numerical results.
- Changes to Eigen wrapper component restrictions must preserve the two-component vector contract required by the two-dimensional matrix filter.
- Changes to polynomial or statistics test registration must keep the GoogleTest source list and its module test dependencies aligned with the converted test drivers.
- Changes to the VNL source revision or selected upstream paths must keep the numerical library, its algorithm tests, and its legacy-mode test conditions aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A scale is zero, negative, or missing for an expected parameter | An adaptor rejects the setup or the search uses an invalid parameter mapping | Validate positive scales and match their length to the parameter space |
| An adaptor has no cost function | Evaluation fails before the optimizer can move | Connect a valid cost function before starting the search |
| A multi-start search receives no valid or useful starting points | It cannot produce a reliable best result | Supply a representative parameter list and inspect the stop status |
| A registration scale estimator has no metric or the metric has no selected fixed or moving transform | Scale estimation fails before it can sample the virtual domain | Set the metric and both transforms before estimating scales |
| A metric needs explicit virtual-domain samples but receives no point set | Registration scale estimation cannot create sample points | Supply a non-empty virtual-domain point set or use a supported sampling mode |
| A derivative has the wrong sign, scale, or orientation | The optimizer moves in the wrong direction or updates parameters incorrectly | Keep objective and adaptor conventions aligned |
| A value-only objective is used with a derivative-dependent optimizer | Evaluation fails when the optimizer requests a derivative | Match the optimizer to the objective's available information |
| A caller accepts an iteration limit or evaluation error as convergence | The returned parameters are treated as a valid solution when the search is incomplete | Inspect the stop condition and its description |
| A narrow band does not cover the moving interface | The level-set update misses required locations | Set suitable total and inner radii and refresh the band |
| A narrow-band worker partition is assumed to contain a node | A small band can cause an invalid access or hide a valid update | Treat empty regions as valid and process only non-empty regions |
| An image-backed sample adaptor is queried before its image is set | The adaptor raises an exception instead of returning sample data | Set the source image before reading size, frequency, or measurement vectors |
| Measurement vectors have inconsistent size | Summary, search, or classification operations fail or produce invalid results | Set the sample dimension before adding observations and keep it fixed |
| Image values fall outside caller-supplied histogram bounds | Frequencies are clipped or assigned to edge bins | Set bounds and clipping behavior to match the image value range |
| Automatic histogram bounds are requested with streamed input | The filter cannot compute global bounds from separate regions | Provide explicit bounds or disable the incompatible streaming mode |
| A histogram-to-image view has an invalid total frequency or mismatched output shape | Probability-derived values are invalid or the image cannot represent the histogram | Use the histogram's total frequency and matching bin dimensions |
| A sample-to-histogram input is missing or has the wrong component count | Histogram creation raises a typed exception instead of producing the requested bins | Provide the sample dimension and required size, scale, and bounds for the selected mode |
| Co-occurrence offsets leave too few valid pixel pairs or use an unsuitable range | Texture frequencies omit spatial pairs or place values in the wrong bins | Choose offsets and inclusive pixel bounds that match the image and texture scale |
| Class labels and membership functions do not agree | Classification fails or assigns incorrect labels | Keep class counts and score inputs aligned |
| Mixture estimation reaches its iteration limit without convergence | The learned membership functions may not represent a stable model | Check the estimator's convergence state before use |
| A normal variate generator is used before initialization | Sampling uses an unprepared generator state | Initialize it with a chosen seed before requesting values |
| The Eigen wrapper is used with a vector size other than two | The binding cannot represent the filter's required matrix components | Use two-component vector bindings for the wrapped filter |
| A wrapped optimizer type is missing from the include or template list | That optimizer or its iteration observer is unavailable in the wrapped interface | Keep optimizer headers and supported real-type instantiations aligned |
| The VNL source and its test conditions are out of sync | Numerical library tests fail to build or link in the selected legacy mode | Keep the pinned upstream selection and conditional test definitions consistent |
Key files
| File | Why to read it |
|---|---|
| Modules/…/itkOptimizer.h | Defines the older optimizer view of positions, scales, and stop status |
| Modules/…/itkSingleValuedCostFunction.h | Defines the scalar value and derivative contract |
| Modules/…/itkRegularStepGradientDescentBaseOptimizer.h | Shows gradient search controls and stop conditions |
Modules/Numerics/Optimizers/src/itkOptimizer.cxx | Shows validation and storage of optimizer scales and positions |
Modules/Numerics/Optimizers/src/itkSingleValuedVnlCostFunctionAdaptor.cxx | Shows scalar objective conversion, negation, caching, and evaluation events |
Modules/Numerics/Optimizers/src/itkMultipleValuedVnlCostFunctionAdaptor.cxx | Shows residual objective conversion, scaling, caching, and evaluation events |
| Modules/…/itkObjectToObjectOptimizerBase.h | Explains the v4 metric-driven update model, scales, and weights |
| Modules/…/itkObjectToObjectMetric.h | Explains object comparison, transforms, valid samples, and the virtual domain |
| Modules/…/itkMultiStartOptimizerv4.h | Defines the multi-start optimizer contract and best-start result |
Modules/Numerics/Optimizersv4/include/itkMultiStartOptimizerv4.hxx | Shows local trials, metric comparison, continuation, and stop reporting |
Modules/Numerics/Optimizersv4/include/itkRegistrationParameterScalesEstimator.hxx | Shows transform-aware virtual-domain sampling for registration parameter scales |
| Modules/…/itkCommandIterationUpdatev4.h | Defines iteration reporting for v4 optimizer values, positions, and stop state |
Modules/Numerics/Optimizersv4/wrapping/itkCommandIterationUpdatev4.wrap | Defines the optimizer types and real-valued forms exposed to wrapped languages |
Modules/Numerics/Optimizersv4/test/itkLBFGSOptimizerv4Test.cxx | Confirms v4 optimizer convergence, iteration limits, parameter scales, and unsupported local-support behavior |
| Modules/…/itkEigenAnalysis2DImageFilter.h | Shows local symmetric-matrix analysis and its image outputs |
Modules/Numerics/Eigen/wrapping/itkEigenAnalysis2DImageFilter.wrap | Defines the two-component vector bindings required by the 2D Eigen filter |
| Modules/…/itkMultivariateLegendrePolynomial.h | Shows the coefficient-based spatial function model |
Modules/Numerics/Polynomials/test/itkMultivariateLegendrePolynomialGTest.cxx | Confirms the polynomial dimension, degree, coefficient, and iterator contract |
| Modules/…/itkNarrowBand.h | Defines active nodes and band regions |
Modules/Numerics/NarrowBand/include/itkNarrowBand.hxx | Shows contiguous work-region partitioning for bands smaller than the work-unit count |
| Modules/…/itkNarrowBandImageFilterBase.h | Shows the active-region finite-difference solver contract |
Modules/Numerics/NarrowBand/include/itkNarrowBandImageFilterBase.hxx | Shows time-step resolution, parallel updates, and band refresh behavior |
Modules/Numerics/NarrowBand/test/itkNarrowBandSmallBandGTest.cxx | Verifies empty bands and bands with fewer nodes than work units |
| Modules/…/itkVectorFieldPCA.h | Shows how vector-field ensembles become mean fields and PCA bases |
| Modules/…/itkSample.h | Defines the measurement-vector abstraction shared by statistics tools |
| Modules/…/itkHistogram.h | Shows the binned representation for frequency and distribution queries |
| Modules/…/itkImageToHistogramFilter.h | Defines image-to-histogram controls for bounds, bins, and streaming |
Modules/Numerics/Statistics/include/itkImageToHistogramFilter.hxx | Shows bound selection, regional histogram work, and merge behavior |
| Modules/…/itkHistogramToImageFilter.h | Defines the shared histogram-to-image view and total-frequency contract |
| Modules/…/itkHistogramToIntensityImageFilter.h | Defines raw histogram-frequency image output |
| Modules/…/itkHistogramToProbabilityImageFilter.h | Defines normalized histogram-probability image output |
| Modules/…/itkHistogramToLogProbabilityImageFilter.h | Defines log-probability image output for histogram inspection |
| Modules/…/itkHistogramToEntropyImageFilter.h | Defines entropy contribution image output |
| Modules/…/itkNormalVariateGenerator.h | Defines seeded normal random sampling for numerical consumers |
| Modules/…/itkSampleToHistogramFilter.h | Defines the sample-to-bin inputs and typed validation errors |
| Modules/…/itkScalarImageToCooccurrenceMatrixFilter.h | Defines image texture pairs and their histogram controls |
Modules/Numerics/Statistics/test/itkScalarImageToCooccurrenceMatrixFilterTest.cxx | Verifies co-occurrence counts, normalization, offsets, and pixel ranges |
Modules/Numerics/Statistics/test/itkSampleToHistogramFilterExceptionsGTest.cxx | Verifies the public names, messages, and inheritance of histogram input errors |
Modules/Numerics/Statistics/test/itkCovarianceSampleFilterTest3.cxx | Verifies covariance and mean summaries from a weighted histogram sample |
Modules/Numerics/Statistics/test/itkImageToListSampleAdaptorGTest.cxx | Verifies image pixels become measurement vectors with sample size, frequency, and iterator access |
Modules/Numerics/Statistics/test/itkJointDomainImageToListSampleAdaptorGTest.cxx | Verifies joint measurements combine physical image locations with pixel components |
| Modules/…/CMakeLists.txt | Shows registration of legacy and GoogleTest statistics checks |
| Modules/…/itkKdTree.h | Shows feature-space neighbor search used by sampling and partition methods |
| Modules/…/itkMembershipFunctionBase.h | Defines the score interface used by classification |
| Modules/…/itkExpectationMaximizationMixtureModelEstimator.h | Shows mixture-model estimation and its convergence contract |
| Modules/…/itkImageRegistrationMethodv4.h | Shows how registration connects images, metrics, and optimizers |
| Modules/…/itkLevelSetDomainPartitionImageWithKdTree.h | Shows a segmentation consumer of statistical neighbor search |
| Modules/…/UpdateFromUpstream.sh | Defines the pinned VNL source revision and the upstream scope used by numerical support |
| Modules/…/CMakeLists.txt | Shows validation of VNL optimization, matrix, solver, and eigen algorithms across legacy modes |
| Modules/…/CMakeLists.txt | Shows validation of VNL matrix, vector, polynomial, and numeric primitives |
| Modules/…/CMakeLists.txt | Shows validation of the external numerical routines used by VNL |