ImageD  v2_7_5 (24.06.22)
ImageD is an image processing software designed for rapid prototyping and implementing algorithms and solutions for science, research and teaching.
D_Bio_NucleusBlob Class Reference

#include <d_bio_nucleusblob.h>

Public Member Functions

 D_Bio_NucleusBlob ()
 
 D_Bio_NucleusBlob (QString QS_PathLoad)
 
 D_Bio_NucleusBlob (vector< Point > contour_points, Point Offset=Point(0, 0))
 
 D_Bio_NucleusBlob (vector< Point > contour_points, size_t time, Point Offset=Point(0, 0))
 
 D_Bio_NucleusBlob (vector< Point > contour_points, vector< vector< double >> SignalStats_StatChannel, Point Offset=Point(0, 0))
 
 D_Bio_NucleusBlob (vector< Point > contour_points, vector< vector< double >> SignalStats_StatChannel, size_t time, Point Offset=Point(0, 0))
 
void set_FociChannels (size_t channels)
 
void set_Foci (size_t channel, vector< D_Bio_Focus > v_foci)
 
void set_Foci (vector< vector< D_Bio_Focus >> vv_foci)
 
void add_Focus (size_t channel, D_Bio_Focus focus)
 
void clear_Foci ()
 
double attribute (size_t i_attrib, size_t ch_val, double scale_px2um)
 
size_t get_FociChannels ()
 
vector< vector< D_Bio_Focus > > get_Foci ()
 
size_t get_FociCount (size_t channel)
 
vector< D_Bio_Focusget_Foci (size_t channel)
 
D_Bio_Focus get_Focus (size_t channel, size_t index)
 
D_Bio_Focusget_pFocus (size_t channel, size_t index)
 
int get_Contours_append (vector< vector< Point >> *pvScaledContours, double scale)
 
int get_Contours_append (vector< D_Contour > *pvContours)
 
int get_FociCount_append (QStringList *pQSL_FociCounts)
 
int get_ShapeInfo_append (QStringList *pQSL_ShapeInfo)
 
int get_ChannelStat_append (QStringList *pQSL_Stat, size_t stat_index_bio_enum)
 
void block_save_StitchingBorder_BottomRight (size_t x, size_t y)
 
int save_simple (QString path_of_dir_to_save_in, bool save_foci)
 
bool load_simple (QString nucleus_file, bool load_foci_from_file)
 
bool set_path_relative (QString path_rel)
 
bool set_path_absolute (QString path_abs, QDir master_dir)
 
bool has_path_relative ()
 
QString get_path_relative ()
 
QString get_path_absolute (QDir master_dir)
 
QString get_path_absolute_loaded_from ()
 
bool is_path_relative (QString path_rel)
 
Rect bounding_box ()
 
void set_value_channels (size_t channels)
 
vector< Pointcontour ()
 
vector< Point2fcontour_f (double scale, Point P_offset_scaled)
 
vector< Pointcontour (double scale, Point P_offset_scaled)
 
void forget_contour_and_calc_feats ()
 
double dist2contour (Point2f point)
 
double dist2centroid (Point2f point)
 
bool contains_point (Point P, double margin=0)
 
Point2f centroid ()
 
Point2f centroid (double scale, Point P_offset_scaled)
 
double area ()
 
double compactness ()
 
double convexity ()
 
size_t time_index ()
 
size_t time_irradiation ()
 
void set_time_index (size_t t)
 
void set_time_irradiation (double t)
 
size_t channels ()
 
double signal_stat (size_t channel, size_t stat_local_id)
 
double signal_median (size_t channel)
 
double signal_dev2med (size_t channel)
 
bool is_duplicate (vector< D_Bio_NucleusBlob > v_other_nucs, double rel_overlap_for_duplicate=0.5)
 
QString info ()
 
void matching_InitMatching ()
 
double matching_Score (D_Bio_NucleusBlob *nuc_calc_score, vector< size_t > *pvScoreRelevantCriteria, vector< double > *pvScoreWeights, vector< double > *pvScoreMax, double max_area_increase_to_rel, double max_area_decrease_to_rel, double max_shift)
 
