Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想对该光谱图像上的光谱计数执行 y 轴强度偏移。无论如何,是否有脚本将此添加到数据立方体中的所有位置的光谱?
单鳗鱼光谱
我不确定您到底在问什么,但是如果您的光谱图像是最前面的图像,那么您可以使用以下方法将所有光谱的“强度”移动 1000:
image SI := GetFrontImage() SI += 1000
如果您希望移位取决于 SI 的 y 坐标(第一行 = 0,第二行 = 1 等),那么您可以使用:
image SI := GetFrontImage() SI += 1000 * irow // irow is 0 in the first row, 1 in the second row etc.