open_iA 2024.7
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
iAOIFReaderHelper Class Reference

Helper class for reading Olympus image files (.oif). Adapted from FluoRenderer code. More...

#include <iAOIFReader.h>

Collaboration diagram for iAOIFReaderHelper:
[legend]

Public Types

using ResultImgPtr = ResultImgType::Pointer
 
using ResultImgType = itk::Image<unsigned short, 3>
 
using TiffImgPtr = TiffImgType::Pointer
 
using TiffImgType = itk::Image<unsigned short, 2>
 

Public Member Functions

 iAOIFReaderHelper ()
 
bool GetBatch ()
 
int GetBatchNum ()
 
int GetChanNum ()
 
int GetCurBatch ()
 
std::wstring GetCurName (int t, int c)
 
int GetCurTime ()
 
std::wstring GetDataName ()
 
double GetExcitationWavelength (int chan)
 
double GetMaxValue ()
 
std::wstring GetPathName ()
 
ResultImgPtr GetResult (int chanIdx)
 
double GetScalarScale ()
 
int GetSliceNum ()
 
std::wstring GetTimeId ()
 
int GetTimeNum ()
 
int GetXSize ()
 
double GetXSpc ()
 
int GetYSize ()
 
double GetYSpc ()
 
double GetZSpc ()
 
bool IsSpcInfoValid ()
 
void Load ()
 
int LoadBatch (int index)
 
void Preprocess ()
 
void SetBatch (bool batch)
 
void SetFile (std::string &file)
 
void SetFile (std::wstring &file)
 
void SetTimeId (std::wstring &id)
 

Protected Attributes

int m_alignment
 padding alignment
 
std::wstring m_id_string
 the path and file name used to read files
 
std::wstring m_path_name
 
int m_resample_type
 0: nearest neighbour; 1: linear
 
int m_resize_type
 0: no resizing; 1: padding; 2: resampling
 
bool m_batch
 3D Batch
 
std::vector< std::wstring > m_batch_list
 
int m_cur_batch
 

Detailed Description

Helper class for reading Olympus image files (.oif). Adapted from FluoRenderer code.

Member Typedef Documentation

◆ ResultImgPtr

◆ ResultImgType

using iAOIFReaderHelper::ResultImgType = itk::Image<unsigned short, 3>

◆ TiffImgPtr

◆ TiffImgType

using iAOIFReaderHelper::TiffImgType = itk::Image<unsigned short, 2>

Constructor & Destructor Documentation

◆ iAOIFReaderHelper()

iAOIFReaderHelper::iAOIFReaderHelper ( )

Member Function Documentation

◆ GetBatch()

bool iAOIFReaderHelper::GetBatch ( )
inline

◆ GetBatchNum()

int iAOIFReaderHelper::GetBatchNum ( )
inline

◆ GetChanNum()

int iAOIFReaderHelper::GetChanNum ( )
inline

◆ GetCurBatch()

int iAOIFReaderHelper::GetCurBatch ( )
inline

◆ GetCurName()

std::wstring iAOIFReaderHelper::GetCurName ( int t,
int c )

◆ GetCurTime()

int iAOIFReaderHelper::GetCurTime ( )
inline

◆ GetDataName()

std::wstring iAOIFReaderHelper::GetDataName ( )
inline

◆ GetExcitationWavelength()

double iAOIFReaderHelper::GetExcitationWavelength ( int chan)

◆ GetMaxValue()

double iAOIFReaderHelper::GetMaxValue ( )
inline

◆ GetPathName()

std::wstring iAOIFReaderHelper::GetPathName ( )
inline

◆ GetResult()

iAOIFReaderHelper::ResultImgPtr iAOIFReaderHelper::GetResult ( int chanIdx)

◆ GetScalarScale()

double iAOIFReaderHelper::GetScalarScale ( )
inline

◆ GetSliceNum()

int iAOIFReaderHelper::GetSliceNum ( )
inline

◆ GetTimeId()

std::wstring iAOIFReaderHelper::GetTimeId ( )

◆ GetTimeNum()

int iAOIFReaderHelper::GetTimeNum ( )
inline

◆ GetXSize()

int iAOIFReaderHelper::GetXSize ( )
inline

◆ GetXSpc()

double iAOIFReaderHelper::GetXSpc ( )
inline

◆ GetYSize()

int iAOIFReaderHelper::GetYSize ( )
inline

◆ GetYSpc()

double iAOIFReaderHelper::GetYSpc ( )
inline

◆ GetZSpc()

double iAOIFReaderHelper::GetZSpc ( )
inline

◆ IsSpcInfoValid()

bool iAOIFReaderHelper::IsSpcInfoValid ( )
inline

◆ Load()

void iAOIFReaderHelper::Load ( )

◆ LoadBatch()

int iAOIFReaderHelper::LoadBatch ( int index)

◆ Preprocess()

void iAOIFReaderHelper::Preprocess ( )

◆ SetBatch()

void iAOIFReaderHelper::SetBatch ( bool batch)

◆ SetFile() [1/2]

void iAOIFReaderHelper::SetFile ( std::string & file)

◆ SetFile() [2/2]

void iAOIFReaderHelper::SetFile ( std::wstring & file)

◆ SetTimeId()

void iAOIFReaderHelper::SetTimeId ( std::wstring & id)

Member Data Documentation

◆ m_alignment

int iAOIFReaderHelper::m_alignment
protected

padding alignment

◆ m_batch

bool iAOIFReaderHelper::m_batch
protected

3D Batch

◆ m_batch_list

std::vector<std::wstring> iAOIFReaderHelper::m_batch_list
protected

◆ m_cur_batch

int iAOIFReaderHelper::m_cur_batch
protected

◆ m_id_string

std::wstring iAOIFReaderHelper::m_id_string
protected

the path and file name used to read files

◆ m_path_name

std::wstring iAOIFReaderHelper::m_path_name
protected

◆ m_resample_type

int iAOIFReaderHelper::m_resample_type
protected

0: nearest neighbour; 1: linear

◆ m_resize_type

int iAOIFReaderHelper::m_resize_type
protected

0: no resizing; 1: padding; 2: resampling


The documentation for this class was generated from the following files: