An apparatus for analyzing fluid samples comprising at least one processor and at least one non-transitory memory comprising program code, the at least one non-transitory memory and the program code configured to, with the at least one processor, cause the apparatus to at least:
- receive, by the at least one processor, digital holography image data associated with a fluid sample in a flow chamber device comprising an upper reference mark on an upper surface of the flow chamber device and a lower reference mark on a lower surface of the flow chamber device, wherein the upper surface of the flow chamber device corresponds to an upper inner surface of a flow channel in the flow chamber device and wherein the lower surface of the flow chamber device corresponds to a lower inner surface of the flow channel in the flow chamber device;
- determine, by the at least one processor, a maximum focal depth and a minimum focal depth associated with the digital holography image data based at least in part on an upper reference mark image region and a lower reference mark image region of the digital holography image data, respectively;
- generate, by the at least one processor, a plurality of images for each of a plurality of focal depth layers associated with the digital holography image data based at least in part on the maximum focal depth and the minimum focal depth, wherein the maximum focal depth corresponds to a first focal depth between the upper surface of the flow chamber device and an imaging device, wherein the minimum focal depth corresponds to a second focal depth between the lower surface of the flow chamber device and the imaging device, and wherein the imaging device is positioned under the flow channel of the flow chamber device;
- compare reference mark sizes associated with the upper reference mark and the lower reference mark with image sizes of the upper reference mark and the lower reference mark of the digital holography image data;
- determine a scale factor based at least in part on the comparation;
- scale one or more particle or cell dimensions of particles or cells of interest of the digital holography image data;
- and
- determine actual sizes of the particles or cells of interest associated with the fluid sample based at least in part on the scaled one or more particle or cell dimensions.