The function of a dosimeter is to determine the absorbed dose of radiation, for those cases in which, generally, the particular type of radiation is already known. Lately, a number of applications have emerged in which all kinds of radiation are absorbed and are sorted by pattern recognition, such as the Medipix2 application in . This form of smart dosimetry enables measurements where not only the total dosage is measured, but also the contributions of different types of radiation impacting upon the detector surface. Furthermore, the use of a photon counting system, where the energy deposition can be measured in each individual pixel, ensures measurements with a high degree of accuracy in relation to the pattern recognition. In this article a Timepix  detector system has been used in the creation of a smart dosimeter for Alpha, Beta and Gamma radiation. When a radioactive particle hits the detector surface it generates charge clusters and those impacting upon the detector surface are read out and image processing algorithms are then used to classify each charge cluster. The individual clusters are calculated and as a result, the dosage for each type of radiation is given. In some cases, several particles can impact in roughly the same place, forming overlapping clusters. In order to handle this problem, a cluster separation method has been added to the pattern recognition algorithm. When the clusters have been separated, they are classified by shape and sorted into the correct type of radiation. The algorithms and methods used in this dosimeter have been developed so as to be simple and computationally effective, in order to enable implementation on a portable device. © 2012 IOP Publishing Ltd and SISSA.