AllenCell / AllenCell/vole-core

Transfer function internals

オープン
#308 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
106
フォーク
11
平均マージ
3日 51分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。