|
| 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) |
| |
| static std::shared_ptr< iolink::ImageView > | openImageFromUriList (const std::string *listUri, size_t count, iolink::ImageDimension newDim, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | openImageFromUriList (const std::string *listUri, size_t count, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | openImageFromUriPattern (const std::string &pattern, iolink::ImageDimension newDim, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | openImageFromUriPattern (const std::string &pattern, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | readImageFromUriList (const std::string *listUri, size_t count, iolink::ImageDimension newDim, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | readImageFromUriList (const std::string *listUri, size_t count, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | readImageFromUriPattern (const std::string &pattern, iolink::ImageDimension newDim, const GeneralOptions &options={}) |
| |
| static std::shared_ptr< iolink::ImageView > | readImageFromUriPattern (const std::string &pattern, const GeneralOptions &options={}) |
| |
A factory to read stacks of images.
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::openImageFromPattern |
( |
const std::string & |
pattern | ) |
|
|
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
- Parameters
-
| pattern | The pattern to use to open files. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the pattern, and stacked.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::openImageFromPattern |
( |
const std::string & |
pattern, |
|
|
iolink::ImageDimension |
newDim |
|
) |
| |
|
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.
- Parameters
-
| pattern | The pattern to use to open files. |
| newDim | The interpretation of the stacking dimension. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the pattern, and stacked.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::openImageFromUriPattern |
( |
const std::string & |
pattern, |
|
|
const GeneralOptions & |
options = {} |
|
) |
| |
|
static |
Open multiple URI 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.
To be stacked, each URI must point to a image that can be read by the IOFormat, and whose shape and datatype are compatible.
Example:
scheme:///.../dir/img_*.png will load all files following this pattern, ands stack them, using lexicographic order.
- Parameters
-
| pattern | The pattern to use to select Uris. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the pattern, and stacked.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::openImageFromUriPattern |
( |
const std::string & |
pattern, |
|
|
iolink::ImageDimension |
newDim, |
|
|
const GeneralOptions & |
options = {} |
|
) |
| |
|
static |
Open multiple URI 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.
To be stacked, each URI must point to a image that can be read by the IOFormat, and whose shape and datatype are compatible.
Example:
scheme:///.../dir/img_*.png will load all files following this pattern, ands stack them, using lexicographic order.
- Parameters
-
| pattern | The pattern to use to select Uris. |
| newDim | The interpretation of the stacking dimension. |
- Exceptions
-
| InvalidArgument | if a URI matching with pattern cannot be parsed correctly |
| InvalidArgument | if a URI matching with pattern does not have aan extension |
| Error | if a URI cannot be opened as an image |
| Error | if stacking failed |
- Returns
- An ImageView containing the images loaded using the pattern, and stacked following given new dimension.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromListFile |
( |
const std::string & |
filePath | ) |
|
|
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:
some/path/to/a/file.ext
some/other/path/to/a/file.ext
...
- Parameters
-
| filePath | The path to the list file. |
- Exceptions
-
| Error | if a file from the list is not found |
| Error | if stacking failed |
- Returns
- An ImageView built by stacking all the images in the list file and loading it in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromListFile |
( |
const std::string & |
filePath, |
|
|
iolink::ImageDimension |
newDim |
|
) |
| |
|
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:
some/path/to/a/file.ext
some/other/path/to/a/file.ext
...
- Parameters
-
| filePath | The path to the list file. |
| newDim | The interpretation of the stacking dimension. |
- Exceptions
-
| Error | if a file from the list is not found |
| Error | if stacking failed |
- Returns
- An ImageView built by stacking all the images in the list file and loading it in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromPattern |
( |
const std::string & |
pattern | ) |
|
|
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
- Parameters
-
| pattern | The pattern to use to open files. |
- Exceptions
-
- Returns
- An ImageView containing the images opened using the pattern, stacked, and loaded in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromPattern |
( |
const std::string & |
pattern, |
|
|
iolink::ImageDimension |
newDim |
|
) |
| |
|
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.
- Parameters
-
| pattern | The pattern to use to open files. |
| newDim | The interpretation of the stacking dimension. |
- Exceptions
-
- Returns
- An ImageView containing the images opened using the pattern, stacked, and loaded in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromUriList |
( |
const std::string * |
listUri, |
|
|
size_t |
count, |
|
|
const GeneralOptions & |
options = {} |
|
) |
| |
|
static |
Stack multiple Uris from a list and load the stacked ImageView in memory.
To be stacked, each URI must point to a image that can be read by the IOFormat, and whose shape and datatype are compatible.
The stack will be loaded in memory after construction.
- Parameters
-
| listUri | A pointer to an array of URIs, each URI being a path to a file. |
| count | The number of URIs in the list. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the given list, stacked and loaded in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromUriList |
( |
const std::string * |
listUri, |
|
|
size_t |
count, |
|
|
iolink::ImageDimension |
newDim, |
|
|
const GeneralOptions & |
options = {} |
|
) |
| |
|
static |
Stack multiple Uris from a list and load the stacked ImageView in memory.
To be stacked, each URI must point to a image that can be read by the IOFormat, and whose shape and datatype are compatible.
The stack will be loaded in memory after construction.
- Parameters
-
| listUri | A pointer to an array of URIs, each URI being a path to a file. |
| count | The number of URIs in the list. |
| newDim | The interpretation of the stacking dimension. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the given list, stacked following given new dimension, and loaded in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromUriPattern |
( |
const std::string & |
pattern, |
|
|
const GeneralOptions & |
options = {} |
|
) |
| |
|
static |
Stack multiple Uris 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.
To be stacked, each URI must point to a image that can be read by the IOFormat, and whose shape and datatype are compatible.
The stack will be loaded in memory after construction.
Example:
scheme:///.../dir/img_*.png will load all files following this pattern, ands stack them, using lexicographic order.
- Parameters
-
| pattern | The pattern to use to select Uris. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the pattern, stacked and loaded in memory.
- See also
- IOFormat::stack
| static std::shared_ptr< iolink::ImageView > ioformat::StackReader::readImageFromUriPattern |
( |
const std::string & |
pattern, |
|
|
iolink::ImageDimension |
newDim, |
|
|
const GeneralOptions & |
options = {} |
|
) |
| |
|
static |
Stack multiple Uris 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.
To be stacked, each URI must point to a image that can be read by the IOFormat, and whose shape and datatype are compatible.
The stack will be loaded in memory after construction.
Example:
scheme:///.../dir/img_*.png will load all files following this pattern, ands stack them, using lexicographic order.
- Parameters
-
| pattern | The pattern to use to select Uris. |
| newDim | The interpretation of the stacking dimension. |
- Exceptions
-
- Returns
- An ImageView containing the images loaded using the pattern, stacked following given new dimension, and loaded in memory.
- See also
- IOFormat::stack