### Program Information

Name: ADDA
Domain: Graph and Image
Functionality: ADDA, which is an implementation of Discrete Diploe Approximation (DDA) method.
Input: The general input parameters of ADDA define the optical and geometry properties of a scatterer/particle including the shape and the size, the diploes, the refractive index of each dipole, the orientation of the scatterer, the definition of incident beam, and others.
Output: Depend on the applications, ADDA can produce different outputs,such as simulation information,the results of the Muller matrix at different scattering angles,the results for integral scattering quantities and producing a diffraction images.The MRs are defined on the properties of the diffraction images.

#### Reference

An Application of Metamorphic Testing for Testing Scientific Software https://doi.org/10.1145/2896971.2896981

### MR Information

#### MR1------Inclusive/Exclusive

Description:
Property: If an artificial mitochondrion is added/removed to/from a stack of original confocal image sections of a cell, the new added one should be  recognized  and  included/excluded  in/from  the reconstructed  structure,  the  total  number  of  the mitochondria should be increased/decreased by one, and the calculated volume of the mitochondria in the cell should increase/decreased correspondingly.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR2------Multiplicative

Description:
Property: If the size of a mitochondrion in the original image sections is increased with a small percentage. The total number of the mitochondria should be kept as the same, and the volume of mitochondria is expected to increase.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR3------Lengths

Description:
Property: There is a gap between image sections. Therefore, a small mitochondrion may only appear in one section and a large one can appear in multiple sections. An artificial mitochondrion can be added to only one section or multiple sections. The mitochondrion shall be constructed based on the modified image sections. The new added mitochondrion is expected to appear in the 3D structure output along with the original one, and the volume of mitochondria shall increase as well.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR4------Shapes

Description:
Property: Mitochondria have different shapes and they determine the shapes of the 3D structure of the reconstructed mitochondria. Artificial mitochondria with different shapes are added to the confocal images to check whether the 3D structures of these mitochondria can be constructed as expected, and the 3D structure of the original one should not be changed.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR5------Locations

Description:
Property: The program processes mitochondria that are close to the nuclear differently to the one that is close to the cell boundary. Artificial mitochondria are added to different locations in the image, such as the location where is close to the nuclear or where is close to the cell boundary. The new added mitochondria should be recognized, and the 3D structure of the added mitochondria should be reconstructed as expected and the 3D structures of other original mitochondria should not be affected.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR6------

Description:
Property:  when the size of a scatterer is changed, the textual pattern of the diffraction image is changed.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR7------

Description:
Property: when the shape of a scatterer is changed, the textual pattern of the diffraction image is changed.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR8------

Description:
Property: when the orientation of an irregular scatterer is changed, the textual pattern of the diffraction image is changed.For a sphere shape scatterer, the textual pattern should be the same at all orientations.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR9------

Description:
Property: when the refractive index value of a scatterer is changed, the textual pattern of the diffraction image is changed.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR10------

Description:
Property: when the morphology structure of a cell scatterer is changed, the textual pattern of the diffraction image is changed.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR11------

Description:
Property: The textual pattern of a calculated diffraction image should be consistent to the textual pattern of the corresponding measured diffraction image.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:

#### MR12------

Description:
Property: Different types of cells can be classified by their diffraction images.
Source input:
Source output:
Follow-up input:
Follow-up output:
Input relation:
Output relation:
Pattern:
Insert title here