Determination device, determination method, and program
A determination device 1 includes: an acquisition unit 21 that acquires digital color image data 11 of a region of interest in melanonychia of a subject; a calculation unit 23 that calculates an indicator value 12 from variation in RGB values of each pixel of the digital color image data 11 ; and an output unit 24 that outputs a result of determining that the melanonychia is malignant if the indicator value 12 is higher than a threshold value and determining that the melanonychia is benign if the indicator value 12 is lower than the threshold value.
1 . A determination device comprising:
a processor configured to:
acquire digital color image data of a region of interest in melanonychia of a subject;
calculates an indicator value based on variation in R value, variation in G value, and variation in B value of each pixel of the digital color image data; and
output a result of determining that the melanonychia is malignant if the indicator value is higher than a threshold value and determining that the melanonychia is benign if the indicator value is lower than the threshold value.
2 . The determination device according to claim 1 , the processor is further configured to:
adjust a color balance of the digital color image data by performing a chromatic adaptation transformation, wherein
calculate the indicator value from the digital color image data after the chromatic adaptation transformation of the region of interest.
3 . The determination device according to claim 1 , wherein the processor is further configured to calculate the indicator value based on:
DI
=
[
1
N
{
∑
i
=
1
N
(
R
i
-
R
¯
)
2
+
∑
i
=
1
N
(
G
i
-
G
¯
)
2
+
∑
i
=
1
N
(
B
i
-
B
¯
)
2
}
]
1
/
2
,
wherein DI corresponds to an indicator value, N corresponds to a number of pixels in digital color image data R i , G i , B i correspond to values of each of RGB of pixel i, and R , G , B correspond to an average value of values of each of RGB of digital color image data.
4 . The determination device according to claim 2 , wherein the processor is further configured to calculate the indicator value based on:
DI
=
[
1
N
{
∑
i
=
1
N
(
R
i
-
R
¯
)
2
+
∑
i
=
1
N
(
G
i
-
G
¯
)
2
+
∑
i
=
1
N
(
B
i
-
B
¯
)
2
}
]
1
/
2
,
wherein DI corresponds to an indicator value, N corresponds to a number of pixels in digital color image data R i , G i , B i correspond to values of each of RGB of pixel i, and R , G , B correspond to an average value of values of each of RGB of digital color image data.
5 . A determination method comprising:
a computer acquiring digital color image data of a region of interest in melanonychia of a subject;
the computer calculating an indicator value based on variation in R value, variation in G value, and variation in B value of each pixel of the digital color image data; and
the computer outputting a result of determining that the melanonychia is malignant if the indicator value is higher than a threshold value and determining that the melanonychia is benign if the indicator value is lower than the threshold value.
6 . A non-transitory computer-readable storage medium storing a program for causing a computer to function as the determination device according to claim 1 .
7 . A non-transitory computer-readable storage medium storing a program for causing a computer to function as the determination device according to claim 2 .
8 . A non-transitory computer-readable storage medium storing a program for causing a computer to function as the determination device according to claim 3 .
9 . A non-transitory computer-readable storage medium storing a program for causing a computer to function as the determination device according to claim 4 .