featuresdetected

所属分类:图形图像处理
开发工具:Visual C++
文件大小:53KB
下载次数:26
上传日期:2006-09-10 09:32:28
上 传 者花自飘香
说明:  the programs in this directory illustrate geometric feature detection as discussed . The features detected are intersections,end points and loops.
(the programs in this directory illustrate geometric feature detection as discussed. The features detected are intersections, end points and loops.)

文件列表:
CHAPT6\CHRDATA.0 (1755, 1995-08-24)
CHAPT6\CHRDATA.1 (1695, 1995-08-24)
CHAPT6\CHRDATA.2 (1219, 1995-08-24)
CHAPT6\CHRDATA.3 (1750, 1995-08-24)
CHAPT6\CHRDATA.4 (1182, 1995-08-24)
CHAPT6\CHRDATA.5 (1182, 1995-08-24)
CHAPT6\CHRDATA.6 (1169, 1995-08-24)
CHAPT6\CHRDATA.7 (1196, 1995-08-24)
CHAPT6\CHRDATA.8 (1170, 1995-08-24)
CHAPT6\CHRDATA.9 (1717, 1995-08-24)
CHAPT6\CHRDATA.BM (506, 1995-08-24)
CHAPT6\COORDQ.CPP (2534, 1995-08-24)
CHAPT6\FEATURES.CPP (25338, 1995-08-24)
CHAPT6\FEATURES.EXE (51264, 1995-08-27)
CHAPT6\PREP.H (1358, 1995-08-24)
CHAPT6\SHOWDATA.CPP (1541, 1995-08-24)
CHAPT6\SHOWDATA.EXE (29632, 1995-08-27)
CHAPT6 (0, 2002-09-13)

The programs in this directory illustrate geometric feature detection as discussed in chapter6. The features detected are intersections, end points and loops. As a preliminary step in the feature detection process, thinning(see chapter 3) is performed. The two programs found in this directory are: 1) showdata 2) feature Sample data can be found in: chrdata.bm Sample output data can be found in: chrdata.0, chrdata.1,...,chrdata.9. SHOWDATA: The showdata program read character data in the format of a ".BM" file, converts it to a matrix representation and outputs the image in text mode to the screen. Characters are on a 16x 24 pixel grid. ".BM" consist of an arbitrary number of records where each record consists of: byte 0x00: always 0x00 byte 0x01: ascii code of the character bytes 0x02-0x31: data in 1 bit-per-pixel format. (i.e. Thus it takes 2 bytes to represent a row of the character matrix.) FEATURES: Accepts a ".BM" file as input and creates: 1) a thinned version of the target character and 2) a version of the character consisting only of pixels that are loop members. The original, thinned and loop member versions are all displayed. Coordinates for intersections and endpoints are calculated and displayed. Loop mass and the coordinates of the loop center of mass are calculated and displayed as [mass,(x,y)]. TO Compile: icc showdata.cpp Usage: showdata SourceFile where SourceFile is the name of a ".BM" format file (both name and extention are required) FEATURES: To compile: icc features.cpp Usage features SourceFileName x where SourceFilename is the name of a ".BM" format file. (ONLY the file name should appear on the command line as the program will fill in the .BM extention. Output from the program will go to both the screen and to files SourceFilename.1, SourceFilename.2, SourceFilename,... 

近期下载者

相关文件


收藏者