[Laboratory]
Overlaying a line-grid on top of an image is a very common operation.
Image A is a 8x8 image expanded by a factor of 20 using pixel replication.
The grid is built using the negation of the maximum of a vertical grid and
a horizontal grid:
Zoomed Image
|
---|
a)Vertical Grid; b)Horizontal Grid
|
|
---|
a) | b)
|
---|
a)White Grid: Maximum between Vertical and Horizontal Grids; b)Black Grid: 255 - White Grid (Negation)
|
|
---|
a) | b)
|
---|
Minimum between Zoomed Image and Black Grid
|
---|
Main DIP Menu
DIP Feedback Form
Copyright © 1997-1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved