Image processing demos

The demos in this library read images from files on the hard disk, process them, and then display them. Some of the demos process short sequences of images, thus illustrating video processing in MLDesigner. They all use the image classes described in Image processing primitives. The set of demos in this library does not reflect the richness of possibilities. See the DE domain for more image and video signal processing applications in the context of packet-switched network simulations. The video demos require that the Utah Raster Toolkit be installed and available in the user’s path.

BlendImage
Combine two images and display the result.
bwDither
Demonstrate four different forms of black and white dithering: error diffusion, clustered dither, dispersed dither, and use custom mask.
cntrstEnhance
Contrast enhancement by histogram modification.
ColorImage
Convert an RGB (red-green-blue) format color image to YUV (luminance-hue-saturation) format and back, and then display it on the screen.
CompareMedian
Median filter an image to reduce artifacts due to interleaved scanning in video sequences.
DctImage
Perform discrete cosine transform (DCT) coding of an image sequence.
DpcmImage
Perform differential pulse code modulation (DPCM) on an image sequence.
edgeDetect
Demonstrate four different forms of edge detection: Sobel, Roberts, Prewitt, and Frei-Chen.
MC_DCT
Perform motion compensation and DCT encoding of video.
MotionComp
Perform motion compensation video coding.