1. Trang chủ
  2. » Luận Văn - Báo Cáo

Xử lý ảnh trong cơ điện tử: Machine Vision. Chapter 2: Digital Image Fundamentals92

56 6 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Digital Image Fundamentals
Tác giả Rafael C. Gonzalez, Richard E. Woods
Người hướng dẫn TS. Nguyễn Thành Hùn
Trường học Trường Đại Học Bách Khoa
Chuyên ngành Cơ Điện Tử
Thể loại Thesis
Năm xuất bản 2021
Thành phố Hà Nội
Định dạng
Số trang 56
Dung lượng 13,93 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Basic Mathematical Tools Used in Digital Image P... Basic Mathematical Tools Used in Digital Image P... Basic Mathematical Tools Used in Digital Image P... Basic Mathematical Tools Used

Trang 1

XỬ LÝ ẢNH TRONG CƠ ĐIỆN

Machine Vision

TRƯỜNG ĐẠI HỌC BÁCH KHOA

Giảng viên: TS Nguyễn Thành Hùn

Đơn vị : Bộ môn Cơ điện tử , Viện Cơ

Hà Nội, 2021

Trang 2

Chapter 2 Digital Image Fundam

1 Image Sensing and Acquisition

2 Image Sampling and Quantization

3 Some Basic Relationships Between Pixels

4 Basic Mathematical Tools Used in Digital Image P

Trang 3

1 Image Sensing and Acquisi

(a) Single sensing element

(b) Line sensor

(c) Array sensor

Trang 4

1 Image Sensing and Acquisi

Combining a single sensing element with mechanical motion to generate a

Trang 5

2-1 Image Sensing and Acquisi

(a) Image acquisition using a linear sensor strip

(b) Image acquisition u

a circular sensor strip

Trang 6

1 Image Sensing and Acquisi

An example of digital imag (energy) source (b) A scen Projection of the scene ont Digitized image.

Trang 7

1 Image Sensing and Acquisi