double matching_Score_Parent ()
 
double matching_Score_Child1 ()
 
double matching_Score_Child2 ()
 
void matching_SetAsChild (D_Bio_NucleusBlob *nuc_set_child, double score)
 
void matching_SetAsParent (D_Bio_NucleusBlob *nuc_set_parent, double score)
 
bool matching_RemoveChild (D_Bio_NucleusBlob *nuc_remove_child)
 
bool matching_RemoveParent (D_Bio_NucleusBlob *nuc_remove_parent)
 
void matching_set_excluded (bool exclude)
 
bool matching_excluded_this ()
 
bool matching_excluded_life ()
 
int matching_excluded_life_time ()
 
D_Bio_NucleusBlobmatching_excluded_pNucMarked ()
 
D_Bio_NucleusBlobmatching_Child1 ()
 
D_Bio_NucleusBlobmatching_Child2 ()
 
D_Bio_NucleusBlobmatching_ChildFavorite ()
 
D_Bio_NucleusBlobmatching_Parent ()
 
D_Bio_NucleusBlobmatching_Source ()
 
D_Bio_NucleusBlobmatching_Destinantion ()
 
bool matching_foundChild1 ()
 
bool matching_foundChild2 ()
 
bool matching_foundParent ()
 
bool matching_foundNoParent ()
 
bool matching_foundNoChild ()
 
bool matching_foundAtMostOneChild ()
 
bool matching_isNoMitosis ()
 
bool matching_foundAtLeastOneChild ()
 
bool matching_foundExactlyOneChild ()
 
bool matching_isMitosis ()
 
bool matching_isLinear ()
 
bool matching_parent_isMitosis ()
 
bool matching_isConnectedTo (D_Bio_NucleusBlob *nuc)
 
size_t matching_Age ()
 
size_t matching_AgeToGo ()
 
size_t matching_AgeFull ()
 
int matching_Type (Rect FrameNotNearBorder, double t_begin, double t_end)
 
QColor matching_TypeColor (Rect FrameNotNearBorder, double t_begin, double t_end)
 
size_t matching_TimeIndexOfOldestAncestor ()
 
bool matching_HasAncestorInRange (size_t t_oldest, double y_min_px, double y_max_px, double x_min_px, double x_max_px)
 
void matching_setTriedToMatchAtLeastOnce (bool tried)
 

Static Public Member Functions

static bool attribute_is_value_channel_dependent (size_t i_attrib)
 
static bool attribute_is_focus_channel_dependent (size_t i_attrib)
 

Constructor & Destructor Documentation

◆ D_Bio_NucleusBlob() [1/6]

D_Bio_NucleusBlob::D_Bio_NucleusBlob ( )

◆ D_Bio_NucleusBlob() [2/6]

D_Bio_NucleusBlob::D_Bio_NucleusBlob ( QString  QS_PathLoad)

◆ D_Bio_NucleusBlob() [3/6]

D_Bio_NucleusBlob::D_Bio_NucleusBlob ( vector< Point contour_points,
Point  Offset = Point(0, 0) 
)

◆ D_Bio_NucleusBlob() [4/6]

D_Bio_NucleusBlob::D_Bio_NucleusBlob ( vector< Point contour_points,
size_t  time,
Point  Offset = Point(0, 0) 
)

◆ D_Bio_NucleusBlob() [5/6]

D_Bio_NucleusBlob::D_Bio_NucleusBlob ( vector< Point contour_points,
vector< vector< double >>  SignalStats_StatChannel,
Point  Offset = Point(0, 0) 
)

◆ D_Bio_NucleusBlob() [6/6]

D_Bio_NucleusBlob::D_Bio_NucleusBlob ( vector< Point contour_points,
vector< vector< double >>  SignalStats_StatChannel,
size_t  time,
Point  Offset = Point(0, 0) 
)

Member Function Documentation

◆ add_Focus()

void D_Bio_NucleusBlob::add_Focus ( size_t  channel,
D_Bio_Focus  focus 
)

◆ area()

double D_Bio_NucleusBlob::area ( )
inline

◆ attribute()

