求解矩阵方程 A * x = B 中的 x,如果 A 对于 image1 和 image2 中的每个匹配波段是过度确定的,则找到最小二乘解。如果 image1 或 image2 只有一个波段,则会将其与另一张图片中的所有波段进行比较。如果图片具有相同数量的波段,但名称不同,则会按自然顺序成对使用。输出波段的命名方式为:如果两个输入的长度不同,则以较长的输入命名;如果长度相同,则以 image1 的顺序命名。输出像素的类型是输入类型的并集。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["Solves for x in the equation A * x = B using a least-squares approach for matching band pairs between two images."],["Accommodates single-band and multi-band images, pairing bands naturally or against all bands in the other image if necessary."],["Output bands inherit names from the longer input or image1's order for equal lengths, with pixel type determined by the union of input types."],["Accessed via `Image.matrixSolve(image2)`, returning a new Image."]]],["The `matrixSolve` method finds a least-squares solution for `x` in the equation A \\* x = B, where A is derived from `image1` and B from `image2`. It matches bands pairwise, or against all bands of the other image if one has a single band. Bands are matched in natural order if they share a count but not names. Output band names are derived from the longer input, or `image1` if lengths are equal, and output type is the union of input types.\n"]]