EMAN2
|
#include <volume.h>
Public Member Functions | |
Volume (EMData *em) | |
Volume (int x, int y, int z) | |
Volume (int x, int y, int z, float val) | |
Volume (int x, int y, int z, int offx, int offy, int offz, Volume *vol) | |
~Volume () | |
EMData * | get_emdata () |
float | getSpacingX () |
float | getSpacingY () |
float | getSpacingZ () |
float | getOriginX () |
float | getOriginY () |
float | getOriginZ () |
int | getSizeX () |
int | getSizeY () |
int | getSizeZ () |
int | getIndex (int x, int y, int z) |
double | getDataAt (int x, int y, int z) |
double | getDataAt (int index) |
void | setSpacing (float spx, float spy, float spz) |
void | setOrigin (float orgX, float orgY, float orgZ) |
void | setDataAt (int x, int y, int z, double d) |
void | setDataAt (int index, double d) |
void | pad (int padBy, double padValue) |
int | getNumNeighbor6 (int ox, int oy, int oz) |
int | hasCell (int ox, int oy, int oz) |
Volume * | markCellFace () |
int | hasCompleteSheet (int ox, int oy, int oz, Volume *fvol) |
int | hasCompleteSheet (int ox, int oy, int oz) |
int | hasCompleteHelix (int ox, int oy, int oz) |
int | hasCompleteHelix (int ox, int oy, int oz, Volume *fvol) |
int | isHelixEnd (int ox, int oy, int oz, Volume *nvol) |
int | isHelixEnd (int ox, int oy, int oz) |
int | isSheetEnd (int ox, int oy, int oz, Volume *nvol) |
int | isFeatureFace (int ox, int oy, int oz) |
int | isSheetEnd (int ox, int oy, int oz) |
int | isSimple (int ox, int oy, int oz) |
int | isPiercable (int ox, int oy, int oz) |
int | getNumPotComplex (int ox, int oy, int oz) |
int | getNumPotComplex2 (int ox, int oy, int oz) |
int | components6 (int vox[3][3][3]) |
int | components26 (int vox[3][3][3]) |
int | countExt (double vox[3][3][3]) |
int | countInt (double vox[3][3][3]) |
int | countIntEuler (int ox, int oy, int oz) |
void | curveSkeleton (Volume *grayvol, float lowthr, float highthr, Volume *svol) |
insert them back into priority queue More... | |
void | curveSkeleton (float thr, Volume *svol) |
void | curveSkeleton2D (float thr, Volume *svol) |
void | skeleton (float thr, int off) |
void | skeleton (float thr, Volume *svol, Volume *hvol) |
insert them back into priority queue More... | |
void | erodeHelix () |
void | erodeHelix (int disthr) |
int | erodeSheet () |
int | erodeSheet (int disthr) |
void | surfaceSkeletonPres (float thr, Volume *preserve) |
for ( int m = 0 ; m < 6 ; m ++ ) More... | |
void | threshold (double thr) |
void | threshold (double thr, int out, int in) |
void | threshold (double thr, int out, int in, int boundary) |
void | threshold (double thr, int out, int in, int boundary, bool markBoundary) |
VolumeData * | getVolumeData () |
Private Attributes | |
VolumeData * | volData |
Volume::Volume | ( | EMData * | em | ) |
Definition at line 9 of file volume.cpp.
References volData.
Referenced by curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), markCellFace(), skeleton(), and surfaceSkeletonPres().
Volume::Volume | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 13 of file volume.cpp.
Volume::Volume | ( | int | x, |
int | y, | ||
int | z, | ||
float | val | ||
) |
Definition at line 17 of file volume.cpp.
Volume::Volume | ( | int | x, |
int | y, | ||
int | z, | ||
int | offx, | ||
int | offy, | ||
int | offz, | ||
Volume * | vol | ||
) |
Volume::~Volume | ( | ) |
int Volume::components26 | ( | int | vox[3][3][3] | ) |
int Volume::components6 | ( | int | vox[3][3][3] | ) |
Definition at line 2698 of file volume.cpp.
References wustl_mm::SkeletonMaker::neighbor6, x, and y.
Referenced by countInt(), and countIntEuler().
int Volume::countExt | ( | double | vox[3][3][3] | ) |
Definition at line 2838 of file volume.cpp.
References components26().
Referenced by isPiercable(), and isSimple().
int Volume::countInt | ( | double | vox[3][3][3] | ) |
Definition at line 2859 of file volume.cpp.
References components6(), wustl_mm::SkeletonMaker::neighbor6, and wustl_mm::SkeletonMaker::neighbor64.
Referenced by isPiercable(), and isSimple().
int Volume::countIntEuler | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2895 of file volume.cpp.
References components6(), getDataAt(), wustl_mm::SkeletonMaker::neighbor6, and wustl_mm::SkeletonMaker::neighbor64.
Referenced by hasCompleteSheet().
void Volume::curveSkeleton | ( | float | thr, |
Volume * | svol | ||
) |
Definition at line 4268 of file volume.cpp.
References EMAN::PriorityQueue< ValueT, KeyT >::add(), getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getNumPotComplex2(), getSizeX(), getSizeY(), getSizeZ(), EMAN::PriorityQueue< ValueT, KeyT >::isEmpty(), isHelixEnd(), isSimple(), MAX_ERODE, MAX_QUEUELEN, wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), EMAN::PriorityQueue< ValueT, KeyT >::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridPoint::x, wustl_mm::SkeletonMaker::gridQueueEle::y, wustl_mm::SkeletonMaker::gridPoint::y, wustl_mm::SkeletonMaker::gridQueueEle::z, and wustl_mm::SkeletonMaker::gridPoint::z.
insert them back into priority queue
Definition at line 3812 of file volume.cpp.
References EMAN::PriorityQueue< ValueT, KeyT >::add(), getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getNumPotComplex2(), getSizeX(), getSizeY(), getSizeZ(), EMAN::PriorityQueue< ValueT, KeyT >::isEmpty(), isHelixEnd(), isPiercable(), isSimple(), MAX_ERODE, MAX_QUEUELEN, wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), EMAN::PriorityQueue< ValueT, KeyT >::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridPoint::x, wustl_mm::SkeletonMaker::gridQueueEle::y, wustl_mm::SkeletonMaker::gridPoint::y, wustl_mm::SkeletonMaker::gridQueueEle::z, and wustl_mm::SkeletonMaker::gridPoint::z.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning().
void Volume::curveSkeleton2D | ( | float | thr, |
Volume * | svol | ||
) |
Definition at line 4678 of file volume.cpp.
References EMAN::PriorityQueue< ValueT, KeyT >::add(), getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getNumPotComplex2(), getSizeX(), getSizeY(), getSizeZ(), EMAN::PriorityQueue< ValueT, KeyT >::isEmpty(), isHelixEnd(), isSimple(), MAX_ERODE, MAX_QUEUELEN, wustl_mm::SkeletonMaker::neighbor4, wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), EMAN::PriorityQueue< ValueT, KeyT >::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridPoint::x, wustl_mm::SkeletonMaker::gridQueueEle::y, wustl_mm::SkeletonMaker::gridPoint::y, wustl_mm::SkeletonMaker::gridQueueEle::z, and wustl_mm::SkeletonMaker::gridPoint::z.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning().
void Volume::erodeHelix | ( | ) |
Definition at line 5905 of file volume.cpp.
References erodeHelix().
Referenced by erodeHelix(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::PruneCurves().
void Volume::erodeHelix | ( | int | disthr | ) |
Definition at line 5911 of file volume.cpp.
References getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getSizeX(), getSizeY(), getSizeZ(), hasCompleteHelix(), wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridQueueEle::y, and wustl_mm::SkeletonMaker::gridQueueEle::z.
int Volume::erodeSheet | ( | ) |
Definition at line 6234 of file volume.cpp.
References erodeSheet().
Referenced by erodeSheet(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::PruneSurfaces().
int Volume::erodeSheet | ( | int | disthr | ) |
Definition at line 6240 of file volume.cpp.
References getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getSizeX(), getSizeY(), getSizeZ(), hasCompleteSheet(), markCellFace(), wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), wustl_mm::SkeletonMaker::sheetNeighbor, threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridQueueEle::y, and wustl_mm::SkeletonMaker::gridQueueEle::z.
EMData * Volume::get_emdata | ( | ) |
Definition at line 31 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::get_emdata(), and getVolumeData().
Referenced by EMAN::BinarySkeletonizerProcessor::process().
double Volume::getDataAt | ( | int | index | ) |
Definition at line 65 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetDataAt(), and volData.
double Volume::getDataAt | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 60 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetDataAt(), volData, x, and y.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::CleanUpSkeleton(), countIntEuler(), curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), getNumNeighbor6(), getNumPotComplex(), hasCell(), hasCompleteHelix(), hasCompleteSheet(), isFeatureFace(), isHelixEnd(), isPiercable(), isSheetEnd(), isSimple(), markCellFace(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::MarkSurfaces(), skeleton(), surfaceSkeletonPres(), threshold(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::VoxelOr().
int Volume::getIndex | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 48 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetIndex(), volData, x, and y.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::MarkSurfaces().
int Volume::getNumNeighbor6 | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 661 of file volume.cpp.
References getDataAt(), and wustl_mm::SkeletonMaker::neighbor6.
Referenced by getNumPotComplex(), isFeatureFace(), and isHelixEnd().
int Volume::getNumPotComplex | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2548 of file volume.cpp.
References getDataAt(), getNumNeighbor6(), wustl_mm::SkeletonMaker::neighbor6, and setDataAt().
Referenced by getNumPotComplex2(), and surfaceSkeletonPres().
int Volume::getNumPotComplex2 | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2615 of file volume.cpp.
References getNumPotComplex().
Referenced by curveSkeleton(), curveSkeleton2D(), and skeleton().
float Volume::getOriginX | ( | ) |
Definition at line 93 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetOriginX(), and volData.
float Volume::getOriginY | ( | ) |
Definition at line 97 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetOriginY(), and volData.
float Volume::getOriginZ | ( | ) |
Definition at line 101 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetOriginZ(), and volData.
int Volume::getSizeX | ( | ) |
Definition at line 36 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetSizeX(), and volData.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::CleanUpSkeleton(), curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning(), markCellFace(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::MarkSurfaces(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::PerformPureJuSkeletonization(), skeleton(), surfaceSkeletonPres(), threshold(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::VoxelOr().
int Volume::getSizeY | ( | ) |
Definition at line 40 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetSizeY(), and volData.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::CleanUpSkeleton(), curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning(), markCellFace(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::MarkSurfaces(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::PerformPureJuSkeletonization(), skeleton(), surfaceSkeletonPres(), threshold(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::VoxelOr().
int Volume::getSizeZ | ( | ) |
Definition at line 44 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetSizeZ(), and volData.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::CleanUpSkeleton(), curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning(), markCellFace(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::MarkSurfaces(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::PerformPureJuSkeletonization(), skeleton(), surfaceSkeletonPres(), threshold(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::VoxelOr().
float Volume::getSpacingX | ( | ) |
Definition at line 81 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetSpacingX(), and volData.
float Volume::getSpacingY | ( | ) |
Definition at line 85 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetSpacingY(), and volData.
float Volume::getSpacingZ | ( | ) |
Definition at line 89 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::GetSpacingZ(), and volData.
VolumeData * Volume::getVolumeData | ( | ) |
Definition at line 69 of file volume.cpp.
References volData.
Referenced by get_emdata(), EMAN::BinarySkeletonizerProcessor::process(), and Volume().
int Volume::hasCell | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 1016 of file volume.cpp.
References getDataAt().
Referenced by hasCompleteSheet(), and markCellFace().
int Volume::hasCompleteHelix | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 1456 of file volume.cpp.
References getDataAt(), and wustl_mm::SkeletonMaker::neighbor6.
Referenced by erodeHelix().
int Volume::hasCompleteHelix | ( | int | ox, |
int | oy, | ||
int | oz, | ||
Volume * | fvol | ||
) |
Definition at line 1512 of file volume.cpp.
References getDataAt(), and wustl_mm::SkeletonMaker::neighbor6.
int Volume::hasCompleteSheet | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 1322 of file volume.cpp.
References countIntEuler().
int Volume::hasCompleteSheet | ( | int | ox, |
int | oy, | ||
int | oz, | ||
Volume * | fvol | ||
) |
Definition at line 1174 of file volume.cpp.
References wustl_mm::SkeletonMaker::edgeFaces, wustl_mm::SkeletonMaker::faceCells, wustl_mm::SkeletonMaker::faceEdges, getDataAt(), hasCell(), and wustl_mm::SkeletonMaker::sheetNeighbor.
Referenced by erodeSheet(), and isSheetEnd().
int Volume::isFeatureFace | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2135 of file volume.cpp.
References getDataAt(), getNumNeighbor6(), and wustl_mm::SkeletonMaker::sheetNeighbor.
Referenced by isSheetEnd().
int Volume::isHelixEnd | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 1789 of file volume.cpp.
References getDataAt(), getNumNeighbor6(), and wustl_mm::SkeletonMaker::neighbor6.
int Volume::isHelixEnd | ( | int | ox, |
int | oy, | ||
int | oz, | ||
Volume * | nvol | ||
) |
Definition at line 1579 of file volume.cpp.
References getDataAt(), and wustl_mm::SkeletonMaker::neighbor6.
Referenced by curveSkeleton(), curveSkeleton2D(), and surfaceSkeletonPres().
int Volume::isPiercable | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2381 of file volume.cpp.
References countExt(), countInt(), and getDataAt().
Referenced by curveSkeleton().
int Volume::isSheetEnd | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2238 of file volume.cpp.
References hasCompleteSheet(), and isFeatureFace().
int Volume::isSheetEnd | ( | int | ox, |
int | oy, | ||
int | oz, | ||
Volume * | nvol | ||
) |
Definition at line 1821 of file volume.cpp.
References wustl_mm::SkeletonMaker::edgeFaces, wustl_mm::SkeletonMaker::faceEdges, getDataAt(), and wustl_mm::SkeletonMaker::sheetNeighbor.
Referenced by surfaceSkeletonPres().
int Volume::isSimple | ( | int | ox, |
int | oy, | ||
int | oz | ||
) |
Definition at line 2316 of file volume.cpp.
References countExt(), countInt(), and getDataAt().
Referenced by curveSkeleton(), curveSkeleton2D(), skeleton(), and surfaceSkeletonPres().
Volume * Volume::markCellFace | ( | ) |
Definition at line 1027 of file volume.cpp.
References getDataAt(), getSizeX(), getSizeY(), getSizeZ(), hasCell(), wustl_mm::SkeletonMaker::neighbor6, setDataAt(), and Volume().
Referenced by erodeSheet().
void Volume::pad | ( | int | padBy, |
double | padValue | ||
) |
Definition at line 273 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::Pad(), and volData.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::PerformPureJuSkeletonization().
void Volume::setDataAt | ( | int | index, |
double | d | ||
) |
Definition at line 56 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::SetDataAt(), and volData.
void Volume::setDataAt | ( | int | x, |
int | y, | ||
int | z, | ||
double | d | ||
) |
Definition at line 52 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::SetDataAt(), volData, x, and y.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::CleanUpSkeleton(), curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), getNumPotComplex(), markCellFace(), wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::MarkSurfaces(), skeleton(), surfaceSkeletonPres(), threshold(), and wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::VoxelOr().
void Volume::setOrigin | ( | float | orgX, |
float | orgY, | ||
float | orgZ | ||
) |
Definition at line 77 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::SetOrigin(), and volData.
void Volume::setSpacing | ( | float | spx, |
float | spy, | ||
float | spz | ||
) |
Definition at line 73 of file volume.cpp.
References wustl_mm::SkeletonMaker::VolumeData::SetSpacing(), and volData.
void Volume::skeleton | ( | float | thr, |
int | off | ||
) |
Definition at line 5089 of file volume.cpp.
References getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getSizeX(), getSizeY(), getSizeZ(), isSimple(), wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridQueueEle::y, and wustl_mm::SkeletonMaker::gridQueueEle::z.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning().
insert them back into priority queue
Definition at line 5692 of file volume.cpp.
References EMAN::PriorityQueue< ValueT, KeyT >::add(), getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getNumPotComplex2(), getSizeX(), getSizeY(), getSizeZ(), EMAN::PriorityQueue< ValueT, KeyT >::isEmpty(), isSimple(), MAX_ERODE, MAX_QUEUELEN, wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), EMAN::PriorityQueue< ValueT, KeyT >::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridPoint::x, wustl_mm::SkeletonMaker::gridQueueEle::y, wustl_mm::SkeletonMaker::gridPoint::y, wustl_mm::SkeletonMaker::gridQueueEle::z, and wustl_mm::SkeletonMaker::gridPoint::z.
void Volume::surfaceSkeletonPres | ( | float | thr, |
Volume * | preserve | ||
) |
for ( int m = 0 ; m < 6 ; m ++ )
thr | threshold / |
type | 0 for curve preserving, 1 for surface preserving |
noise | 0 for no-noise-reduction, n for level-n noise reduction ************************************************************************/ |
Definition at line 8672 of file volume.cpp.
References EMAN::PriorityQueue< ValueT, KeyT >::add(), getDataAt(), wustl_mm::SkeletonMaker::GridQueue2::getNext(), wustl_mm::SkeletonMaker::GridQueue2::getNumElements(), getNumPotComplex(), getSizeX(), getSizeY(), getSizeZ(), EMAN::PriorityQueue< ValueT, KeyT >::isEmpty(), isHelixEnd(), isSheetEnd(), isSimple(), MAX_ERODE, MAX_QUEUELEN, wustl_mm::SkeletonMaker::neighbor6, wustl_mm::SkeletonMaker::GridQueue2::prepend(), wustl_mm::SkeletonMaker::GridQueue2::remove(), EMAN::PriorityQueue< ValueT, KeyT >::remove(), wustl_mm::SkeletonMaker::GridQueue2::reset(), setDataAt(), threshold(), Volume(), wustl_mm::SkeletonMaker::gridQueueEle::x, wustl_mm::SkeletonMaker::gridPoint::x, wustl_mm::SkeletonMaker::gridQueueEle::y, wustl_mm::SkeletonMaker::gridPoint::y, wustl_mm::SkeletonMaker::gridQueueEle::z, and wustl_mm::SkeletonMaker::gridPoint::z.
Referenced by wustl_mm::GraySkeletonCPP::VolumeSkeletonizer::GetJuThinning().
void Volume::threshold | ( | double | thr | ) |
Definition at line 9515 of file volume.cpp.
References threshold().
Referenced by curveSkeleton(), curveSkeleton2D(), erodeHelix(), erodeSheet(), skeleton(), surfaceSkeletonPres(), and threshold().
void Volume::threshold | ( | double | thr, |
int | out, | ||
int | in | ||
) |
Definition at line 9520 of file volume.cpp.
References threshold().
void Volume::threshold | ( | double | thr, |
int | out, | ||
int | in, | ||
int | boundary | ||
) |
Definition at line 9525 of file volume.cpp.
References threshold().
void Volume::threshold | ( | double | thr, |
int | out, | ||
int | in, | ||
int | boundary, | ||
bool | markBoundary | ||
) |
Definition at line 9530 of file volume.cpp.
References getDataAt(), getSizeX(), getSizeY(), getSizeZ(), and setDataAt().
|
private |
Definition at line 222 of file volume.h.
Referenced by getDataAt(), getIndex(), getOriginX(), getOriginY(), getOriginZ(), getSizeX(), getSizeY(), getSizeZ(), getSpacingX(), getSpacingY(), getSpacingZ(), getVolumeData(), pad(), setDataAt(), setOrigin(), setSpacing(), Volume(), and ~Volume().