|
brainrat-private 6.0.4
|
#include <cartobase/object/object.h>#include <cartobase/stream/directory.h>#include <cartobase/stream/fileutil.h>#include <aims/io/channelR.h>#include <brainrat/data/slices.h>#include <brainrat/exception/stackerexcept.h>
Go to the source code of this file.
Functions | |
| template<class T> | |
| bool | detectSlices (aims::Process &p, const std::string &, aims::Finder &) |
| template<class T> | |
| bool | individStackSlices (aims::Process &p, const std::string &, aims::Finder &) |
| template<class T> | |
| void | rescale (carto::VolumeRef< T > &in, RescalerInfo &info) |
| template<class T> | |
| bool | writeStackedSlices (int32_t dx, int32_t dy, int32_t res, float z, T background, std::vector< Component > &cpnt, carto::VolumeRef< T > &data, std::string outputfile, std::string format) |
| template<class T> | |
| bool | writeNumberedSlices (int32_t dx, int32_t dy, int32_t res, float z, T background, std::vector< Component > &cpnt, carto::VolumeRef< T > &data, std::string outputdir, std::string outputname, std::string format, uint8_t slicemin) |
| bool detectSlices | ( | aims::Process & | p, |
| const std::string & | , | ||
| aims::Finder & | ) |
Definition at line 23 of file slices_d.h.
References HistologyScanSlicesDetector::analyze(), HistologyScanSlicesDetector::boundingBoxes(), SlicesDetector::c, SlicesDetector::disable_checks, SlicesDetector::fileIn, SlicesDetector::fileOut, SlicesDetector::fraction, SlicesDetector::ht, SlicesDetector::lt, MAX_HISTO, SlicesDetector::min_size, SlicesDetector::n, NB_MODES, and SlicesDetector::res.
| bool individStackSlices | ( | aims::Process & | p, |
| const std::string & | , | ||
| aims::Finder & | ) |
Definition at line 118 of file slices_d.h.
References HistologyScanSlicesDetector::analyze(), background(), SlicesStacker::c, changeComponentsIndex(), SlicesStacker::dimensionorders, SlicesStacker::dimensionsizes, SlicesStacker::dx, SlicesStacker::dy, SlicesStacker::fileIn, SlicesStacker::fileInP, SlicesStacker::fileOut, SlicesStacker::format, SlicesStacker::fraction, SlicesStacker::ht, SlicesStacker::lt, MAX_HISTO, SlicesStacker::min_size, SlicesStacker::n, NB_MODES, SlicesStacker::nostack, SlicesStacker::outName, SlicesStacker::res, SlicesStacker::sn, sortComponent(), writeComponents(), writeNumberedSlices(), writeStackedSlices(), and SlicesStacker::z.
| void rescale | ( | carto::VolumeRef< T > & | in, |
| RescalerInfo & | info ) |
Definition at line 236 of file slices_d.h.
| bool writeNumberedSlices | ( | int32_t | dx, |
| int32_t | dy, | ||
| int32_t | res, | ||
| float | z, | ||
| T | background, | ||
| std::vector< Component > & | cpnt, | ||
| carto::VolumeRef< T > & | data, | ||
| std::string | outputdir, | ||
| std::string | outputname, | ||
| std::string | format, | ||
| uint8_t | slicemin ) |
Definition at line 361 of file slices_d.h.
References background(), BORDER_GLOBAL, BORDER_LOCAL, ComponentSize_hz, ComponentSize_vt, extractMaxima(), extractVectorFromComponent(), and INCH.
Referenced by individStackSlices().
| bool writeStackedSlices | ( | int32_t | dx, |
| int32_t | dy, | ||
| int32_t | res, | ||
| float | z, | ||
| T | background, | ||
| std::vector< Component > & | cpnt, | ||
| carto::VolumeRef< T > & | data, | ||
| std::string | outputfile, | ||
| std::string | format ) |
Definition at line 273 of file slices_d.h.
References background(), BORDER_GLOBAL, BORDER_LOCAL, ComponentSize_hz, ComponentSize_vt, extractMaxima(), extractVectorFromComponent(), and INCH.
Referenced by individStackSlices().