Skip to main content
. 2015 Oct 14;53(1):118–131. doi: 10.1007/s13197-015-1947-4

Table 1.

Shape, texture and color features of milled rice samples obtained from image analysis

Shape and size features
Feature Major axis length Minor axis length Equivalent diameter Perimeter Solidity
Feature no. F1 F2 F3 F4 F5
Texture features
Feature Contrast Energy Correlation Homogeneity
Formula i=1kj=1kij2pij i=1kj=1kpij2 i=1kj=1kij2pij i=1kj=1kpij1+ij
Feature no. F6 F7 F8 F9
Color features in RGB Space*
Feature Mean [μ=x=0z-1hxZ] for:
R G B RR+G+B GR+G+B BR+G+B
Feature no. F10 F11 F12 F13 F14 F15
Feature Mean [μ=x=0z-1hxZ] for:
R-G G-B R-B
Feature no. F16 F17 F18
Feature Variance [σ=x=0z-1hx-μ2Z] for:
R G B RR+G+B GR+G+B BR+G+B
Feature no. F19 F20 F21 F22 F23 F24
Feature Variance [σ=x=0z-1hx-μ2Z] for:
R-G G-B R-B
Feature no. F25 F26 F27
Feature Skewness [s=x=0z-1hx-μ33] for:
R G B RR+G+B GR+G+B BR+G+B
Feature no. F28 F29 F30 F31 F32 F33
Feature Skewness [s=x=0z-1hx-μ33] for:
R-G G-B R-B
Feature no. F34 F35 F36
Feature Kurtosis [k= x=0z-1hx-μ44-3] for:
R G B RR+G+B GR+G+B BR+G+B
Feature no. F37 F38 F39 F40 F41 F42
Feature Kurtosis [k= x=0z-1hx-μ44-3] for:
R-G G-B R-B
Feature no. F43 F44 F45
Color features in HSV space
Feature Mean [μ=x=0z-1hxZ] for:
H S V
Feature no. F46 F47 F48
Color features in L*a*b* space
Feature Mean [μ=x=0z-1hxZ] for:
L a* b*
Feature no. F49 F50 F51
Color features in YCbCr color map
Feature Mean [μ=x=0z-1hxZ] for:
Y Cb Cr
Feature no. F52 F53 F54
Color features in NTSC system
Feature Mean [μ=x=0z-1hxZ] for:
Yi I Q
Feature no. F55 F56 F57

*h(x) is the grey level of pixels in the image with a pixel position of x, x can take any value between 1 and z = m × n, where m and n are row and column numbers in the image matrix, respectively

, σ, S, and K are the Mean, Variance, Skewness, and Kurtosis of image pixels, respectively