# US 2008/0304710 A1 · Method and apparatus for processing image of at least one seedling

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

- Number: US 2008/0304710 A1
- Document ID: US20080304710A1
- Status: Published application
- Kind: A1
- Application number: 11/760,148
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Inventors: Lijie Xu; Miller B. McDonald; Kikuo Fujimura
- Web page: https://patentgrep.com/patent/US20080304710A1

## CPC

- G06V 10/267: {by performing operations on regions, e.g. growing, shrinking or watersheds}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

In one embodiment, a method of processing a source image of at least one seedling may include: a) segmenting the source image into at least a foreground portion and a background portion to form a segmented image, b) skeletonizing the segmented image to form a skeletonized image, the skeletonized image including a skeleton, c) dividing the skeleton into a plurality of segments, d) identifying alternate separations of the skeleton, each alternate separation including at least two groups, each group including at least one segment and potentially relating to a individual seedling, and e) evaluating a plurality of the alternate separations as a function of at least one of: 1) individual angles defined by connecting segments of corresponding groups, 2) combined angles defined by connecting segments of corresponding groups, 3) length defined by connecting segments of corresponding groups, and 4) unused segments.

## Claims

### Claim 1

A method of processing a source image of at least one seedling, each seedling being associated with a type of crop, the method including:
a) segmenting the source image into at least a foreground portion and a background portion to form a first segmented image, the foreground portion relating to the at least one seedling;
b) skeletonizing the first segmented image to form a first skeletonized image, the first skeletonized image including a skeleton relating to the foreground portion of the first segmented image;
c) dividing the skeleton in the first segmented image into a plurality of segments;
d) identifying alternate separations of the skeleton, each alternate separation including at least two groups, each group including at least one segment and potentially relating to a individual seedling; and
e) evaluating a plurality of the alternate separations as a function of at least one of: 1) individual angles defined by connecting segments of corresponding groups, 2) combined angles defined by connecting segments of corresponding groups, 3) length defined by connecting segments of corresponding groups, and 4) unused segments.

### Claim 2 (depends on 1)

The method of claim 1, further including:
f) selecting a specific separation from the plurality of alternate separations based at least in part on the evaluating in e).

### Claim 3 (depends on 2)

The method of claim 2, further including:
g) identifying at least two individual seedlings in the source image, the quantity of individual seedlings corresponding to the quantity of groups in the specific separation selected in f).

### Claim 4 (depends on 1)

The method of claim 1, further including:
f) selecting a path from a first terminal point of the skeleton to a second terminal point, the path traversing at least a first portion of the skeleton and defining a second portion of the skeleton not traversed by the path; and
g) if the second portion is greater than or equal to a predetermined threshold, continuing to process the source image.

### Claim 5 (depends on 1)

The method of claim 1, further including:
f) segmenting the foreground portion to identify one or more foreground areas in the foreground portion, each foreground area potentially relating to a corresponding seed coat associated with the type of crop; and
g) if more than one foreground area is identified, continuing to process the source image.

### Claim 6 (depends on 1)

The method of claim 1, further including:
f) selecting a path from a first terminal point of the skeleton to a second terminal point, the path traversing at least a first portion of the skeleton and defining a second portion of the skeleton not traversed by the path;
g) segmenting the foreground portion to identify one or more foreground areas in the foreground portion, each foreground area potentially relating to a corresponding seed coat associated with the type of crop; and
h) if the second portion in f) is less than a predetermined threshold and less than two foreground areas are identified in g), discontinuing further processing of the source image.

### Claim 7 (depends on 1)

The method of claim 1, further including:
f) determining a length for each of one or more segments of the skeleton having at least one terminal point not connected to another segment; and
g) if the length of any segment determined in f) is less than a predetermined threshold, deleting the corresponding segment from the skeleton in conjunction with further processing of the source image.

### Claim 8 (depends on 1)

The method of claim 1, further including:
f) identifying at least one loop in the skeleton;
g) wherein the foreground portion of the first segmented image is defined by pixels of a first color and the background portion of the first segmented image is defined by pixels of a second color, reversing the first and second colors of pixels in the first segmented image to form a second segmented image in which the foreground portion is represented by pixels of the second color and the background portion is represented by pixels of the first color;
h) identifying one or more independent contiguous area of pixels of the first color in the second segmented image;
i) for each contiguous area smaller than a predetermined threshold, changing the pixels of the corresponding contiguous area from the first color to the second color to form a third segmented image;
j) reversing the first and second colors of pixels in the third segmented image to form a fourth segmented image in which the foreground portion is represented by pixels of the first color and the background portion is represented by pixels of the second color; and
k) skeletonizing the fourth segmented image to form a second skeletonized image, the second skeletonized image including a skeleton relating to the foreground portion of the fourth segmented image.

