# US 8,358,851 B2 · Digital image analyzing method and related computer program product

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,358,851 B2
- Document ID: US8358851B2
- Status: Granted
- Kind: B2
- Application number: 12/840,876
- Filed: 2010-07-21
- Published: 2011-09-29
- Granted: 2013-01-22
- Earliest claimed: 2010-03-29
- Assignees: Anmo Electronics Corporation
- Applicants: Paul Neng-Wei Wu
- Inventors: Paul Neng-Wei Wu
- Web page: https://patentgrep.com/patent/US8358851B2

## CPC

- G06T 7/13: Edge detection
- G06T 2207/30108: Industrial image inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A computer program product capable of enabling a computer to perform a digital image analyzing operation, wherein the digital image analyzing operation comprises: receiving settings of a plurality of lines corresponding to one or more image edges of a digital image; and identifying a plurality of intersections of the plurality of lines and the one or more image edges of the digital image.

## Claims

### Claim 1

A computer program product, stored in a non-transitory computer readable medium, capable of enabling a computer to perform a digital image analysis operation, the digital image analysis operation comprising:
receiving settings of a plurality of lines corresponding to one or more image edges of a digital image;
identifying a plurality of intersections of the plurality of lines and the one or more image edges of the digital image; and
calculating an interval between the plurality of intersections or a path length of the plurality of intersections according to a zooming scale of the digital image.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the digital image analysis operation further comprises:
connecting the plurality of intersections to recognize at least one partial edge of the digital image.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein the digital image analysis operation further comprises:
displaying a plurality of recognization pattern options; and
receiving settings of one or more recognization patterns selected by a user.

### Claim 4 (depends on 3)

The computer program product of claim 3, wherein the operation of connecting the plurality of intersections comprises:
connecting the plurality of intersections according to the one or more selected recognization patterns.

### Claim 5 (depends on 3)

The computer program product of claim 3, wherein the operation of connecting the plurality of intersections comprises:
determining a plurality of edge lines based on the one or more selected recognization patterns and the plurality of intersections; and
determining one or more edge portions or whole boundary of the digital image according to the plurality of edge lines.

### Claim 6 (depends on 3)

The computer program product of claim 3, wherein the one or more selected recognization patterns correspond to the shape of the digital image.

### Claim 7 (depends on 3)

The computer program product of claim 3, wherein the quantity of the plurality of lines is corresponding to the one or more selected recognization patterns.

### Claim 8 (depends on 2)

The computer program product of claim 2, wherein the digital image analysis operation further comprises:
determining a position of a geometrical feature of the digital image according to at least one edge portion of the digital image.

### Claim 9 (depends on 2)

The computer program product of claim 2, wherein the digital image analysis operation further comprises:
calculating a geometrical feature value or image feature value of the digital image according to the edge recognization result.

### Claim 10 (depends on 1)

The computer program product of claim 1, wherein the operation of identifying the plurality of intersections comprises:
analyzing the pixel value of pixels on the path of each line to determine an intersection of the line and the image edge of the digital image.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the operation of analyzing the pixel value of pixels on the path of each line comprises:
computing pixel value difference between adjacent pixels on the path of each line; and
setting a position with the maximum pixel value difference as an intersection of the line and the image edge of the digital image.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the operation of analyzing the pixel value of pixels on the path of each line comprises:
computing pixel value difference between adjacent pixels on the path of each line along a predetermined direction; and
setting the first position where the pixel value difference reaches or exceeds a predetermined threshold as an intersection of the line and the image edge of the digital image.

### Claim 13 (depends on 10)

The computer program product of claim 10, wherein the operation of analyzing the pixel value of pixels on the path of each line comprises:
comparing the pixel value of pixels on the path of each line with a predetermined threshold along a predetermined direction; and
setting the first position where the pixel value reaches or is across the predetermined threshold as an intersection of the line and the image edge of the digital image.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the operation of analyzing the pixel value of pixels on the path of each line comprises:
setting the predetermined threshold for each line based on the pixel values on the path of each line.

### Claim 15

A digital image analyzing method, comprising:
receiving settings of a plurality of lines corresponding to one or more image edges of a digital image;
identifying a plurality of intersections of the plurality of lines and the one or more image edges of the digital image; and
calculating an interval between the plurality of intersections or a path length of the plurality of intersections according to a zooming scale of the digital image.

### Claim 16 (depends on 15)

The digital image analyzing method of claim 15, further comprising:
displaying a plurality of recognization pattern options; and
receiving settings of one or more recognization patterns selected by a user;
determining a plurality of edge lines based on the one or more selected recognization patterns and the plurality of intersections; and
recognizing one or more edge portions or whole boundary of the digital image according to the plurality of edge lines.

### Claim 17 (depends on 16)

The digital image analyzing method of claim 16, wherein the one or more selected recognization patterns correspond to the shape of the digital image, and the quantity of the plurality of lines is corresponding to the one or more selected recognization patterns.

### Claim 18 (depends on 16)

The digital image analyzing method of claim 16, further comprising:
calculating a geometrical feature value or image feature value of the digital image according to the edge recognization result.

### Claim 19

A computer program product, stored in a non-transitory computer readable medium, capable of enabling a computer to perform a digital image analysis operation, the digital image analysis operation comprising:
receiving settings of a plurality of lines corresponding to one or more image edges of a digital image;
identifying a plurality of intersections of the plurality of lines and the one or more image edges of the digital image; and
analyzing the pixel value of pixels on the path of each line to determine an intersection of the line and the image edge of the digital image, wherein the operation of analyzing the pixel value of pixels on the path of each line comprises:
computing pixel value difference between adjacent pixels on the path of each line along a predetermined direction; and
setting the first position where the pixel value difference reaches or exceeds a predetermined threshold as an intersection of the line and the image edge of the digital image.

### Claim 20 (depends on 19)

The computer program product of claim 19, further comprising:
setting the predetermined threshold for each line based on the pixel values on the path of each line.