double D_Bio_NucleusBlob::attribute ( size_t  i_attrib,
size_t  ch_val,
double  scale_px2um 
)

◆ attribute_is_focus_channel_dependent()

bool D_Bio_NucleusBlob::attribute_is_focus_channel_dependent ( size_t  i_attrib)
static

◆ attribute_is_value_channel_dependent()

bool D_Bio_NucleusBlob::attribute_is_value_channel_dependent ( size_t  i_attrib)
static

◆ block_save_StitchingBorder_BottomRight()

void D_Bio_NucleusBlob::block_save_StitchingBorder_BottomRight ( size_t  x,
size_t  y 
)
inline

◆ bounding_box()

Rect D_Bio_NucleusBlob::bounding_box ( )

◆ centroid() [1/2]

Point2f D_Bio_NucleusBlob::centroid ( )
inline

◆ centroid() [2/2]

Point2f D_Bio_NucleusBlob::centroid ( double  scale,
Point  P_offset_scaled 
)

◆ channels()

size_t D_Bio_NucleusBlob::channels ( )
inline

◆ clear_Foci()

void D_Bio_NucleusBlob::clear_Foci ( )
inline

◆ compactness()

double D_Bio_NucleusBlob::compactness ( )
inline

◆ contains_point()

bool D_Bio_NucleusBlob::contains_point ( Point  P,
double  margin = 0 
)
inline

◆ contour() [1/2]

vector<Point> D_Bio_NucleusBlob::contour ( )
inline

◆ contour() [2/2]

vector< Point > D_Bio_NucleusBlob::contour ( double  scale,
Point  P_offset_scaled 
)

◆ contour_f()

vector< Point2f > D_Bio_NucleusBlob::contour_f ( double  scale,
Point  P_offset_scaled 
)

◆ convexity()

double D_Bio_NucleusBlob::convexity ( )
inline

◆ dist2centroid()

double D_Bio_NucleusBlob::dist2centroid ( Point2f  point)
inline

◆ dist2contour()

double D_Bio_NucleusBlob::dist2contour ( Point2f  point)
inline

◆ forget_contour_and_calc_feats()

void D_Bio_NucleusBlob::forget_contour_and_calc_feats ( )
inline

◆ get_ChannelStat_append()

int D_Bio_NucleusBlob::get_ChannelStat_append ( QStringList *  pQSL_Stat,
size_t  stat_index_bio_enum 
)

◆ get_Contours_append() [1/2]

int D_Bio_NucleusBlob::get_Contours_append ( vector< D_Contour > *  pvContours)

◆ get_Contours_append() [2/2]

int D_Bio_NucleusBlob::get_Contours_append ( vector< vector< Point >> *  pvScaledContours,
double  scale 
)

◆ get_Foci() [1/2]

vector<vector<D_Bio_Focus> > D_Bio_NucleusBlob::get_Foci ( )
inline

◆ get_Foci() [2/2]

vector<D_Bio_Focus> D_Bio_NucleusBlob::get_Foci ( size_t  channel)
inline

◆ get_FociChannels()

size_t D_Bio_NucleusBlob::get_FociChannels ( )
inline

◆ get_FociCount()

size_t D_Bio_NucleusBlob::get_FociCount ( size_t  channel)
inline

◆ get_FociCount_append()

int D_Bio_NucleusBlob::get_FociCount_append ( QStringList *  pQSL_FociCounts)

◆ get_Focus()

D_Bio_Focus D_Bio_NucleusBlob::get_Focus ( size_t  channel,
size_t  index 
)
inline

◆ get_path_absolute()

QString D_Bio_NucleusBlob::get_path_absolute ( QDir  master_dir)
inline

◆ get_path_absolute_loaded_from()

QString D_Bio_NucleusBlob::get_path_absolute_loaded_from ( )
inline

◆ get_path_relative()

QString D_Bio_NucleusBlob::get_path_relative ( )
inline

◆ get_pFocus()

D_Bio_Focus* D_Bio_NucleusBlob::get_pFocus ( size_t  channel,
size_t  index 
)
inline

◆ get_ShapeInfo_append()

int D_Bio_NucleusBlob::get_ShapeInfo_append ( QStringList *  pQSL_ShapeInfo)