### Claim 9 (depends on 1)

The method of claim 1 wherein at least one segment is shared by at least two groups for at least one alternate separation identified in d).

### Claim 10 (depends on 1)

The method of claim 1 wherein at least one segment is not associated with any group for at least one alternate separation identified in d).

### Claim 11 (depends on 1)

The method of claim 1, further including:
f) testing segment connectivity for each group of one or more alternate separations identified in d); and
g) if segments associated with any group are not contiguous, deleting the corresponding alternate separation in conjunction with further processing of the source image.

### Claim 12 (depends on 1)

The method of claim 1, further including:
f) processing the plurality of alternate separations evaluated in e) using the following function:
evaluation
=
∑
k
=
1

…


m

f
k
+
g
k
+
h
k
-
I
k
;
wherein fk relates to 1) of e), gk relates to 2) of e), hk relates to 3) of e), and Ik relates to 4) of e).

### Claim 13 (depends on 12)

The method of claim 12, further including:
g) multiplying at least one of fk, gk, hk, and Ik in the evaluation function of f) by a predetermined weighting factor.

### Claim 14 (depends on 1)

The method of claim 1, further including:
f) processing the plurality of alternate separations evaluated in e) using the following function:
f
k
=
∑
i
,
j


are


neighbors
and


both


in


group


k

Angle

(
segment
i
,
segment
j
)
wherein fk relates to 1) of e).

### Claim 15 (depends on 1)

The method of claim 1, further including:
f) processing the plurality of alternate separations evaluated in e) using the following function:
g
k
=
Min
i
,
j


are


neighbors
and


both


in


group


k

(
Angle

(
segment
i
,
segment
j
)
)
wherein gk relates to 2) of e).

### Claim 16 (depends on 1)

The method of claim 1, further including:
f) processing the plurality of alternate separations evaluated in e) using the following function:
h
k
=
∑
i
∈
group


k

Length

(
Seedling
i
)
m
·
Max
j
∈
group


k

(
Length

(
seedling
j
)
)
wherein hk relates to 3) of e).

### Claim 17 (depends on 1)

The method of claim 1, further including:
f) processing the plurality of alternate separations evaluated in e) using the following function:
Ik=NumOfUnusedSegments(s1,s2, . . . sn)
wherein Ik relates to 4) of e).

### Claim 18

A method of processing a source image of at least two overlapping seedlings, the method including:
a) segmenting the source image into at least a foreground portion and a background portion to form a first segmented image, the foreground portion relating to the at least two overlapping seedlings;
b) skeletonizing the first segmented image to form a first skeletonized image, the first skeletonized image including a skeleton relating to the foreground portion of the first segmented image;
c) dividing the skeleton in the first segmented image into a plurality of segments;
d) determining a length for each of one or more segments of the skeleton having at least one terminal point not connected to another segment;
e) if the length of any segment determined in d) is less than a predetermined threshold, deleting the corresponding segment from the skeleton in conjunction with further processing of the source image;
f) identifying alternate separations of the skeleton, each alternate separation including at least two groups, each group including at least one segment and potentially relating to an individual seedling; and
g) evaluating a plurality of the alternate separations as a function of at least one of: 1) individual angles defined by connecting segments of corresponding groups, 2) combined angles defined by connecting segments of corresponding groups, 3) length defined by connecting segments of corresponding groups, and 4) unused segments.

### Claim 19 (depends on 18)

The method of claim 18, further including:
h) testing segment connectivity for each group of one or more alternate separations identified in f); and
i) if segments associated with any group are not contiguous, deleting the corresponding alternate separation in conjunction with further processing of the source image.

### Claim 20 (depends on 18)

The method of claim 18, further including:
h) processing the plurality of alternate separations evaluated in g) using the following function:
evaluation
=
∑
k
=
1

…


m

W
f
·
f
k
+
W
g
·
g
k
+
W
h
·
h
k
-
W
I
·
I
k
wherein fk relates to 1) of g), gk relates to 2) of g), hk relates to 3) of g), Ik relates to 4) of g), Wf is a first weighting factor applied to fk, Wg is a second weighting factor applied to gk, Wh, is a third weighting factor applied to hk, and WI is a fourth weighting factor applied to Ik.

### Claim 21

