add threshold function
add ColorExtract.rb
add extract file