  Model-based approaches to imaging, like specialized image enhancements in
astronomy, facilitate explanations of relationships between observed inputs and
computed outputs. These models may be expressed with extended matrix-vector
(EMV) algebra, especially when they involve only scalars, vectors, and
matrices, and with n-mode or index notations, when they involve
multidimensional arrays, also called numeric tensors or, simply, tensors. While
this paper features an example, inspired by exoplanet imaging, that employs
tensors to reveal embedded 2D fast Fourier transforms in an image enhancement
model, the work is actually about the tensor algebra and software, or tensor
frameworks, available for model-based imaging. The paper proposes a
Ricci-notation tensor (RT) framework, comprising a dual-variant index notation,
with Einstein summation convention, and codesigned object-oriented software,
called the RTToolbox for MATLAB. Extensions to Ricci notation offer novel
representations for entrywise, pagewise, and broadcasting operations popular in
EMV frameworks for imaging. Complementing the EMV algebra computable with
MATLAB, the RTToolbox demonstrates programmatic and computational efficiency
thanks to careful design of tensor and dual-variant index classes. Compared to
its closest competitor, also a numeric tensor framework that uses index
notation, the RT framework enables superior ways to model imaging problems and,
thereby, to develop solutions.