A method of processing a source image of at least two overlapping seedlings, the method including:
a) segmenting the source image into at least a foreground portion and a background portion to form a first segmented image, the foreground portion relating to the at least two overlapping seedlings;
b) skeletonizing the first segmented image to form a first skeletonized image, the first skeletonized image including a skeleton relating to the foreground portion of the first segmented image;
c) dividing the skeleton in the first segmented image into a plurality of segments;
d) identifying alternate separations of the skeleton, each alternate separation including at least two groups, each group including at least one segment and potentially relating to an individual seedling;
e) testing segment connectivity for each group of one or more alternate separations identified in d);
f) if segments associated with any group are not contiguous, deleting the corresponding alternate separation in conjunction with further processing of the source image; and
g) evaluating a plurality of the alternate separations as a function of at least one of: 1) individual angles defined by connecting segments of corresponding groups, 2) combined angles defined by connecting segments of corresponding groups, 3) length defined by connecting segments of corresponding groups, and 4) unused segments.

### Claim 22 (depends on 21)

The method of claim 21, further including:
h) determining a length for each of one or more segments of the skeleton having at least one terminal point not connected to another segment; and
i) if the length of any segment determined in h) is less than a predetermined threshold, deleting the corresponding segment from the skeleton in conjunction with further processing of the source image.

### Claim 23 (depends on 21)

The method of claim 21, further including:
h) processing the plurality of alternate separations evaluated in g) using the following function:
evaluation
=
∑
k
=
1

…


m

W
f
·
f
k
+
W
g
·
g
k
+
W
h
·
h
k
-
W
I
·
I
k
wherein fk relates to 1) of g), gk relates to 2) of g), hk relates to 3) of g), Ik relates to 4) of g), Wf is a first weighting factor applied to fk, Wg is a second weighting factor applied to gk, Wh is a third weighting factor applied to hk, and WI is a fourth weighting factor applied to Ik.

### Claim 24

An apparatus, including:
a source image of at least one seedling, each seedling associated with a type of crop;
at least one storage device storing an image processing software application;
a processor in operative communication with the at least one storage device and adapted to run the image processing software application to: a) segment the source image into at least a foreground portion and a background portion to form a first segmented image, the foreground portion relating to the at least one seedling, b) skeletonize the first segmented image to form a first skeletonized image, the first skeletonized image including a skeleton relating to the foreground portion of the first segmented image, c) divide the skeleton in the first segmented image into a plurality of segments, d) identify alternate separations of the skeleton, each alternate separation including at least two groups, each group including at least one segment and potentially relating to an individual seedling, and e) evaluate a plurality of the alternate separations as a function of at least one of: 1) individual angles defined by connecting segments of corresponding groups, 2) combined angles defined by connecting segments of corresponding groups, 3) length defined by connecting segments of corresponding groups, and 4) unused segments.

### Claim 25 (depends on 24)

The apparatus of claim 24 wherein the processor is adapted to run the image processing software application to: f) select a specific separation from the plurality of alternate separations based at least in part on the evaluating in e).

### Claim 26 (depends on 25)

The apparatus of claim 25 wherein the processor is adapted to run the image processing software application to: g) identify at least two individual seedlings in the source image, the quantity of individual seedlings corresponding to the quantity of groups in the specific separation selected in f).

### Claim 27 (depends on 24)

The apparatus of claim 24 wherein the processor is adapted to run the image processing software application to: f) select a path from a first terminal point of the skeleton to a second terminal point, the path traversing at least a first portion of the skeleton and defining a second portion of the skeleton not traversed by the path and g) if the second portion is greater than or equal to a predetermined threshold, continuing to process the source image.

### Claim 28 (depends on 24)

The apparatus of claim 24 wherein the processor is adapted to run the image processing software application to: f) segment the foreground portion to identify one or more foreground areas in the foreground portion, each foreground area potentially relating to a corresponding seed coat associated with the type of crop and g) if more than one foreground area is identified, continuing to process the source image.

### Claim 29 (depends on 24)

The apparatus of claim 24 wherein the processor is adapted to run the image processing software application to: f) determine a length for each of one or more segments of the skeleton having at least one terminal point not connected to another segment and g) if the length of any segment determined in f) is less than a predetermined threshold, deleting the corresponding segment from the skeleton in conjunction with further processing of the source image.

### Claim 30 (depends on 24)

The apparatus of claim 24 wherein the processor is adapted to run the image processing software application to: f) test segment connectivity for each group of one or more alternate separations identified in d) and g) if segments associated with any group are not contiguous, delete the corresponding alternate separation in conjunction with further processing of the source image.
