This article shows methods of time-consuming numerical procedures implementation for the Matlab environment. There are considered possibilities to compile code written in C and the executable file mex, compile the source code in C# dll and call it in Matlab, and the use of plug-ins for ImageJ environment. These implementations were referred to the equivalent algorithm created in MATLAB scripting code. There were tested two variants: for the calculation of single-threaded and parallel. The study was conducted by implementing the algorithm of statistical dominance for preprocessing images. The results are shown in the tables, and annotated.W niniejszym artykule przedstawiono sposoby implementacji czasochłonnych procedur numerycznych dla środo...