An embossed image comparison.

Image embossing is a computer graphics technique in which each pixel of an image is replaced either by a highlight or a shadow, depending on light/dark boundaries on the original image. Low contrast areas are replaced by a gray background. The filtered image will represent the rate of color change at each location of the original image. Applying an embossing filter to an image often results in an image resembling a paper or metal embossing of the original image, hence the name.

Technical details

edit

The emboss filter, also called a directional difference filter,[1] will enhance edges in the direction of the selected convolution mask(s). When the emboss filter is applied, the filter matrix is in convolution calculation with the same square area on the original image. So it involves a large amount of calculation when either the image size or the emboss filter mask dimension is large. The emboss filter repeats the calculation as encoded in the filter matrix for every pixel in the image; the procedure itself compares the neighboring pixels on the image, leaving a mark where a sharp change in pixel value is detected. In this way, the marks form a line following an object's contour. The process yields an embossed image with edges highlighted.

Four primary emboss filter masks are:

According to the need to enhance edge details from different directions, we can also rotate the emboss filter masks, such as:

To control the depth of edges, we can enlarge the emboss filter masks, such as:

Example

edit

Two different emboss filters are applied to the original photo. Image (a) is the result of a 5×5 filter with the +1 and -1 in the horizontal direction, which emphasizes vertical lines. Image (b) is the result of a 5×5 filter with the +1 and -1 in the vertical direction; it emphasizes horizontal lines. Since the entries of a given emboss filter matrix sum to zero, the output image has an almost completely black background, with only the edges visible. Adding a 128 value of brightness (half the 0-255 range) to each pixel creates the final, displayed images with grey-toned backgrounds:

Sample photo with horizontal and vertical embossing
Original image
Image (a): horizontal emboss
Image (b):vertical emboss


See also

edit

References

edit
  1. ^ "Computer imaging: Digital image analysis and processing (Second ed.)" by Scott E Umbaugh, ISBN 978-1-4398-0206-9(2010)
edit

📚 Artikel Terkait di Wikipedia

Paper embossing

engraves the desired image into several metal plates, which are the embossing dies for use on an embossing press. Generally, embossing is the process most

Embossing

a raised pattern on a material: Embossing (manufacturing), commercial scale embossing of sheet metal Image embossing, the process to create highlights

Kernel (image processing)

In image processing, a kernel, convolution matrix, or mask is a small matrix used for blurring, sharpening, embossing, edge detection, and more. This is

Embossing tape

Embossing tape is a labelling medium usually of hard plastic. Embossing tape is used with embossing machines, often handheld. The company name and trademark

Embossing (manufacturing)

sheet embossing operation is commonly accomplished with a combination of heat and pressure on the sheet metal, depending on what type of embossing is required

Banknotes of the Australian dollar

transparent "window" with a diffractive optically variable device (DOVD) image of Captain James Cook as a security feature. Australian notes were the first

Digital embossing

Digital embossing is a digital printing technology enhancement process. Digital embossing eliminates the need for printing plates, molds, chemicals, and

Bangladeshi passport

e-passport has forty-one different security features, including holographic images embossed in thin-film laminate, which change colour under light and appear to