diff --git a/0.2.x/404.html b/0.2.x/404.html index 8574b97..a030b5d 100755 --- a/0.2.x/404.html +++ b/0.2.x/404.html @@ -265,7 +265,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -546,7 +546,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -556,7 +556,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/benchmark/index.html b/0.2.x/benchmark/index.html index f13e235..0287216 100755 --- a/0.2.x/benchmark/index.html +++ b/0.2.x/benchmark/index.html @@ -269,7 +269,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -552,7 +552,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -562,7 +562,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/color/index.html b/0.2.x/color/index.html index 53a594d..eba3f78 100755 --- a/0.2.x/color/index.html +++ b/0.2.x/color/index.html @@ -273,7 +273,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/concept/index.html b/0.2.x/concept/index.html index 30e904b..c3734c3 100755 --- a/0.2.x/concept/index.html +++ b/0.2.x/concept/index.html @@ -278,7 +278,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -646,7 +646,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -656,7 +656,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/cut/index.html b/0.2.x/cut/index.html index 9f33d85..15f2c89 100755 --- a/0.2.x/cut/index.html +++ b/0.2.x/cut/index.html @@ -273,7 +273,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/import/index.html b/0.2.x/import/index.html index b738432..4053b86 100755 --- a/0.2.x/import/index.html +++ b/0.2.x/import/index.html @@ -278,7 +278,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -564,7 +564,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -574,7 +574,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/index.html b/0.2.x/index.html index 7ce1ce4..f203592 100755 --- a/0.2.x/index.html +++ b/0.2.x/index.html @@ -276,7 +276,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -651,7 +651,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -661,7 +661,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -1059,7 +1059,7 @@ DICOM -.dcm, .DICOM +.dcm, .DCM, .DICOM, .ima, .IMA ✅ pass @@ -1097,6 +1097,16 @@ .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 ✅ pass + +OME +.ome.tiff, .ome.tif +✅ pass + + +MRC +.mrc, .mrc.gz, .map, .map.gz +✅ pass + Support 4D volumetric data diff --git a/0.2.x/installation/index.html b/0.2.x/installation/index.html index eb39cc5..4c2780e 100755 --- a/0.2.x/installation/index.html +++ b/0.2.x/installation/index.html @@ -278,7 +278,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -622,7 +622,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -632,7 +632,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/intergration/index.html b/0.2.x/intergration/index.html index 6e370c6..67a05c0 100755 --- a/0.2.x/intergration/index.html +++ b/0.2.x/intergration/index.html @@ -273,7 +273,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/mask/index.html b/0.2.x/mask/index.html index 57713f7..c95da57 100755 --- a/0.2.x/mask/index.html +++ b/0.2.x/mask/index.html @@ -273,7 +273,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/nodes/index.html b/0.2.x/nodes/index.html index 188e0c0..fc68397 100755 --- a/0.2.x/nodes/index.html +++ b/0.2.x/nodes/index.html @@ -276,7 +276,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/prepare_data/index.html b/0.2.x/prepare_data/index.html index e2e1d4e..0e01e30 100755 --- a/0.2.x/prepare_data/index.html +++ b/0.2.x/prepare_data/index.html @@ -278,7 +278,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -622,7 +622,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -632,7 +632,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -984,7 +984,7 @@ DICOM -.dcm, .DICOM +.dcm, .DCM, .DICOM, .ima, .IMA ✅ pass @@ -1057,6 +1057,16 @@ .mrc, .rec yet + +OME +.ome.tiff, .ome.tif +✅ pass + + +MRC +.mrc, .mrc.gz, .map, .map.gz +✅ pass + Download Data from Internet @@ -1081,10 +1091,22 @@ Open Research Data +Cell Image Library +Cells + + OpenOrganelle Cells +Allen Cell Explorer +Cells + + +EMDB +Protein, Viruses + + Embodi3D Medical Images @@ -1101,10 +1123,6 @@ Medical Images -Allen Cell Explorer -Cells - - Visible Human Project Medical Images diff --git a/0.2.x/render/index.html b/0.2.x/render/index.html index c373e82..173b7ad 100755 --- a/0.2.x/render/index.html +++ b/0.2.x/render/index.html @@ -273,7 +273,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/search/search_index.json b/0.2.x/search/search_index.json index 42e9e6f..a47ce31 100755 --- a/0.2.x/search/search_index.json +++ b/0.2.x/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Bioxel Nodes","text":"Bioxel Nodes is a Blender addon for scientific volumetric data visualization. It using Blender's powerful Geometry Nodes and Cycles to process and render volumetric data. Fantastic rendering result, also support EEVEE NEXT Support multiple formats Support 4D volumetric data All kinds of cutters Simple and powerful nodes Based on blender natively, can work without addon. Click Getting Started to begin your journey into visualizing volumetric data!"},{"location":"#support-multiple-formats","title":"Support Multiple Formats","text":"Format EXT Test DICOM .dcm, .DICOM \u2705 pass BMP .bmp, .BMP \u2705 pass JPEG .jpg, .JPG, .jpeg, .JPEG \u2705 pass PNG .png, .PNG \u2705 pass TIFF .tif, .TIF, .tiff, .TIFF \u2705 pass Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz \u2705 pass Nrrd .nrrd, .nhdr \u2705 pass HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 \u2705 pass"},{"location":"#support-4d-volumetric-data","title":"Support 4D volumetric data","text":"\ud83e\udd70 4D volumetric data can also be imported into Blender."},{"location":"#support-eevee-next","title":"Support EEVEE NEXT","text":"\ud83d\udc4d EEVEE NEXT is absolutely AWESOME! Bioxel Nodes is fully support EEVEE NEXT now! However, there are some limitations: Only one cutter supported. EEVEE result is not that great as Cycles does. "},{"location":"#known-limitations","title":"Known Limitations","text":" Only works with Cycles CPU , Cycles GPU (OptiX), EEVEE Section surface cannot be generated when convert to mesh (will be supported soon) "},{"location":"#compatibile-to-newer-version","title":"Compatibile to Newer Version","text":"Updating this addon may break old files, so read the following carefully before updating Before updating this addon, you need to ask yourself whether this project file will be modified again or not, if it's an archived project file, I would recommend that you run Bioxel Nodes > Save Staged Data to make the addon nodes permanent. In this way, there will be no potential problem with the nodes not functioning due to the addon update. After the addon update, your old project files may not work either, this may be because you had executed Save Staged Data. If so, you need to execute Bioxel Nodes > Relink Nodes to Addon to relink them to make sure that the addon's new functionality and the addon nodes are synchronized. Also, unlike the newer versions, the older shaders are not based on OSL, so if you find that you can't render volumes, you need to turn on Open Shading Language (OSL) in the Render Settings."},{"location":"#roadmap","title":"Roadmap","text":" Better multi-format import experience One-click bake model with texture AI Segmentation to Generate Labels "},{"location":"color/","title":"Set Colors","text":"This type of node is responsible for setting the color properties of the shader"},{"location":"concept/","title":"Concepts & Pipeline","text":""},{"location":"concept/#container-layer-component","title":"Container, Layer, Component","text":"Bioxel Nodes imports volumetric 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 layers in map app, except that here it is in 3D space. In order to visualize the volumetric data the way we want it to, we need to build renderable objects from layers. We call those objects Component. The following diagram shows the relationship of Container, Layer, and Component: "},{"location":"concept/#container-structure","title":"Container Structure","text":"In Blender, container structure is like this: Case_0000 # Container\n|-- Case_0000_CT # Layer\n|-- Case_0000_Label_1 # Layer\n`-- Case_0000_Label_2 # Layer\n The container also stores the build process in geometry nodes: "},{"location":"concept/#layer-type","title":"Layer Type","text":"The layer is categorized into these by data type: Scalar Label Vector (Not implemented yet) Color (Not implemented yet) "},{"location":"concept/#component-building-pipline","title":"Component Building Pipline","text":"In order to build a component, the general process is to first use a \"Mask Method\" node to build the surface of the component based on its layers, and then connect to a \"Assign Shader\" node to add the physical properties. Finally, if you need to cut the cross-section, then connect to a \"Cut\" node. The whole process is shown in the following diagram A typical example looks like this: The \"Mask Method\" node tends to be very computationally intensive, and if it consumes too much time, then you can bake it with a \"Bake\" node after it (but you need to save the Blender file first). "},{"location":"cut/","title":"Cut the Component","text":"This type of node is responsible for cutting components to present cross-section"},{"location":"import/","title":"Import & Preprocess","text":""},{"location":"import/#first-time-import-volume-data","title":"First Time Import Volume Data","text":"File > Import > Volume Data as Bioxel Layer"},{"location":"import/#resample","title":"Resample","text":"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."},{"location":"import/#read-as","title":"Read as","text":" 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. 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 it to Labels to load them. as Vector (Not implemented yet) as Color (Not implemented yet) "},{"location":"import/#others","title":"Others","text":"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."},{"location":"import/#adding-volume-data-to-an-existing-container","title":"Adding Volume Data to an existing container","text":"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."},{"location":"installation/","title":"Installation","text":"Currently only support Blender 4.1 or above, make sure you have the correct version of Blender."},{"location":"installation/#for-blender-42-or-higher","title":"For Blender 4.2 or higher","text":"The most recommended way is to open Edit > Preferences > Extension, enter \"bio\" in the search box and click Install. since the addon is quite large (20MB) you may need to wait a while! Thats it! If it cannot be enable, reboot blender or install again as administrator Also, you can do it maually. Download the Extension version BioxelNodes_Extension_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Extensions > Install from Disk, select the zip file you just downloaded."},{"location":"installation/#for-blender-41","title":"For Blender 4.1","text":"Download the Addon version BioxelNodes_Addon_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Add-ons > Install, select the zip file you just downloaded. The add-on requires a third-party python dependency called SimpleITK, click Install SimpleITK button below to install the dependency. After clicking, blender may get stuck, it is downloading and installing, just wait for a moment. After that, click Reboot Blender button. This step may have failed due to network factors, just click \"Set PyPI Mirror\" to change the mirror."},{"location":"mask/","title":"Mask Methods","text":"This type of node is responsible for culling out the extent of the component that does not need to be rendered, forming the interface between the object and the object, or the surface of the object (i.e., the interface between the object and the air)"},{"location":"nodes/","title":"Nodes","text":""},{"location":"nodes/#mask-methods","title":"Mask Methods","text":""},{"location":"nodes/#mask-by-threshold","title":"\u2b06\ufe0f Mask by Threshold","text":" Generate a mask by keeping only the positions that exceed the threshold (this only works with scalar) Node Parameter: Layer, the input scalar Threshold, the threshold value Preview Detail Factor, the fineness of the preview, the larger the factor, the coarser preview is (Label Mask) Layer, the input label Invert, invert mask Sample Size, the mask sample size (Replacement) Joined, the joined layer "},{"location":"nodes/#mask-by-range","title":"\u2195 Mask by Range","text":" Generate a mask by keeping only the positions that in range (this only works with scalar) Node Parameter: Layer, the input scalar Fram Min, the lower limit Fram Max, the upper limit Preview Detail Factor, the fineness of the preview, the larger the factor, the coarser preview is (Label Mask) Layer, the input label Invert, invert mask Sample Size, the mask sample size (Replacement) Joined, the joined layer "},{"location":"nodes/#mask-by-label","title":"\ud83d\udd24 Mask by Label","text":" Generate a mask by keeping only the positions that in label (this only works with label) Node Parameter: Layer, the input label Preview Detail Factor, the fineness of the preview, the larger the factor, the coarser preview is (Replacement) Joined, the joined layer "},{"location":"nodes/#shaders","title":"Shaders","text":""},{"location":"nodes/#solid-shader","title":"\ud83e\udd5a Solid Shader","text":" Assign a opaque shader based on a preview mesh with no inclusions visible. Fastest rendering speed. Does not support cross-section and color ramp. Node Parameter: Component, the upstream component Base Color, albedo or emission color Subsurface, the subsurface scale Opacity, the opacity of all Specular Specular, the specular of surface Roughness, the roughness of surface Emission Emission, the emission strength "},{"location":"nodes/#slime-shader","title":"\ud83e\udda0 Slime Shader","text":" Assign a semi-transparent shader based on the preview mesh with visible inclusions. Does not support cross-section and color ramp. Node Parameter: Component, the upstream component Base Color, albedo or emission color Density, the degree of solidity Anisotropy, the anisotropy of scatting Specular Specular, the specular of surface Roughness, the roughness of surface Emission Emission, the emission strength "},{"location":"nodes/#volume-shader","title":"\u2601\ufe0f Volume Shader","text":" Assign a volume-based shader with support for cross-section and color ramp. Node Parameter: Component, the upstream component Base Color, albedo or emission color Density, the degree of solidity Anisotropy, the anisotropy of scatting Emission Emission, the emission strength "},{"location":"nodes/#universal-shader","title":"\ud83d\udd2c Universal Shader","text":" Assign a ultimate shader, supporting all features of Bioxel Nodes. Of course, the price is slow rendering, which can be greatly improved by adjusting the Volumes > Step Rate to 100 in the Render Settings Panel. Node Parameter: Component, the upstream component Base Color, albedo or emission color Density, the degree of solidity Anisotropy, the anisotropy of scatting Specular Specular, the specular of surface Roughness, the roughness of surface Emission Emission, the emission strength "},{"location":"nodes/#cutters","title":"Cutters","text":""},{"location":"nodes/#cut","title":"\ud83e\ude9a Cut","text":" Execute all cutters on one component. Node Parameter: Component, the upstream component Cutter 0~4, the cutters Hide Guide, hide the cutter guide "},{"location":"nodes/#plane-object-cutter","title":"\ud83e\uddc0 Plane Object Cutter","text":" Also a plane cutter, but origin and direction are based on exist object. Node Parameter: Plane, the plane object Guide Show, show the cutter guide Scale, scale the cutter guide "},{"location":"nodes/#colors","title":"Colors","text":""},{"location":"nodes/#color-presents","title":"\ud83c\udfa8 Color Presents","text":" Set color from presets. Node Parameter: Component, the upstream component Presets, select color presents Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit "},{"location":"nodes/#2-color-ramp-2","title":"2\ufe0f\u20e3 Color Ramp 2","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#3-color-ramp-3","title":"3\ufe0f\u20e3 Color Ramp 3","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 50% Color Pos2 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#4-color-ramp-4","title":"4\ufe0f\u20e3 Color Ramp 4","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 33.3% Color Pos2 Color, position 66.6% Color Pos3 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#5-color-ramp-5","title":"5\ufe0f\u20e3 Color Ramp 5","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 25% Color Pos2 Color, position 50% Color Pos3 Color, position 75% Color Pos4 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#utils","title":"Utils","text":""},{"location":"nodes/#join-component","title":"\ud83d\udce6 Join Component","text":" Components' combination should not be done by \"Join Geometry\" node because Blender Cycles can't render volumes in the same position, so the node will slightly offset all components randomly to avoid this problem. Node Parameter: Component 0~4, the components "},{"location":"prepare_data/","title":"Prepare Your Data","text":""},{"location":"prepare_data/#support-formats","title":"Support Formats","text":"First thing first, you need to get your volumetric data ready in disk. Bioxel Nodes is developed based on Simple ITK, so theoretically all formats supported by Simple ITK are supported by the addon. If your data is not in the support list, you may do the data conversion first. Format EXT Test DICOM .dcm, .DICOM \u2705 pass BMP .bmp, .BMP \u2705 pass JPEG .jpg, .JPG, .jpeg, .JPEG \u2705 pass PNG .png, .PNG \u2705 pass TIFF .tif, .TIF, .tiff, .TIFF \u2705 pass Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz \u2705 pass Nrrd .nrrd, .nhdr \u2705 pass Meta .mha, .mhd yet HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 \u2705 pass VTK .vtk yet BioRad .PIC, .pic yet Gipl .gipl, .gipl.gz yet LSM .lsm, .LSM yet MINC .mnc, .MNC yet MRC .mrc, .rec yet"},{"location":"prepare_data/#download-data-from-internet","title":"Download Data from Internet","text":"If you don't have any volumetric data, you can access open research data from list below. Note that just because they are open and available for download does not mean you can use them for anything! Be sure to look at the description of the available scopes from website. Source Object MorphoSource Open Research Data Dryad Open Research Data OpenOrganelle Cells Embodi3D Medical Images Github Medical Images NIHR Medical Images Medical Segmentation Decathlon Medical Images Allen Cell Explorer Cells Visible Human Project Medical Images"},{"location":"shader/","title":"Assgin a Shader","text":"This type of node is responsible for setting material physical properties to the component to reflect the differences in rendering effects of different components."},{"location":"step_by_step/","title":"Step by Step","text":""},{"location":"step_by_step/#1-import-volumetric-data","title":"1. Import Volumetric Data","text":"Bioxel Nodes > Import Volumetric Data (Init) > as Scalar, select the data file, click on Import as Scalar. If the data is a sequence of files in directory, just pick one file in that directory, not the whole directory or multiple selection of files. you can also drag one of the data file directly into the 3D viewport to trigger the importing It may take a while to read data. After finishing reading, it will pop up a dialog box. Ignore all the options, just click OK (we will talk about them later). After the importing, the add-on will automatically add the necessary nodes to build the preview. If there is nothing in the bbox wireframe, select the wireframe in 3D viewport, open the geometry nodes panel, set Threshold in the node lower to modify the preview."},{"location":"step_by_step/#2-shading-the-structure","title":"2. Shading the Structure","text":"The only node \"Scalar\" is responsible for mask out the unwanted area and generate the structure surface. You need to assign a shader to truly see the structure, connect a Slime Shader node (Add > Bioxel Nodes > Shaders > Slime Shader) after it. Turned on the cycles rendering to see the result. You may change the Color, Density to modify the shader effect. All the parameters are straightforward, you can understand them by changing their values."},{"location":"step_by_step/#3-cut-to-cross-section","title":"3. Cut to Cross-section","text":"We often need to cut the structure to see the inside of the volumetric data. With Bioxel Nodes, it can be done by one click: select the structure in 3D viewport, right click, Bioxel Nodes > Add a Plane Cutter . The add-on will add a cut node and a cutter object node to the node graph, which are responsible for the cutting process. Change the shader from Slime to Universal to render the cross-section. But it will increase rendering time"},{"location":"step_by_step/#4-save-staged-data-optional","title":"4. Save Staged Data (Optional)","text":"The VDB cache and the custom nodes are not reachable to other computers if you don't save them. Those staged data should be saved, If you want to give your blender file to someone else, or you want to archive your blender file. Save your blender file, then just click Bioxel Nodes > Save Staged Data Just click OK, after that, both the VDB cache and the custom nodes are restored in relative locations. When you share this file with someone, pack the entire directory so that the resources will be not lost. The other person will be able to open it correctly, regardless of whether they have Bioxel Nodes installed or not."},{"location":"step_by_step/#5-convert-to-editable-mesh-optional","title":"5. Convert to Editable Mesh (Optional)","text":"If you want digital sculpting, 3D printing, exporting to game engine, you should convert to editable mesh first. Select the wireframe in 3D viewport, right click Bioxel Nodes > Pick Mesh. It will create a new object with geometry nodes to refer the mesh. You can apply the geometry node to break the connection."},{"location":"terms/","title":"Terms","text":""},{"location":"terms/#bioxels","title":"Bioxels","text":"Bioxels is based on the RAS coordinate system, Right Aanterior Superior, which was chosen over LPS because it is more compatible with most 3D CG software coordinate systems, and is in line with the 3D artist's understanding of space. All distances within Bioxels are in Units, and are specified in Meter pre unit. However, when Bioxels is imported into 3D CG software, its size in the software is not scaled by reading the Meter pre unit directly. The reason for this is that many 3D operations in software require that the primtives not be too large or too small."}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Bioxel Nodes","text":"Bioxel Nodes is a Blender addon for scientific volumetric data visualization. It using Blender's powerful Geometry Nodes and Cycles to process and render volumetric data. Fantastic rendering result, also support EEVEE NEXT Support multiple formats Support 4D volumetric data All kinds of cutters Simple and powerful nodes Based on blender natively, can work without addon. Click Getting Started to begin your journey into visualizing volumetric data!"},{"location":"#support-multiple-formats","title":"Support Multiple Formats","text":"Format EXT Test DICOM .dcm, .DCM, .DICOM, .ima, .IMA \u2705 pass BMP .bmp, .BMP \u2705 pass JPEG .jpg, .JPG, .jpeg, .JPEG \u2705 pass PNG .png, .PNG \u2705 pass TIFF .tif, .TIF, .tiff, .TIFF \u2705 pass Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz \u2705 pass Nrrd .nrrd, .nhdr \u2705 pass HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 \u2705 pass OME .ome.tiff, .ome.tif \u2705 pass MRC .mrc, .mrc.gz, .map, .map.gz \u2705 pass"},{"location":"#support-4d-volumetric-data","title":"Support 4D volumetric data","text":"\ud83e\udd70 4D volumetric data can also be imported into Blender."},{"location":"#support-eevee-next","title":"Support EEVEE NEXT","text":"\ud83d\udc4d EEVEE NEXT is absolutely AWESOME! Bioxel Nodes is fully support EEVEE NEXT now! However, there are some limitations: Only one cutter supported. EEVEE result is not that great as Cycles does. "},{"location":"#known-limitations","title":"Known Limitations","text":" Only works with Cycles CPU , Cycles GPU (OptiX), EEVEE Section surface cannot be generated when convert to mesh (will be supported soon) "},{"location":"#compatibile-to-newer-version","title":"Compatibile to Newer Version","text":"Updating this addon may break old files, so read the following carefully before updating Before updating this addon, you need to ask yourself whether this project file will be modified again or not, if it's an archived project file, I would recommend that you run Bioxel Nodes > Save Staged Data to make the addon nodes permanent. In this way, there will be no potential problem with the nodes not functioning due to the addon update. After the addon update, your old project files may not work either, this may be because you had executed Save Staged Data. If so, you need to execute Bioxel Nodes > Relink Nodes to Addon to relink them to make sure that the addon's new functionality and the addon nodes are synchronized. Also, unlike the newer versions, the older shaders are not based on OSL, so if you find that you can't render volumes, you need to turn on Open Shading Language (OSL) in the Render Settings."},{"location":"#roadmap","title":"Roadmap","text":" Better multi-format import experience One-click bake model with texture AI Segmentation to Generate Labels "},{"location":"color/","title":"Set Colors","text":"This type of node is responsible for setting the color properties of the shader"},{"location":"concept/","title":"Concepts & Pipeline","text":""},{"location":"concept/#container-layer-component","title":"Container, Layer, Component","text":"Bioxel Nodes imports volumetric 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 layers in map app, except that here it is in 3D space. In order to visualize the volumetric data the way we want it to, we need to build renderable objects from layers. We call those objects Component. The following diagram shows the relationship of Container, Layer, and Component: "},{"location":"concept/#container-structure","title":"Container Structure","text":"In Blender, container structure is like this: Case_0000 # Container\n|-- Case_0000_CT # Layer\n|-- Case_0000_Label_1 # Layer\n`-- Case_0000_Label_2 # Layer\n The container also stores the build process in geometry nodes: "},{"location":"concept/#layer-type","title":"Layer Type","text":"The layer is categorized into these by data type: Scalar Label Vector (Not implemented yet) Color (Not implemented yet) "},{"location":"concept/#component-building-pipline","title":"Component Building Pipline","text":"In order to build a component, the general process is to first use a \"Mask Method\" node to build the surface of the component based on its layers, and then connect to a \"Assign Shader\" node to add the physical properties. Finally, if you need to cut the cross-section, then connect to a \"Cut\" node. The whole process is shown in the following diagram A typical example looks like this: The \"Mask Method\" node tends to be very computationally intensive, and if it consumes too much time, then you can bake it with a \"Bake\" node after it (but you need to save the Blender file first). "},{"location":"cut/","title":"Cut the Component","text":"This type of node is responsible for cutting components to present cross-section"},{"location":"import/","title":"Import & Preprocess","text":""},{"location":"import/#first-time-import-volume-data","title":"First Time Import Volume Data","text":"File > Import > Volume Data as Bioxel Layer"},{"location":"import/#resample","title":"Resample","text":"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."},{"location":"import/#read-as","title":"Read as","text":" 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. 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 it to Labels to load them. as Vector (Not implemented yet) as Color (Not implemented yet) "},{"location":"import/#others","title":"Others","text":"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."},{"location":"import/#adding-volume-data-to-an-existing-container","title":"Adding Volume Data to an existing container","text":"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."},{"location":"installation/","title":"Installation","text":"Currently only support Blender 4.1 or above, make sure you have the correct version of Blender."},{"location":"installation/#for-blender-42-or-higher","title":"For Blender 4.2 or higher","text":"The most recommended way is to open Edit > Preferences > Extension, enter \"bio\" in the search box and click Install. since the addon is quite large (20MB) you may need to wait a while! Thats it! If it cannot be enable, reboot blender or install again as administrator Also, you can do it maually. Download the Extension version BioxelNodes_Extension_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Extensions > Install from Disk, select the zip file you just downloaded."},{"location":"installation/#for-blender-41","title":"For Blender 4.1","text":"Download the Addon version BioxelNodes_Addon_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Add-ons > Install, select the zip file you just downloaded. The add-on requires a third-party python dependency called SimpleITK, click Install SimpleITK button below to install the dependency. After clicking, blender may get stuck, it is downloading and installing, just wait for a moment. After that, click Reboot Blender button. This step may have failed due to network factors, just click \"Set PyPI Mirror\" to change the mirror."},{"location":"mask/","title":"Mask Methods","text":"This type of node is responsible for culling out the extent of the component that does not need to be rendered, forming the interface between the object and the object, or the surface of the object (i.e., the interface between the object and the air)"},{"location":"nodes/","title":"Nodes","text":""},{"location":"nodes/#mask-methods","title":"Mask Methods","text":""},{"location":"nodes/#mask-by-threshold","title":"\u2b06\ufe0f Mask by Threshold","text":" Generate a mask by keeping only the positions that exceed the threshold (this only works with scalar) Node Parameter: Layer, the input scalar Threshold, the threshold value Preview Detail Factor, the fineness of the preview, the larger the factor, the coarser preview is (Label Mask) Layer, the input label Invert, invert mask Sample Size, the mask sample size (Replacement) Joined, the joined layer "},{"location":"nodes/#mask-by-range","title":"\u2195 Mask by Range","text":" Generate a mask by keeping only the positions that in range (this only works with scalar) Node Parameter: Layer, the input scalar Fram Min, the lower limit Fram Max, the upper limit Preview Detail Factor, the fineness of the preview, the larger the factor, the coarser preview is (Label Mask) Layer, the input label Invert, invert mask Sample Size, the mask sample size (Replacement) Joined, the joined layer "},{"location":"nodes/#mask-by-label","title":"\ud83d\udd24 Mask by Label","text":" Generate a mask by keeping only the positions that in label (this only works with label) Node Parameter: Layer, the input label Preview Detail Factor, the fineness of the preview, the larger the factor, the coarser preview is (Replacement) Joined, the joined layer "},{"location":"nodes/#shaders","title":"Shaders","text":""},{"location":"nodes/#solid-shader","title":"\ud83e\udd5a Solid Shader","text":" Assign a opaque shader based on a preview mesh with no inclusions visible. Fastest rendering speed. Does not support cross-section and color ramp. Node Parameter: Component, the upstream component Base Color, albedo or emission color Subsurface, the subsurface scale Opacity, the opacity of all Specular Specular, the specular of surface Roughness, the roughness of surface Emission Emission, the emission strength "},{"location":"nodes/#slime-shader","title":"\ud83e\udda0 Slime Shader","text":" Assign a semi-transparent shader based on the preview mesh with visible inclusions. Does not support cross-section and color ramp. Node Parameter: Component, the upstream component Base Color, albedo or emission color Density, the degree of solidity Anisotropy, the anisotropy of scatting Specular Specular, the specular of surface Roughness, the roughness of surface Emission Emission, the emission strength "},{"location":"nodes/#volume-shader","title":"\u2601\ufe0f Volume Shader","text":" Assign a volume-based shader with support for cross-section and color ramp. Node Parameter: Component, the upstream component Base Color, albedo or emission color Density, the degree of solidity Anisotropy, the anisotropy of scatting Emission Emission, the emission strength "},{"location":"nodes/#universal-shader","title":"\ud83d\udd2c Universal Shader","text":" Assign a ultimate shader, supporting all features of Bioxel Nodes. Of course, the price is slow rendering, which can be greatly improved by adjusting the Volumes > Step Rate to 100 in the Render Settings Panel. Node Parameter: Component, the upstream component Base Color, albedo or emission color Density, the degree of solidity Anisotropy, the anisotropy of scatting Specular Specular, the specular of surface Roughness, the roughness of surface Emission Emission, the emission strength "},{"location":"nodes/#cutters","title":"Cutters","text":""},{"location":"nodes/#cut","title":"\ud83e\ude9a Cut","text":" Execute all cutters on one component. Node Parameter: Component, the upstream component Cutter 0~4, the cutters Hide Guide, hide the cutter guide "},{"location":"nodes/#plane-object-cutter","title":"\ud83e\uddc0 Plane Object Cutter","text":" Also a plane cutter, but origin and direction are based on exist object. Node Parameter: Plane, the plane object Guide Show, show the cutter guide Scale, scale the cutter guide "},{"location":"nodes/#colors","title":"Colors","text":""},{"location":"nodes/#color-presents","title":"\ud83c\udfa8 Color Presents","text":" Set color from presets. Node Parameter: Component, the upstream component Presets, select color presents Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit "},{"location":"nodes/#2-color-ramp-2","title":"2\ufe0f\u20e3 Color Ramp 2","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#3-color-ramp-3","title":"3\ufe0f\u20e3 Color Ramp 3","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 50% Color Pos2 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#4-color-ramp-4","title":"4\ufe0f\u20e3 Color Ramp 4","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 33.3% Color Pos2 Color, position 66.6% Color Pos3 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#5-color-ramp-5","title":"5\ufe0f\u20e3 Color Ramp 5","text":" Set color ramp base on scalar value. Node Parameter: Component, the upstream component Fram Min, ramp factor lower limit Fram Max, ramp factor upper limit Ramp Pos0 Color, position 0% Color Pos1 Color, position 25% Color Pos2 Color, position 50% Color Pos3 Color, position 75% Color Pos4 Color, position 100% Color Gamma, non-linear coefficient, the larger the coefficient, the more lower value color Contrast, the larger the contrast, the harder color ramp will be "},{"location":"nodes/#utils","title":"Utils","text":""},{"location":"nodes/#join-component","title":"\ud83d\udce6 Join Component","text":" Components' combination should not be done by \"Join Geometry\" node because Blender Cycles can't render volumes in the same position, so the node will slightly offset all components randomly to avoid this problem. Node Parameter: Component 0~4, the components "},{"location":"prepare_data/","title":"Prepare Your Data","text":""},{"location":"prepare_data/#support-formats","title":"Support Formats","text":"First thing first, you need to get your volumetric data ready in disk. Bioxel Nodes is developed based on Simple ITK, so theoretically all formats supported by Simple ITK are supported by the addon. If your data is not in the support list, you may do the data conversion first. Format EXT Test DICOM .dcm, .DCM, .DICOM, .ima, .IMA \u2705 pass BMP .bmp, .BMP \u2705 pass JPEG .jpg, .JPG, .jpeg, .JPEG \u2705 pass PNG .png, .PNG \u2705 pass TIFF .tif, .TIF, .tiff, .TIFF \u2705 pass Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz \u2705 pass Nrrd .nrrd, .nhdr \u2705 pass Meta .mha, .mhd yet HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 \u2705 pass VTK .vtk yet BioRad .PIC, .pic yet Gipl .gipl, .gipl.gz yet LSM .lsm, .LSM yet MINC .mnc, .MNC yet MRC .mrc, .rec yet OME .ome.tiff, .ome.tif \u2705 pass MRC .mrc, .mrc.gz, .map, .map.gz \u2705 pass"},{"location":"prepare_data/#download-data-from-internet","title":"Download Data from Internet","text":"If you don't have any volumetric data, you can access open research data from list below. Note that just because they are open and available for download does not mean you can use them for anything! Be sure to look at the description of the available scopes from website. Source Object MorphoSource Open Research Data Dryad Open Research Data Cell Image Library Cells OpenOrganelle Cells Allen Cell Explorer Cells EMDB Protein, Viruses Embodi3D Medical Images Github Medical Images NIHR Medical Images Medical Segmentation Decathlon Medical Images Visible Human Project Medical Images"},{"location":"shader/","title":"Assgin a Shader","text":"This type of node is responsible for setting material physical properties to the component to reflect the differences in rendering effects of different components."},{"location":"step_by_step/","title":"Step by Step","text":""},{"location":"step_by_step/#1-import-volumetric-data","title":"1. Import Volumetric Data","text":"Bioxel Nodes > Import Volumetric Data (Init) > as Scalar, select the data file, click on Import as Scalar. If the data is a sequence of files in directory, just pick one file in that directory, not the whole directory or multiple selection of files. you can also drag one of the data file directly into the 3D viewport to trigger the importing It may take a while to read data. After finishing reading, it will pop up a dialog box. Ignore all the options, just click OK (we will talk about them later). After the importing, the add-on will automatically add the necessary nodes to build the preview. If there is nothing in the bbox wireframe, select the wireframe in 3D viewport, open the geometry nodes panel, set Threshold in the node lower to modify the preview."},{"location":"step_by_step/#2-shading-the-structure","title":"2. Shading the Structure","text":"The only node \"Scalar\" is responsible for mask out the unwanted area and generate the structure surface. You need to assign a shader to truly see the structure, connect a Slime Shader node (Add > Bioxel Nodes > Shaders > Slime Shader) after it. Turned on the cycles rendering to see the result. You may change the Color, Density to modify the shader effect. All the parameters are straightforward, you can understand them by changing their values."},{"location":"step_by_step/#3-cut-to-cross-section","title":"3. Cut to Cross-section","text":"We often need to cut the structure to see the inside of the volumetric data. With Bioxel Nodes, it can be done by one click: select the structure in 3D viewport, right click, Bioxel Nodes > Add a Plane Cutter . The add-on will add a cut node and a cutter object node to the node graph, which are responsible for the cutting process. Change the shader from Slime to Universal to render the cross-section. But it will increase rendering time"},{"location":"step_by_step/#4-save-staged-data-optional","title":"4. Save Staged Data (Optional)","text":"The VDB cache and the custom nodes are not reachable to other computers if you don't save them. Those staged data should be saved, If you want to give your blender file to someone else, or you want to archive your blender file. Save your blender file, then just click Bioxel Nodes > Save Staged Data Just click OK, after that, both the VDB cache and the custom nodes are restored in relative locations. When you share this file with someone, pack the entire directory so that the resources will be not lost. The other person will be able to open it correctly, regardless of whether they have Bioxel Nodes installed or not."},{"location":"step_by_step/#5-convert-to-editable-mesh-optional","title":"5. Convert to Editable Mesh (Optional)","text":"If you want digital sculpting, 3D printing, exporting to game engine, you should convert to editable mesh first. Select the wireframe in 3D viewport, right click Bioxel Nodes > Pick Mesh. It will create a new object with geometry nodes to refer the mesh. You can apply the geometry node to break the connection."},{"location":"terms/","title":"Terms","text":""},{"location":"terms/#bioxels","title":"Bioxels","text":"Bioxels is based on the RAS coordinate system, Right Aanterior Superior, which was chosen over LPS because it is more compatible with most 3D CG software coordinate systems, and is in line with the 3D artist's understanding of space. All distances within Bioxels are in Units, and are specified in Meter pre unit. However, when Bioxels is imported into 3D CG software, its size in the software is not scaled by reading the Meter pre unit directly. The reason for this is that many 3D operations in software require that the primtives not be too large or too small."}]} \ No newline at end of file diff --git a/0.2.x/shader/index.html b/0.2.x/shader/index.html index c8a9793..74040a7 100755 --- a/0.2.x/shader/index.html +++ b/0.2.x/shader/index.html @@ -273,7 +273,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/sitemap.xml b/0.2.x/sitemap.xml index b1fecf4..885c7ac 100755 --- a/0.2.x/sitemap.xml +++ b/0.2.x/sitemap.xml @@ -2,77 +2,77 @@ https://omoolab.github.io/BioxelNodes/0.2.x/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/benchmark/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/color/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/concept/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/cut/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/import/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/installation/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/intergration/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/mask/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/nodes/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/prepare_data/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/render/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/shader/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/step_by_step/ - 2024-07-15 + 2024-07-22 daily https://omoolab.github.io/BioxelNodes/0.2.x/terms/ - 2024-07-15 + 2024-07-22 daily \ No newline at end of file diff --git a/0.2.x/sitemap.xml.gz b/0.2.x/sitemap.xml.gz index d5ac938..05288fa 100755 Binary files a/0.2.x/sitemap.xml.gz and b/0.2.x/sitemap.xml.gz differ diff --git a/0.2.x/step_by_step/index.html b/0.2.x/step_by_step/index.html index 404944d..7de007b 100755 --- a/0.2.x/step_by_step/index.html +++ b/0.2.x/step_by_step/index.html @@ -278,7 +278,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -649,7 +649,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -659,7 +659,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure diff --git a/0.2.x/terms/index.html b/0.2.x/terms/index.html index 51c0ba5..b1cc8c7 100755 --- a/0.2.x/terms/index.html +++ b/0.2.x/terms/index.html @@ -276,7 +276,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -559,7 +559,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure @@ -569,7 +569,7 @@ - Visualizating any Bio-structure + Visualizing any Bio-structure
Bioxel Nodes is a Blender addon for scientific volumetric data visualization. It using Blender's powerful Geometry Nodes and Cycles to process and render volumetric data.
Click Getting Started to begin your journey into visualizing volumetric data!
\ud83e\udd70 4D volumetric data can also be imported into Blender.
\ud83d\udc4d EEVEE NEXT is absolutely AWESOME! Bioxel Nodes is fully support EEVEE NEXT now! However, there are some limitations:
Updating this addon may break old files, so read the following carefully before updating
Before updating this addon, you need to ask yourself whether this project file will be modified again or not, if it's an archived project file, I would recommend that you run Bioxel Nodes > Save Staged Data to make the addon nodes permanent. In this way, there will be no potential problem with the nodes not functioning due to the addon update.
After the addon update, your old project files may not work either, this may be because you had executed Save Staged Data. If so, you need to execute Bioxel Nodes > Relink Nodes to Addon to relink them to make sure that the addon's new functionality and the addon nodes are synchronized.
Also, unlike the newer versions, the older shaders are not based on OSL, so if you find that you can't render volumes, you need to turn on Open Shading Language (OSL) in the Render Settings.
This type of node is responsible for setting the color properties of the shader
Bioxel Nodes imports volumetric 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 layers in map app, except that here it is in 3D space.
In order to visualize the volumetric data the way we want it to, we need to build renderable objects from layers. We call those objects Component. The following diagram shows the relationship of Container, Layer, and Component:
In Blender, container structure is like this:
Case_0000 # Container\n|-- Case_0000_CT # Layer\n|-- Case_0000_Label_1 # Layer\n`-- Case_0000_Label_2 # Layer\n
The container also stores the build process in geometry nodes:
The layer is categorized into these by data type:
In order to build a component, the general process is to first use a \"Mask Method\" node to build the surface of the component based on its layers, and then connect to a \"Assign Shader\" node to add the physical properties. Finally, if you need to cut the cross-section, then connect to a \"Cut\" node. The whole process is shown in the following diagram
A typical example looks like this:
The \"Mask Method\" node tends to be very computationally intensive, and if it consumes too much time, then you can bake it with a \"Bake\" node after it (but you need to save the Blender file first).
This type of node is responsible for cutting components to present cross-section
File > Import > Volume Data as Bioxel Layer
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.
Bioxel Size
Original Spacing
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.
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.
Invert Scalar
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 it to Labels to load them.
Labels
as Vector (Not implemented yet)
as Color (Not implemented yet)
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.
Scene Scale
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.
Orient to RAS
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.
Currently only support Blender 4.1 or above, make sure you have the correct version of Blender.
The most recommended way is to open Edit > Preferences > Extension, enter \"bio\" in the search box and click Install. since the addon is quite large (20MB) you may need to wait a while!
Thats it!
If it cannot be enable, reboot blender or install again as administrator
Also, you can do it maually. Download the Extension version BioxelNodes_Extension_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Extensions > Install from Disk, select the zip file you just downloaded.
BioxelNodes_Extension_{version}.zip
Download the Addon version BioxelNodes_Addon_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Add-ons > Install, select the zip file you just downloaded.
BioxelNodes_Addon_{version}.zip
The add-on requires a third-party python dependency called SimpleITK, click Install SimpleITK button below to install the dependency. After clicking, blender may get stuck, it is downloading and installing, just wait for a moment. After that, click Reboot Blender button.
Install SimpleITK
Reboot Blender
This step may have failed due to network factors, just click \"Set PyPI Mirror\" to change the mirror.
This type of node is responsible for culling out the extent of the component that does not need to be rendered, forming the interface between the object and the object, or the surface of the object (i.e., the interface between the object and the air)
Generate a mask by keeping only the positions that exceed the threshold (this only works with scalar)
Node Parameter:
Generate a mask by keeping only the positions that in range (this only works with scalar)
Generate a mask by keeping only the positions that in label (this only works with label)
Assign a opaque shader based on a preview mesh with no inclusions visible. Fastest rendering speed. Does not support cross-section and color ramp.
Assign a semi-transparent shader based on the preview mesh with visible inclusions. Does not support cross-section and color ramp.
Assign a volume-based shader with support for cross-section and color ramp.
Assign a ultimate shader, supporting all features of Bioxel Nodes. Of course, the price is slow rendering, which can be greatly improved by adjusting the Volumes > Step Rate to 100 in the Render Settings Panel.
Execute all cutters on one component.
Also a plane cutter, but origin and direction are based on exist object.
Set color from presets.
Set color ramp base on scalar value.
Components' combination should not be done by \"Join Geometry\" node because Blender Cycles can't render volumes in the same position, so the node will slightly offset all components randomly to avoid this problem.
First thing first, you need to get your volumetric data ready in disk. Bioxel Nodes is developed based on Simple ITK, so theoretically all formats supported by Simple ITK are supported by the addon. If your data is not in the support list, you may do the data conversion first.
If you don't have any volumetric data, you can access open research data from list below.
Note that just because they are open and available for download does not mean you can use them for anything! Be sure to look at the description of the available scopes from website.
This type of node is responsible for setting material physical properties to the component to reflect the differences in rendering effects of different components.
Bioxel Nodes > Import Volumetric Data (Init) > as Scalar, select the data file, click on Import as Scalar. If the data is a sequence of files in directory, just pick one file in that directory, not the whole directory or multiple selection of files.
you can also drag one of the data file directly into the 3D viewport to trigger the importing
It may take a while to read data. After finishing reading, it will pop up a dialog box. Ignore all the options, just click OK (we will talk about them later).
After the importing, the add-on will automatically add the necessary nodes to build the preview.
If there is nothing in the bbox wireframe, select the wireframe in 3D viewport, open the geometry nodes panel, set Threshold in the node lower to modify the preview.
The only node \"Scalar\" is responsible for mask out the unwanted area and generate the structure surface. You need to assign a shader to truly see the structure, connect a Slime Shader node (Add > Bioxel Nodes > Shaders > Slime Shader) after it. Turned on the cycles rendering to see the result.
You may change the Color, Density to modify the shader effect. All the parameters are straightforward, you can understand them by changing their values.
We often need to cut the structure to see the inside of the volumetric data. With Bioxel Nodes, it can be done by one click: select the structure in 3D viewport, right click, Bioxel Nodes > Add a Plane Cutter . The add-on will add a cut node and a cutter object node to the node graph, which are responsible for the cutting process.
Change the shader from Slime to Universal to render the cross-section. But it will increase rendering time
The VDB cache and the custom nodes are not reachable to other computers if you don't save them. Those staged data should be saved, If you want to give your blender file to someone else, or you want to archive your blender file.
Save your blender file, then just click Bioxel Nodes > Save Staged Data
Just click OK, after that, both the VDB cache and the custom nodes are restored in relative locations. When you share this file with someone, pack the entire directory so that the resources will be not lost. The other person will be able to open it correctly, regardless of whether they have Bioxel Nodes installed or not.
If you want digital sculpting, 3D printing, exporting to game engine, you should convert to editable mesh first.
Select the wireframe in 3D viewport, right click Bioxel Nodes > Pick Mesh.
It will create a new object with geometry nodes to refer the mesh. You can apply the geometry node to break the connection.
Bioxels is based on the RAS coordinate system, Right Aanterior Superior, which was chosen over LPS because it is more compatible with most 3D CG software coordinate systems, and is in line with the 3D artist's understanding of space.
All distances within Bioxels are in Units, and are specified in Meter pre unit. However, when Bioxels is imported into 3D CG software, its size in the software is not scaled by reading the Meter pre unit directly. The reason for this is that many 3D operations in software require that the primtives not be too large or too small.