The functions in this section provide access to information, objects, and functionality of image lists. This includes updating, size and image retrieval, and clearance.
More...
|
| SPINNAKERC_API | spinImageListCreateEmpty (spinImageList *phImageList) |
| | Creates an empty image list (image lists created this way must be destroyed) More...
|
| |
| SPINNAKERC_API | spinImageListDestroy (spinImageList hImageList) |
| | Destroys a image list. More...
|
| |
| SPINNAKERC_API | spinImageListGetSize (spinImageList hImageList, size_t *pSize) |
| | Retrieves the number of images in an image list. More...
|
| |
| SPINNAKERC_API | spinImageListGet (spinImageList hImageList, size_t index, spinImage *phImage) |
| | Retrieves a image from a image list using an index. More...
|
| |
| SPINNAKERC_API | spinImageListClear (spinImageList hImageList) |
| | Clears a image list. More...
|
| |
| SPINNAKERC_API | spinImageListRemove (spinImageList hImageList, size_t index) |
| | Removes a image from a image list using its index. More...
|
| |
| SPINNAKERC_API | spinImageListAppend (spinImageList hImageListBase, spinImageList hImageListToAppend) |
| | Appends all the images from one image list to another. More...
|
| |
| SPINNAKERC_API | spinImageListGetByPixelFormat (spinImageList hImageList, spinPixelFormatEnums pixelFormat, spinImage *phImage) |
| | Retrieves a image from a image list given its pixel format. More...
|
| |
| SPINNAKERC_API | spinImageListGetByStreamIndex (spinImageList hImageList, uint64_t streamIndex, spinImage *phImage) |
| | Retrieves a image from a image list given its stream index. More...
|
| |
| SPINNAKERC_API | spinImageListRemoveByPixelFormat (spinImageList hImageList, spinPixelFormatEnums pixelFormat) |
| | Removes a image from a image list using its pixel format. More...
|
| |
| SPINNAKERC_API | spinImageListRemoveByStreamIndex (spinImageList hImageList, uint64_t streamIndex) |
| | Removes a image from a image list using its stream index. More...
|
| |
| SPINNAKERC_API | spinImageListRelease (spinImageList hImageList) |
| |
| SPINNAKERC_API | spinImageListSave (spinImageList hImageList, const char *fileName) |
| | Saves an image list as an object to a file. More...
|
| |
| SPINNAKERC_API | spinImageListLoad (spinImageList *phImageList, const char *fileName) |
| | Creates an image list object from file. More...
|
| |
The functions in this section provide access to information, objects, and functionality of image lists. This includes updating, size and image retrieval, and clearance.
◆ spinImageListAppend()
Appends all the images from one image list to another.
- See also
- spinError
- Parameters
-
| hImageListBase | The image list to receive the other |
| hImageListToAppend | The image list to add to the other |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListClear()
Clears a image list.
- See also
- spinError
- Parameters
-
| hImageList | The image list to clear |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListCreateEmpty()
Creates an empty image list (image lists created this way must be destroyed)
- See also
- spinError
- Parameters
-
| phImageList | The image list handle pointer in which the empty image list is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListDestroy()
Destroys a image list.
- See also
- spinError
- Parameters
-
| hImageList | The image list to destroy |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListGet()
Retrieves a image from a image list using an index.
This function will return a SPINNAKER_ERR_INVALID_PARAMETER error if the input index is out of range.
- See also
- spinError
- Parameters
-
| hImageList | The image list of the image to retrieve |
| index | The index of the image |
| phImage | The image handle pointer in which the image is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListGetByPixelFormat()
Retrieves a image from a image list given its pixel format.
This function will return a NULL spinImage pointer if no matching image pixel format is found.
- See also
- spinError
- Parameters
-
| hImageList | The image list of the image to retrieve |
| pixelFormat | The pixel format of the image to retrieve |
| phImage | The image handle pointer in which the image is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListGetByStreamIndex()
Retrieves a image from a image list given its stream index.
This function will return a NULL spinImage pointer if no matching image stream index is found.
- See also
- spinError
- Parameters
-
| hImageList | The image list of the image to retrieve |
| streamIndex | The stream index of the image to retrieve |
| phImage | The image handle pointer in which the image is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListGetSize()
Retrieves the number of images in an image list.
- See also
- spinError
- Parameters
-
| hImageList | The image list where the images to be counted are |
| pSize | The unsigned integer pointer in which the number of images is returned |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListLoad()
Creates an image list object from file.
- See also
- spinImageListSave()
-
spinError
- Parameters
-
| phImageList | The image list handle pointer in which the empty image list is returned |
| fileName | Name of the file to load an image object from. |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListRelease()
◆ spinImageListRemove()
Removes a image from a image list using its index.
- See also
- spinError
- Parameters
-
| hImageList | The image list of the camera to remove |
| index | The index of the image to remove |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListRemoveByPixelFormat()
Removes a image from a image list using its pixel format.
- See also
- spinError
- Parameters
-
| hImageList | The image list of the image to remove |
| pixelFormat | The pixel format of the image to remove |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListRemoveByStreamIndex()
Removes a image from a image list using its stream index.
- See also
- spinError
- Parameters
-
| hImageList | The image list of the image to remove |
| streamIndex | The stream index of the image to remove |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
◆ spinImageListSave()
Saves an image list as an object to a file.
- See also
- spinImageListLoad()
-
spinError
- Parameters
-
| hImageList | The image list of the image to remove |
| fileName | Name of the file to save the current image list object to. It is recommended to use the file extension 'sil'. |
- Returns
- spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error