april-org / april-ann

APRIL-ANN toolkit (A Pattern Recognizer In Lua with ANNs). This toolkit incorporates ANN algorithms (as dropout, stacked denoising auto-encoders, convolutional NNs), with other pattern recognition methods as HMMs among others. Additionally, in experimental stage, it is possible to perform automatic differentiation, for advanced ML research.
http://april-org.github.io/april-ann/
Other
74 stars 12 forks source link

ImageHistogram must be moved to a new package, different of image_cleaning #31

Closed pakozm closed 11 years ago

pakozm commented 11 years ago

Ths histogram per se is interesting, independently of the image cleaning methods.

joapaspe commented 11 years ago

I will change it. Thank you.

pakozm commented 11 years ago

Would be interesting the computation of histograms from matrices instead of images? I'm thinking, as example, in plot purposes. You could produce a matrix of data, and compute the histogram, as it is done in matlab.

joapaspe commented 11 years ago

It would be easy to adapt the code to work with matrices. We can change the name to histograms and then add wrapper functions to work with images.

pakozm commented 11 years ago

Ok, I like it, we could use Lua wrappers which transforms the matrix into a image. Some issues need to be taken into consideration:

joapaspe commented 11 years ago

I was thinking on the opposite. Have a general function for histograms to work with matrices, and then to add a wrapper which takes the image and extract the 2D matrix and dimensions and calls to the general matrix function. The horizontal and vertical histogram can be also wrappers of image, because they make sense in this context. In deed, we can let the image_histograms as a wrapper and then to have another package called histogram that works with matrices. Anyway, image_histogram shouldn't be in image_cleaning.

joapaspe commented 11 years ago

Finally it is better to create another Histogram package for more general data since ImageHistograms use Integral Image for efficient computation of the histograms.