IOFormat
IOF_v0.34.0_release
|
#include <ioformat/StackReader.h>
Public Member Functions | |
StackReader ()=delete | |
Static Public Member Functions | |
static std::shared_ptr< iolink::ImageView > | openImageFromPattern (const std::string &pattern, iolink::ImageDimension newDim) |
static std::shared_ptr< iolink::ImageView > | openImageFromPattern (const std::string &pattern) |
static std::shared_ptr< iolink::ImageView > | readImageFromPattern (const std::string &pattern, iolink::ImageDimension newDim) |
static std::shared_ptr< iolink::ImageView > | readImageFromPattern (const std::string &pattern) |
static std::shared_ptr< iolink::ImageView > | openImageFromListFile (const std::string &filePath, iolink::ImageDimension newDim) |
static std::shared_ptr< iolink::ImageView > | openImageFromListFile (const std::string &filePath) |
static std::shared_ptr< iolink::ImageView > | readImageFromListFile (const std::string &filePath, iolink::ImageDimension newDim) |
static std::shared_ptr< iolink::ImageView > | readImageFromListFile (const std::string &filePath) |
A factory to read stacks of images.
|
delete |
Remove constructor, as this class is a static factory.
|
static |
Stack multiple files as described in a list file.
A list file is a file, usually with the "lst" extension, where each line is a path to a file, absolute, or relative to the list file.
Example of a list file:
filePath | The path to the list file. |
|
static |
Stack multiple files as described in a list file.
A list file is a file, usually with the "lst" extension, where each line is a path to a file, absolute, or relative to the list file.
Example of a list file:
filePath | The path to the list file. |
newDim | The interpretation of the stacking dimension. |
|
static |
Open multiple files to stack them.
The pattern must be written using the character "*" as a wildcard for any number of characters. The wildcard must only be present on the last segment of the path, the filename part.
Example:
/some/dir/img_*.png
will load all files following this pattern, ands stack them, using lexicographic order.
As there is no dimension specified in this version, the ImageType of the output image will be ImageTYpeId::UNKNOWN
pattern | The pattern to use to open files. |
|
static |
Open multiple files to stack them.
The pattern must be written using the character "*" as a wildcard for any number of characters. The wildcard must only be present on the last segment of the path, the filename part.
Example:
/some/dir/img_*.png
will load all files following this pattern, ands stack them, using lexicographic order.
pattern | The pattern to use to open files. |
newDim | The interpretation of the stacking dimension. |
|
static |
Stack multiple files as described in a list file and load the result in memory.
A list file is a file, usually with the "lst" extension, where each line is a path to a file, absolute, or relative to the list file.
Example of a list file:
filePath | The path to the list file. |
|
static |
Stack multiple files as described in a list file and load the result in memory.
A list file is a file, usually with the "lst" extension, where each line is a path to a file, absolute, or relative to the list file.
Example of a list file:
filePath | The path to the list file. |
newDim | The interpretation of the stacking dimension. |
|
static |
Stack multiple files following a pattern and load the stacked ImageView in memory.
The pattern must be written using the character "*" as a wildcard for any number of characters. The wildcard must only be present on the last segment of the path, the filename part.
The stack will be loaded in memory after construction.
Example:
/some/dir/img_*.png
will load all files following this pattern, ands stack them, using lexicographic order.
As there is no dimension specified in this version, the ImageType of the output image will be ImageTYpeId::UNKNOWN
pattern | The pattern to use to open files. |
|
static |
Stack multiple files following a pattern and load the stacked ImageView in memory.
The pattern must be written using the character "*" as a wildcard for any number of characters. The wildcard must only be present on the last segment of the path, the filename part.
The stack will be loaded in memory after construction.
Example:
/some/dir/img_*.png
will load all files following this pattern, ands stack them, using lexicographic order.
pattern | The pattern to use to open files. |
newDim | The interpretation of the stacking dimension. |