◆ has_path_relative()

bool D_Bio_NucleusBlob::has_path_relative ( )
inline

◆ info()

QString D_Bio_NucleusBlob::info ( )

◆ is_duplicate()

bool D_Bio_NucleusBlob::is_duplicate ( vector< D_Bio_NucleusBlob v_other_nucs,
double  rel_overlap_for_duplicate = 0.5 
)

◆ is_path_relative()

bool D_Bio_NucleusBlob::is_path_relative ( QString  path_rel)
inline

◆ load_simple()

bool D_Bio_NucleusBlob::load_simple ( QString  nucleus_file,
bool  load_foci_from_file 
)

◆ matching_Age()

size_t D_Bio_NucleusBlob::matching_Age ( )
inline

◆ matching_AgeFull()

size_t D_Bio_NucleusBlob::matching_AgeFull ( )
inline

◆ matching_AgeToGo()

size_t D_Bio_NucleusBlob::matching_AgeToGo ( )
inline

◆ matching_Child1()

D_Bio_NucleusBlob* D_Bio_NucleusBlob::matching_Child1 ( )
inline

◆ matching_Child2()

D_Bio_NucleusBlob* D_Bio_NucleusBlob::matching_Child2 ( )
inline

◆ matching_ChildFavorite()

D_Bio_NucleusBlob* D_Bio_NucleusBlob::matching_ChildFavorite ( )
inline

◆ matching_Destinantion()

D_Bio_NucleusBlob* D_Bio_NucleusBlob::matching_Destinantion ( )
inline

◆ matching_excluded_life()

bool D_Bio_NucleusBlob::matching_excluded_life ( )

◆ matching_excluded_life_time()

int D_Bio_NucleusBlob::matching_excluded_life_time ( )

◆ matching_excluded_pNucMarked()

D_Bio_NucleusBlob * D_Bio_NucleusBlob::matching_excluded_pNucMarked ( )

◆ matching_excluded_this()

bool D_Bio_NucleusBlob::matching_excluded_this ( )
inline

◆ matching_foundAtLeastOneChild()

bool D_Bio_NucleusBlob::matching_foundAtLeastOneChild ( )
inline

◆ matching_foundAtMostOneChild()

bool D_Bio_NucleusBlob::matching_foundAtMostOneChild ( )
inline

◆ matching_foundChild1()

bool D_Bio_NucleusBlob::matching_foundChild1 ( )
inline

◆ matching_foundChild2()

bool D_Bio_NucleusBlob::matching_foundChild2 ( )
inline

◆ matching_foundExactlyOneChild()

bool D_Bio_NucleusBlob::matching_foundExactlyOneChild ( )
inline

◆ matching_foundNoChild()

bool D_Bio_NucleusBlob::matching_foundNoChild ( )
inline

◆ matching_foundNoParent()

bool D_Bio_NucleusBlob::matching_foundNoParent ( )
inline

◆ matching_foundParent()

bool D_Bio_NucleusBlob::matching_foundParent ( )
inline

◆ matching_HasAncestorInRange()

bool D_Bio_NucleusBlob::matching_HasAncestorInRange ( size_t  t_oldest,
double  y_min_px,
double  y_max_px,
double  x_min_px,
double  x_max_px 
)

◆ matching_InitMatching()

void D_Bio_NucleusBlob::matching_InitMatching ( )

◆ matching_isConnectedTo()

bool D_Bio_NucleusBlob::matching_isConnectedTo ( D_Bio_NucleusBlob nuc)
inline

◆ matching_isLinear()

bool D_Bio_NucleusBlob::matching_isLinear ( )
inline

◆ matching_isMitosis()

bool D_Bio_NucleusBlob::matching_isMitosis ( )
inline

◆ matching_isNoMitosis()

bool D_Bio_NucleusBlob::matching_isNoMitosis ( )
inline

◆ matching_Parent()

D_Bio_NucleusBlob* D_Bio_NucleusBlob::matching_Parent ( )
inline

◆ matching_parent_isMitosis()

bool D_Bio_NucleusBlob::matching_parent_isMitosis ( )
inline

