AllenCell / AllenCell/vole-core

Transfer function internals

未关闭
#308 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
106
派生
11
平均合并
3 天 51 分钟
30 天内合并 PR
12

描述

## Use Case

Internally, histograms and LUTs are still represented in the 0-255 range, and the vole-app side jumps through some hoops to speak that language. Can we make this more technically robust?

## Solution

Allow histograms/luts to be defined in terms of absolute intensities, rather than a portion of the data range stretched over 0-255.
Three dimensions to consider:
- \# of bins in the histogram (currently 255)
- \# of elements in the lookup table
- Values of the control points

The "weak" solution to this ticket might look like just moving the translation down to the vole-core level from the vole-app level, so that the 0-255 range is entirely internal and opaque to clients. The "strong" solution could look more like actually allowing a variable number of histogram bins, LUT elements, etc. and handling that internally.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。