Skip to content

alashworth/efX-SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSI efX SDK 1.1

Software Development Kit for reading slices from .nsivol and .nsihdr file formats.

Includes bindings for C, C++, C#, and Python.

Usage

Documentation is in C++ and examples are available for C++, C#, and Python.

  1. Import SDK
#include "efX_SDK.h"
using namespace NSI::efX;
  1. Create a volume accessor
Volume* vol = Volume::Create();
  1. Open a .nsivol or .nsihdr file
vol->open(L"example.nsihdr");
  1. Access properties of the volume and allocate a buffer for the slices
float* slice = new float[vol->slice_width() * vol->slice_height()];
  1. Read a specific slice
// Index ranges from 0 to vol->num_slices()-1
vol->read_slice(slice, 100); // Read 100th slice
  1. Cleanup when done using slice and volume
vol->destroy();
delete[] slice;

Support for future NSI efX volume formats

North Star Imaging will continue to update efX-SDK to support changes to the NSI efX volume format. Additionally, updates to the volume format can be separately installed without updating the software that uses efX-SDK. These updates are automatically included in efX-ct and are also available as windows installers at https://github.com/NorthStarImaging/efX-SDK/releases

Copyright 2021 - 2023 North Star Imaging

Licensed under BSD-3-Clause. See LICENSE for more information.

About

Software Development Kit for reading slices from .nsivol and .nsihdr file formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 40.1%
  • Python 30.1%
  • C++ 29.8%