File: ImplementationNotes.txt

package info (click to toggle)
orthanc-webviewer 2.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,932 kB
  • sloc: javascript: 21,840; cpp: 7,296; python: 345; sh: 93; makefile: 60
file content (17 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Possible combinations returned by the plugin:

Compression | Color | Depth (bpp) | Colorspace | Stretched
------------+-------+-------------+------------+-----------
Deflate     | False | 16          | int16_t    | Never
JPEG        | False | 8           | uint8_t    | Possible
Deflate     | True  | 8           | RGB24      | Never
JPEG        | True  | 8           | RGB24      | Never


In the viewer, grayscale images are always converted to int16_t.



Note for Cornerstone < 0.7.1: 1 must be added to "maxPixelValue", as
the range [minPixelValue, maxPixelValue[ is taken into consideration
by Cornerstone (i.e. "maxPixelValue" is not inclusive).