MV Batch Image File SourceDirectShow Filter
The MontiVision Batch Image File Source filter is used to
load batches of still images. It is a powerful tool for
both batch and still image to video conversion. See the examples at
the bottom of the page. This filter supports two working
modes. Either it loads one image file after another as fast as
possible or it loads a new image file on every trigger
event. To facilitate this, a source folder is specified which
includes the image files to be loaded. The image files must all
have the same image width, height and bit count per
pixel.
This MontiVision DirectShow Filter is used in combination with
the MontiVision
Smart Control in the ImageStream Sample
Application.
The following formats are supported:
- Bitmap (*.bmp)
- JPEG (*.jpg)
- TIFF (*.tif)
- TTF (*.ttf)
- ICON (*.ico)
- JFIF (*.jif)
- PCD (*.pcd)
- PCX (*.pcx)
- PNG (*.png)
- PBM (*.pbm)
- PGM (*.pgm)
- PPM (*.ppm)
- RAS (*.ras)
- TARGA (*.tga)
| File: |
BatchFileSource.ax |
| CLSID: |
CLSID_MVBatchFileSource |
Supported Interfaces
IMVBatchFileSource
IMVBatchFileSource2
IMVBatchFileSource3
IMVSetImageFormat
IMVTrigger
IMVImageInfo
IMVAbout
IMVFilterInfo
Supported I/O Pins
| I/O Pin
|
Corresponding method
|
Discription
|
Filename
[String] |
IMVImageCapture::get_FixedFileName |
Outputs the file name for the currently processed image
file. |
Trigger
[Boolean] |
IMVTrigger::Trigger |
Loads the next image of the
current image batch (if the filter is in trigger mode).
Example: If the trigger mode is MV_TRIGGER_RISING_EDGE, a
snapshot is taken after the the Control I/O pin changes its state
from FALSE to TRUE. |
Attention:
I/O Pins are dominant, meaning they have a higher priority
than the corresponding method of the filter's interface!
MV Batch Image File Source Property Page
Uses the IMVBatchFileSource and IMVTrigger configuration interfaces.

Batch image file source filter property
page
| Open folder |
Used to specify the source folder that
contains the batch of image files to be loaded. |
| Sort files |
If this check box is selected, the image files are loaded
alphabetical. |
| Trigger |
Used to load the next image file if
triggering is enabled. |
| Use trigger |
Used to enable or disable the trigger
mode. If triggering is enabled, a new image file is loaded for
every trigger event. Otherwise a new image is loaded as soon
as possible. |
Examples:
1. Still image batch to MJPEG compressed video stream
conversion:

Still image to video stream conversion
2. Batch image processing
All images included in source
folder "A" are loaded by the MV Batch Image File Source
filter, segmented by the MV Segmentation filter and written to
folder "B" by the MV Image Renderer filter. Format conversion is
optional. For example the source images can be bitmaps
(*.bmp) while the processed images are saved as TIFF
(*.tif) images.

Batch image processing
|