A method of measuring the dose and/or the dose rate of radiation, comprising the steps of: exposing a detector means to a radiation environment, said detector means comprising an array (14, 16, 20) of detector elements, wherein each of the detector elements comprises a volume cell of sensor material in which electrical charges can be generated upon interaction with radiation quanta, switching the detector means in a sensitive state for the duration of a sensitive time period, during said sensitive time period, recording an interaction pattern (36, 38, 40) generated by individual radiation quanta interacting with one or more of the detector elements using a readout circuit for detecting the charge generated in the corresponding volume cell, said readout circuit being connected to receive a signal for switching the readout circuit between a sensitive state, in which electric charges generated in said volume cell are detected, and an idle state, in which said charges are not detected, wherein the step of recording the interaction pattern comprises generating a pixelized image, where each pixel of the image corresponds to one of the detector elements, analyzing the interaction pattern to distinguish individual radiation quanta received during said sensitive time period, wherein the step of distinguishing radiation quanta comprises the recognition of cluster patterns of pixels in said pixelized image, assigning a radiation category to each of the distinguished radiation quanta based on its corresponding interaction pattern (36, 38, 40), the radiation categories comprising one or more of the following categories: photons, beta-particles, alpha-particles, delta-particles, protons and fission fragments, and computing the dose and/or a dose rate from the detected and categorized radiation quanta, wherein in said step of computing the dose and/or dose rate a quality factor (w r) associated with each radiation category is accounted for. exposing a detector means to a radiation environment, said detector means comprising an array (14, 16, 20) of detector elements, wherein each of the detector elements comprises a volume cell of sensor material in which electrical charges can be generated upon interaction with radiation quanta, switching the detector means in a sensitive state for the duration of a sensitive time period, during said sensitive time period, recording an interaction pattern (36, 38, 40) generated by individual radiation quanta interacting with one or more of the detector elements using a readout circuit for detecting the charge generated in the corresponding volume cell, said readout circuit being connected to receive a signal for switching the readout circuit between a sensitive state, in which electric charges generated in said volume cell are detected, and an idle state, in which said charges are not detected, wherein the step of recording the interaction pattern comprises generating a pixelized image, where each pixel of the image corresponds to one of the detector elements, analyzing the interaction pattern to distinguish individual radiation quanta received during said sensitive time period, wherein the step of distinguishing radiation quanta comprises the recognition of cluster patterns of pixels in said pixelized image, assigning a radiation category to each of the distinguished radiation quanta based on its corresponding interaction pattern (36, 38, 40), the radiation categories comprising one or more of the following categories: photons, beta-particles, alpha-particles, delta-particles, protons and fission fragments, and computing the dose and/or a dose rate from the detected and categorized radiation quanta, wherein in said step of computing the dose and/or dose rate a quality factor (w r) associated with each radiation category is accounted for.