Objectives:
To get acquainted with image capturing and use of Cantata and
xv.
Methods:
The following was done in the course of this project:
The program SunVideo was executed on the VORLON workstation
connected to a video camera.
A gray-scale image of myself was captured using the software and
stored as a Sun Raster file named
modi_orig.rs.
The captured image (which was of size 320x240) was loaded under
xv. An approximate square window was selected using the mouse and
the image was cropped and then resized to 256x256 and saved back
as a Sun Raster file named modi.rs.
Cantata was now started and a glyph for reading the captured
image was placed in the workspace.
This was done by selecting
INPUT SOURCES->Input Data File->User Defined and then picking
up modi.rs as the User Specified File.
Another glyph was added to convert the Sun Raster image
to VIFF image by selecting
CONVERSIONS->Standard File Format->Raster to VIFF.
The image was then altered by placing the following glyphs (which
acted as filters) in the order mentioned below:
IMAGE PROCESSING->Spatial Filters->Sobel
with the default parameters.
IMAGE PROCESSING->Spatial Filters->Speckle Removal with the
``Number of Iterations'' increased to 5.
The last glyph was finally connected to two different glyphs simultaneously;
one for displaying the image on the screen (OUTPUT->Display Image->Display With Update), and the other for storing the resultant VIFF image
back into a Sun Raster image modi1.rs
(CONVERSIONS->Standard File Format->VIFF to Raster).
Results:
The resultant images can be found in the Appendix below.
The input image (Figure 2) was obtained after
cropping and scaling the captured image (Figure 1)
using xv. The final image (Figure 3) was
obtained after applying the Sobel and Speckle Removal
filters to the input image.
Conclusions:
Capturing images using the digital video camera in the lab was
found to be really easy.
After a brief exposure, it was concluded that Cantata is indeed a very
powerful and versatile software package for image processing. The ability
to interactively create complicated procedures to manipulate images
in a very short time was impressive. xv was found to be
a quick and handy tool for converting between various commonly
used image formats.