-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
528 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file not shown.
Binary file not shown.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,81 @@ | ||
# Features & Options | ||
|
||
## Import Volume Data as Biovels | ||
## Bioxel Design Concept | ||
|
||
File > Import > Volume Data as Biovels | ||
According to Bioxel design concept, Bioxel Nodes imports volume data and put it into a **Container** as a **Layer**. One container may has more than one layer, and each layer stores the information of different fields under the same location, which is similar to the view layer of map app, except that here it is in 3D space. In order to render the volume the way we want it to, we need to build a renderable object from layers. We call this object **Component**. The following diagram shows the relationship of **Container**, **Layer**, and **Component**: | ||
|
||
![alt text](assets/features_concept.png) | ||
|
||
Bioxel Nodes staging the layer as an openvdb file. The process of building from layers to a component is taking place in blender geometry nodes graph with blender native geometry nodes. Therefore, **the blender file works without Bioxel Nodes.** | ||
|
||
## Container Structure | ||
|
||
In Blender, container structure is like this: | ||
|
||
```bash | ||
Case_0000 # Container | ||
|-- Case_0000_CT # Layer | ||
|-- Case_0000_Label_1 # Layer | ||
`-- Case_0000_Label_2 # Layer | ||
``` | ||
|
||
The container also stores the build process in geometry nodes: | ||
|
||
![alt text](assets/features_container.png) | ||
|
||
The layer is categorized into these by data type: | ||
|
||
- Scalar | ||
- Label | ||
- Vector (Not implemented yet) | ||
- Color (Not implemented yet) | ||
|
||
## First Time Import Volume Data | ||
|
||
File > Import > Volume Data as Bioxel Layer | ||
|
||
### Resample | ||
|
||
![alt text](assets/resample.png) | ||
![alt text](assets/features_resample.png) | ||
|
||
Sometimes the original data is too big, or the spacing in the original data is not reasonable, you can modify the `Bioxel Size` and `Original Spacing` to adjust the Shape of the Bixoels. | ||
Sometimes the original data is too big, or the spacing in the original data is not reasonable, you can modify the `Bioxel Size` and `Original Spacing` to adjust the Shape of the layer. | ||
|
||
A bioxel is like a pixel, the larger the `Bioxel Size`, the lower the resolution of the image, Original Spacing will be read from the original data record, but sometimes the image doesn't have original spacing, you may need to input it manually to get the correct shape. | ||
### Read as | ||
#### as Scalar | ||
|
||
![alt text](assets/as-scalar.png) | ||
- as Scalar | ||
In some cases the environment value is higher than the value of the target object, you can check `Invert Scalar` to adjust the value for better result. | ||
![alt text](assets/features_as-scalar.png) | ||
#### as Labels | ||
In some cases the environment value is higher than the value of the target object, you can check `Invert Scalar` to adjust the value for better result. | ||
![alt text](assets/as-labels.png) | ||
- as Labels | ||
Many AI segmentation task datasets, provide segmentation data, which are often an integer value representing a layer of segmentation labels. You can set the Label Index to determine exactly which labels to load. | ||
Many AI segmentation task datasets, provide segmentation data, which are often an integer value representing a layer of segmentation labels. You can set it to `Labels` to load them. | ||
#### as Vector (Not implemented) | ||
- _as Vector (Not implemented yet)_ | ||
#### as Color (Not implemented) | ||
- _as Color (Not implemented yet)_ | ||
### Others | ||
![alt text](assets/import-others.png) | ||
![alt text](assets/features_import-others.png) | ||
`Scene Scale` determines how many units of length in the Blender world correspond to one unit of length in the Bioxel world. Since Blender defaults to meters, and the default size of blender primitives are around 1 blender unit. Therefore `Scene Scale` set to 0.01 is appropriate. | ||
`Orient to RAS` determines whether the layer should be converted to the RAS coordinate system. Regardless of the format of the medical image data, the coordinate system is mostly the LPS coordinate system. Bioxel, however, are in the RAS coordinate system and therefore need to be transformed in most cases. | ||
## Adding Volume Data to an existing container | ||
## Convert Bioxels to Mesh | ||
In 3D view or outliner panel, select the container and right click, Bioxel Nodes > Add Volume Data to Container. | ||
The import settings are the same as for the first time import. | ||
In 3D view, select bioxels and right-click, Bioxels > Bioxels To Mesh | ||
## Convert Bioxel Components to Mesh | ||
![alt text](assets/to-mesh.png) | ||
In 3D view or outliner panel, select the container and right click, Bioxel Nodes > Bioxel Components To Mesh | ||
Once it has been turned into a mesh model, you can perform any traditional 3D editing operations on it, such as sculpting, boolean, etc. | ||
## Export Biovels as VDB | ||
## Export Biovel Layer as VDB | ||
File > Export > Biovels as VDB | ||
File > Export > Biovel Layer as VDB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.