Mercurial > hg > orthanc-stone
comparison Framework/Volumes/ImageBuffer3D.h @ 1488:7f16987131e1
Missing include + docs + public getter for volume geometry in multiframe loader
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 23 Jun 2020 13:44:23 +0200 |
parents | 30deba7bc8e2 |
children |
comparison
equal
deleted
inserted
replaced
1486:b931ddbe070e | 1488:7f16987131e1 |
---|---|
27 #include <Compatibility.h> | 27 #include <Compatibility.h> |
28 #include <Images/Image.h> | 28 #include <Images/Image.h> |
29 | 29 |
30 namespace OrthancStone | 30 namespace OrthancStone |
31 { | 31 { |
32 /* | |
33 | |
34 This classes stores volume images sliced across the Z axis, vertically, in the decreasing Z order : | |
35 | |
36 +---------------+ | |
37 | | | |
38 | SLICE N-1 | | |
39 | | | |
40 +---------------+ | |
41 | | | |
42 | SLICE N-2 | | |
43 | | | |
44 +---------------+ | |
45 | | | |
46 | SLICE N-3 | | |
47 | | | |
48 . . | |
49 ...... ...... | |
50 . . | |
51 | | | |
52 | SLICE 2 | | |
53 | | | |
54 +---------------+ | |
55 | | | |
56 | SLICE 1 | | |
57 | | | |
58 +---------------+ | |
59 | | | |
60 | SLICE 0 | | |
61 | | | |
62 +---------------+ | |
63 | |
64 As you can see, if the 3d image has size width, height, depth, the 2d image has : | |
65 - 2d width = 3d width | |
66 - 2d height = 3d height * 3d depth | |
67 | |
68 */ | |
69 | |
32 class ImageBuffer3D : public boost::noncopyable | 70 class ImageBuffer3D : public boost::noncopyable |
33 { | 71 { |
34 private: | 72 private: |
35 Orthanc::Image image_; | 73 Orthanc::Image image_; |
36 Orthanc::PixelFormat format_; | 74 Orthanc::PixelFormat format_; |