➢ We denote images by two-dimensional functions of the form ( f x

f x y ( , ) = i x y r x ( , ) ( , y)

• i x y ( , ): the amount of source illumination incident on the scene

• r x y ( , ): the amount of illumination reflected by the objects in th

Trang 8

Chapter 2 Digital Image Fundam

1 Image Sensing and Acquisition

2 Image Sampling and Quantization

3 Some Basic Relationships Between Pixels

4 Basic Mathematical Tools Used in Digital Image P

Trang 9

2 Image Sampling and Quantiz

➢ Digitizing the coordinate values is called sampling Digitizing t values is called quantization

(a) Continuous image (b) A scan line

showing intensity variations along line

AB in the continuous image (c)

Sampling and quantization (d) Digital

scan line (The black border in (a) is

included for clarity It is not part of the

image).

Trang 10

2 Image Sampling and Quantiz

(a) Continuous image projected onto a sensor array

(b) Result of image samplin and quantization

Trang 11

2 Image Sampling and Quantiz

(a) Image plo Image displa array (c) Ima numerical arr and 1 represe white, respec

Trang 12

2 Image Sampling and Quantiz

Trang 13

2 Image Sampling and Quantiz

Trang 14

2 Image Sampling and Quantiz

➢ The number of intensity levels: L

where k is an integer.

➢ The discrete levels are equally spaced and that they are integers [0, - L 1]

Trang 15

2 Image Sampling and Quantiz

➢ The number, , of bits required to store a digital image is b

➢ When M = N :

Number of megabytes required to store

images for various values of N and k

Trang 16

2 Image Sampling and Quantiz

➢ coordinate indexing or subscript indexing (x, y) vs linear indexi

Illustration of column scanning for generating linear indices Shown are several

2-D coordinates (in parentheses) and their corresponding linear indices.

Trang 17

2 Image Sampling and Quantiz

➢ Spatial resolution is a measure of the

smallest discernible detail in an image.

➢ Dots per unit distance is a measure of

image resolution used in the printing and

publishing industry In the U.S., this

measure usually is expressed as dots per

inch (dpi)

➢ Intensity resolution is the number of bits

used to quantize intensity.

Effects of reducing spat are at: (a) 930 dpi, (b) 3

Trang 18

2 Image Sampling and Quantiz

(a) 256-level image (b)-(d) Image displayed in 128, 64, and 32 intensity levels, while k size constant (e)-(h) Image displayed in 16, 8, 4, and 2 intensity levels.

Trang 19

2 Image Sampling and Quantiz

(a) Image with a low level of detail (b) Image with a medium level of det relatively large amount of detail.

Trang 20

2 Image Sampling and Quantiz

➢ Observe that isopreference curves tend

to become more vertical as the detail in

the image increases

➢ This result suggests that for images with

a large amount of detail only a few

intensity levels may be needed.

Trang 21

2 Image Sampling and Quantiz

Trang 22

2 Image Sampling and Quantiz

(a) Image reduced to 72 dpi and zoomed back to its original 930 dpi using interpolation (b) Image reduced to 72 dpi and zoomed using bilinear interp (b) but using bicubic interpolation.

Trang 23

Chapter 2 Digital Image Fundam

1 Image Sensing and Acquisition

2 Image Sampling and Quantization

3 Some Basic Relationships Between Pixels

4 Basic Mathematical Tools Used in Digital Image P

Trang 24

3 Some Basic Relationships Betwe

Trang 25

3 Some Basic Relationships Betwe

➢ Let V be the set of intensity values used to define adjacency.

Trang 26

3 Some Basic Relationships Betwe

➢ V = {1}

(a) An arrangement of pixels (b) Pixels that are 8-adjacent (adjacency is shown by dash adjacency (d) Two regions (of 1’s) that are 8-adjacent (e) The circled point is on the bo pixels only if 8-adjacency between the region and background is used (f) The inner bou region does not form a closed path, but its outer boundary does.

Trang 27

3 Some Basic Relationships Betwe

Trang 28

3 Some Basic Relationships Betwe

Let represent a subset of pixels in an image S

➢ Two pixels p and q are said to be connected in if there exists a S them consisting entirely of pixels in S

➢ The set of pixels that are connected to in is called a p S connect S.

➢ If it only has one component, and that component is connected, connected set.

Trang 29

3 Some Basic Relationships Betwe

Let represent a subset of pixels in an image R

➢ We call R a region of the image if is a connected set R

➢ Two regions, R i and R j are said to be adjacent if their union fo set.

➢ Regions that are not adjacent are said to be disjoint

➢ Foreground : the union of all the disjoint regions ( K R u )

➢ Background: the complement of the set R u : (R u ) c

Trang 30

3 Some Basic Relationships Betwe

backg

foreground

Trang 31

3 Some Basic Relationships Betwe

➢ The boundary (also called the border or contour ) of a region i R

in that are adjacent to pixels in the complement of R R

intensity discontinu closed paths

Trang 32

3 Some Basic Relationships Betwe

➢ For pixels p, q , and , with coordinates ( s x, y ), ( u, v ), and ( , ), w z distance function or metric if:

Trang 33

3 Some Basic Relationships Betwe

➢ The Euclidean distance between p and q is defined as:

The distance D 4, ( city-block distance ) The distance D 8,

Trang 34

Chapter 2 Digital Image Fundam

1 Image Sensing and Acquisition

2 Image Sampling and Quantization

3 Some Basic Relationships Between Pixels

4 Basic Mathematical Tools Used in Digital Image P

Trang 35

4 Basic Mathematical Tools Used in Digital

➢ An elementwise operation involving one or more images is carr by-pixel basis.

➢ The elementwise product of these two images is

➢ The matrix product of the images

Trang 36

4 Basic Mathematical Tools Used in Digital

➢ Consider a general operator, H, that produces an output image, given input image, ( f x, y):

➢ H is said to be a linear operator if

➢ An operator that fails to satisfy above equation is said to be non

Trang 37

4 Basic Mathematical Tools Used in Digital

➢ Arithmetic operations between two images ( f x, y ) and ( , ) g x y

Trang 38

4 Basic Mathematical Tools Used in Digital

Arithmetic Operations Using image addition (averaging) for noise

Trang 39

4 Basic Mathematical Tools Used in Digital

Trang 40

4 Basic Mathematical Tools Used in Digital

Trang 41

4 Basic Mathematical Tools Used in Digital

Trang 42

4 Basic Mathematical Tools Used in Digital

Trang 43

4 Basic Mathematical Tools Used in Digital

Trang 44

4 Basic Mathematical Tools Used in Digital

Trang 45

4 Basic Mathematical Tools Used in Digital

(a) An 8-bit image (b) Intensity transformation function used to obtain the digital equiv negative of an 8-bit image The arrows show transformation of an arbitrary input intensi corresponding output value (c) Negative of (a), obtained using the transformation functi

Trang 46

4 Basic Mathematical Tools Used in Digital

Local averaging using neig procedure is illustrated in neighborhood (c) An aorti using Eq (2) with m = m

790 x 686 pixels.

Trang 47

4 Basic Mathematical Tools Used in Digital

Trang 48

4 Basic Mathematical Tools Used in Digital

Trang 49

4 Basic Mathematical Tools Used in Digital

Trang 50

4 Basic Mathematical Tools Used in Digital

(a) A 541 x Image rota interpolatio Image rota interpolatio bicubic int sections (e numbers sh

Trang 51

4 Basic Mathematical Tools Used in Digital

(a) A digital image (b counterclockwise dire rotation) (c) Rotated area as the original im accommodate the ent

Trang 52

4 Basic Mathematical Tools Used in Digital

Image registration (a) Ref (geometrically distorted im points are shown as small corners (c) Registered (ou

in the border) (d) Differen showing more registration

Trang 53

4 Basic Mathematical Tools Used in Digital

Forming a vector from corresponding pixel values in three RGB component

Trang 54

4 Basic Mathematical Tools Used in Digital

➢ 2-D linear transforms

➢ Inverse transform

Trang 55

4 Basic Mathematical Tools Used in Digital

General approach for working in the linear transform dom

Trang 56

4 Basic Mathematical Tools Used in Digital

(a) Imag interferen transform caused b were enl Mask use (d) Resu modified

Ngày đăng: 11/03/2022, 15:25

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w