sul-cidr / histonets

Histonets is an application to convert images of scanned maps into digital networks
https://histonets.stanford.edu
Other
20 stars 0 forks source link

Whenever an Image is created, preseed a field with the histogram #82

Closed mejackreed closed 7 years ago

mejackreed commented 7 years ago

@versae can you specify what the format should be (and any imagemagick options?)

mejackreed commented 7 years ago

Potentially run in a background job

versae commented 7 years ago

We can use RMagick's color_histogram and store that in JSON in the model. A hash / dictionary with keys as RGB colors in a tuple and the absolute frequency of that colors as the value.

mejackreed commented 7 years ago

Closed with #117