Mukarram Mukhtar

December 21, 2010

Image Enhancement And Contrast Enhancement in JAVA

In this article I’ll explain what is Image Enhancement? What is contrast enhancement? What’s the difference between the two? How to achieve one or the other or both? For simplicity, we’ll operate only on black and white images with gray scale of 0 – 255, and images will only be in pgm format. But if you understand the concept, then it can be expanded and applied on more complex formats as well e.g. RGB or CMYK etc. This article will probably be most useful for students and/or software developers who have to do some image processing work. However, other programmers can also try the code just for the sake of fun, because the results are so interesting and very easy to produce!

(more on this)

October 1, 2010

How to Draw a Chess Board in JAVA

Filed under: Technology — Tags: , , , , , , , — Mukarram Mukhtar @ 6:08 pm

This post is for beginner Java developers, if you are one, keep on reading, otherwise you can skip. So if you are up to developing a chess game in Java then this article might give you a little bit head start. In this article you’ll see how easy it is to set the basic UI of a chess application in Java. Not only will you learn how to draw a chess board but also how set pieces and handle their moves. The application I’m posting here is an excerpt of what I made as my semester project. The complete application was made by a team of 4 developers and had some advanced features like playing chess with other players over the internet, chatting and etc. The code of original game will not be available; however you can get help from its mini-version that can be seen by selecting the following link:

(more on this)

Create a free website or blog at