/* * NDPluginXTCAVProperties.h * * Created on: Nov 7, 2014 * Author: lpiccoli */ #ifndef XTCAVPLUGINAPP_SRC_NDPLUGINXTCAVPROPERTIES_H_ #define XTCAVPLUGINAPP_SRC_NDPLUGINXTCAVPROPERTIES_H_ class NDPluginXTCAVProperties { public: NDPluginXTCAVProperties(); virtual ~NDPluginXTCAVProperties(); /** Maximum number of columns reached before segmentation is stopped */ int _maxRoiW; /** Maximum number of rows reached before segmentation is stopped */ int _maxRoiH; /** Neighborhood around max point to calculate segmenting threshold */ int _averageRegion; /** Percentage of the max threshold segmenting threshold to use (10% to 100%) */ int _averagePercent; /** * Scan interval in X * The algorithm scans the image using these intervals to find the rows/cols that have pixels with * the maximum intensity. For each scanned row/col the maximum sum for the consecutive pixels intensity * is computed. The row/col with the largest sum is selected. This scanning will only work only if * there is one beam on the image. The number of pixels used for the sum is 10% of the image width/height. * The actual pixel intensity is used, without subtracting the background. */ int _scanIntervalX; /** Scan interval in Y */ int _scanIntervalY; /** Additional pixels added to the cropped image in the X dimension */ int _extraX; /** Additional pixels added to the cropped image in the Y dimension */ int _extraY; /** Strength param (S) */ double _strengthParam; /** Vertical slice currently selected for display */ int _selectedSlice; }; #endif /* XTCAVPLUGINAPP_SRC_NDPLUGINXTCAVPROPERTIES_H_ */