## Particle Swarm Optimization (PSO) in C#

Particle Swarm Optimization (PSO) is a computational method for optimization of a problem by simulating a set of moving particles that move around a search-space. Now let’s say that you want to find the (global) minimum of the square function: f(x) = x[0]^2 + x[1]^2. The source code can be found on https://github.com/isachpaz/OptimizationSharp

## Lyman-Kutcher-Burman (LKB) model for normal tissue complication probability

As an example, calculating the NTCP based on the Lyman-Kutcher-Burman (LKB) model for the endpoint of urethra stricture, we use the following parameters TD50 = 116.7 Gy, m = 0.23, n = 0.3, and α/β = 5.0 Gy. (as published by Panitierri et al.[1], and used in the study of Spohn and Sachpazidis et al.[2]).…

## Convert RT-Structures into binary images

With the help of plastimatch you can convert any rt-structure file into binary image by running: Now, if you wish to have the exported binary images of each structure registered with your rt-dose file, you can run: The plastimatch will generate the binary images in .nrrd format (also .mha can be specified in –prefix-format mha…

## OpenCV2: Access your USB camera in python

To access your USB camera on your laptop with the help of OpenCV2 in Python is a matter of a few lines of code. I tested it in Anaconda environment with Python 3.7. and OpenCV-4.1.1 library running on Win 10. I assume that you have a working Anaconda environment. Unless, please follow the official instructions…

## Monte Carlo Simulation for Probability Calculation….

Problem: If a coin with a diameter of D is tossed and lands on a square tile of side A, what is the probability that the coin will land on tile’s edge or fall completely within the tile? Analytical solution: The probability of a coin to land on tile’s edge is the complementary probability of…

## Centroidal Voronoi Tessellation (CVT) space partitioning

A CVT is a special type of Voronoi tessellation when each generator, of each Voronoi cell, is located in the center of the mass of the cell.  CVT is an optimal partition corresponding to an optimal distribution of generators. A set is tessellated by k generators (is the position of the generator) into k Voronoi cells (denoting…

Patient specific QA is the gold standard for external beam radiotherapy (IMRT/VMAT). Brachytherapy treatment planning (BTP) has become more complex due to advanced imaging (MR, PET, US), advanced dose calculation algorithms and new applicators.

## NextGen Connect Integration Engine (formely Mirth Connect)

NextGen Connect (formerly Mirth Connect) is designed for seamless healthcare message integration. It is easily configurable, easily deployed, and scalable. In one word, it is an health information and data integration engine. It solves the problem of sharing and exchanging data between healthcare applications. Data interchange is a significant problem in healthcare. There are numerous…