The code I was developing on 3-4 years ago, While I studied on Third years in University. My purpose is to use the code in Senior project. Now I don't work in image processing field anymore. I decided to open code for everyone who is interesting in image processing. I want people to lean from my code.
This project develop by using java, image processing concept and basic mathematical formula
Main class, show example to use function
The algorithm for bluring image, I use Gaussian distribution method
- https://en.wikipedia.org/wiki/Gaussian_blur
- http://www.pixelstech.net/article/1353768112-Gaussian-Blur-Algorithm
- http://blog.ivank.net/fastest-gaussian-blur.html
The algorithm for convert image to gray color, In this file I use Luminosity method, However I can read other method and example at below link
- https://en.wikipedia.org/wiki/Grayscale
- http://developer.bostjan-cigan.com/java-color-image-to-grayscale-conversion-algorithm/
- http://www.tannerhelland.com/3643/grayscale-image-algorithm-vb6/
- http://www.johndcook.com/blog/2009/08/24/algorithms-convert-color-grayscale/
- http://www.tutorialspoint.com/dip/histograms_introduction.htm
- http://www.tutorialspoint.com/dip/histogram_equalization.htm
The algorithm to convert image to binary color (Separates pixels in an image into a foreground and background) , In this file I use Otsu's method, However you must have understand about histogram first cause by threshold algorithm base on histogram
- http://www.ancient-asia-journal.com/articles/10.5334/aa.06113/
- https://en.wikipedia.org/wiki/Otsu%27s_method
The algorithm to find edge of image , I use Canny Edge algorithm
I follow by this link to implement canny edge and use convolution method to apply value to image
If you get value of pixle from RGB.java to access RGB value on Dicimal digit, You must use bitwise operators to shitf bit. R >> 16 , G >> 8 and B, Then add mask by (& 0xFF), See example in below link or file this project
- http://stackoverflow.com/questions/22391353/get-color-of-each-pixel-of-an-image-using-bufferedimages
- http://stackoverflow.com/questions/6524196/java-get-pixel-array-from-image
- https://en.wikipedia.org/wiki/Convolution
- http://mathworld.wolfram.com/Convolution.html
- http://www.songho.ca/dsp/convolution/convolution.html
This project is licensed under the MIT license. See the LICENSE file for more info.