◆ matching_RemoveChild()

bool D_Bio_NucleusBlob::matching_RemoveChild ( D_Bio_NucleusBlob nuc_remove_child)

◆ matching_RemoveParent()

bool D_Bio_NucleusBlob::matching_RemoveParent ( D_Bio_NucleusBlob nuc_remove_parent)

◆ matching_Score()

double D_Bio_NucleusBlob::matching_Score ( D_Bio_NucleusBlob nuc_calc_score,
vector< size_t > *  pvScoreRelevantCriteria,
vector< double > *  pvScoreWeights,
vector< double > *  pvScoreMax,
double  max_area_increase_to_rel,
double  max_area_decrease_to_rel,
double  max_shift 
)

◆ matching_Score_Child1()

double D_Bio_NucleusBlob::matching_Score_Child1 ( )
inline

◆ matching_Score_Child2()

double D_Bio_NucleusBlob::matching_Score_Child2 ( )
inline

◆ matching_Score_Parent()

double D_Bio_NucleusBlob::matching_Score_Parent ( )
inline

◆ matching_set_excluded()

void D_Bio_NucleusBlob::matching_set_excluded ( bool  exclude)
inline

◆ matching_SetAsChild()

void D_Bio_NucleusBlob::matching_SetAsChild ( D_Bio_NucleusBlob nuc_set_child,
double  score 
)

◆ matching_SetAsParent()

void D_Bio_NucleusBlob::matching_SetAsParent ( D_Bio_NucleusBlob nuc_set_parent,
double  score 
)

◆ matching_setTriedToMatchAtLeastOnce()

void D_Bio_NucleusBlob::matching_setTriedToMatchAtLeastOnce ( bool  tried)
inline

◆ matching_Source()

D_Bio_NucleusBlob* D_Bio_NucleusBlob::matching_Source ( )
inline

◆ matching_TimeIndexOfOldestAncestor()

size_t D_Bio_NucleusBlob::matching_TimeIndexOfOldestAncestor ( )

◆ matching_Type()

int D_Bio_NucleusBlob::matching_Type ( Rect  FrameNotNearBorder,
double  t_begin,
double  t_end 
)

◆ matching_TypeColor()

QColor D_Bio_NucleusBlob::matching_TypeColor ( Rect  FrameNotNearBorder,
double  t_begin,
double  t_end 
)

◆ save_simple()

int D_Bio_NucleusBlob::save_simple ( QString  path_of_dir_to_save_in,
bool  save_foci 
)

◆ set_Foci() [1/2]

void D_Bio_NucleusBlob::set_Foci ( size_t  channel,
vector< D_Bio_Focus v_foci 
)

◆ set_Foci() [2/2]

void D_Bio_NucleusBlob::set_Foci ( vector< vector< D_Bio_Focus >>  vv_foci)

◆ set_FociChannels()

void D_Bio_NucleusBlob::set_FociChannels ( size_t  channels)
inline

◆ set_path_absolute()

bool D_Bio_NucleusBlob::set_path_absolute ( QString  path_abs,
QDir  master_dir 
)

◆ set_path_relative()

bool D_Bio_NucleusBlob::set_path_relative ( QString  path_rel)

◆ set_time_index()

void D_Bio_NucleusBlob::set_time_index ( size_t  t)
inline

◆ set_time_irradiation()

void D_Bio_NucleusBlob::set_time_irradiation ( double  t)
inline

◆ set_value_channels()

void D_Bio_NucleusBlob::set_value_channels ( size_t  channels)
inline

◆ signal_dev2med()

double D_Bio_NucleusBlob::signal_dev2med ( size_t  channel)
inline

◆ signal_median()

double D_Bio_NucleusBlob::signal_median ( size_t  channel)
inline

◆ signal_stat()

double D_Bio_NucleusBlob::signal_stat ( size_t  channel,
size_t  stat_local_id 
)
inline

◆ time_index()

size_t D_Bio_NucleusBlob::time_index ( )
inline

◆ time_irradiation()

size_t D_Bio_NucleusBlob::time_irradiation ( )
inline

The documentation for this class was generated from the following files: