Classes | |
class | HistAnalyzer |
Variables | |
tuple | avg = np.mean(back_sum_ls) |
tuple | back_sum_ls = deque() |
tuple | background_noise = deque() |
string | default = 'check for success or failure in batch mode with already stored data' |
tuple | file_h = open(opt.batch_folder+'/object'+str(i).zfill(3)+'.pkl', 'r') |
tuple | file_h2 = open(opt.batch_folder+'/object'+str(i).zfill(3)+'.pkl', 'w') |
string | folder = '/background_noise/' |
tuple | ha = HistAnalyzer(background_noise, mask) |
tuple | Imask = cv.CreateImage(cv.GetSize(ha.background_noise[0]), cv.IPL_DEPTH_8U, 1) |
tuple | img = cv.LoadImage(folder+'file'+str(i).zfill(3)+'.png') |
is_object = False | |
tuple | loc_sum = float(cv.Sum(result)[0]) |
tuple | mask = cv.LoadImage(folder+'mask.png', 0) |
int | n = 0 |
tuple | p = optparse.OptionParser() |
tuple | res_dict = cPickle.load(file_h) |
tuple | result = ha.compare_imgs(img, ha.background_noise[0]) |
tuple | result2 = ha.compare_imgs(img, ha.background_noise[-1]) |
tuple | std = np.std(back_sum_ls) |
int | sum_val = 0 |
Definition at line 264 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::back_sum_ls = deque() |
Definition at line 254 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::background_noise = deque() |
Definition at line 235 of file hist_analyzer_tmp.py.
string pr2_playpen::hist_analyzer_tmp::default = 'check for success or failure in batch mode with already stored data' |
Definition at line 226 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::file_h = open(opt.batch_folder+'/object'+str(i).zfill(3)+'.pkl', 'r') |
Definition at line 273 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::file_h2 = open(opt.batch_folder+'/object'+str(i).zfill(3)+'.pkl', 'w') |
Definition at line 339 of file hist_analyzer_tmp.py.
string pr2_playpen::hist_analyzer_tmp::folder = '/background_noise/' |
Definition at line 234 of file hist_analyzer_tmp.py.
Definition at line 247 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::Imask = cv.CreateImage(cv.GetSize(ha.background_noise[0]), cv.IPL_DEPTH_8U, 1) |
Definition at line 281 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::img = cv.LoadImage(folder+'file'+str(i).zfill(3)+'.png') |
Definition at line 258 of file hist_analyzer_tmp.py.
Definition at line 293 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::loc_sum = float(cv.Sum(result)[0]) |
Definition at line 294 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::mask = cv.LoadImage(folder+'mask.png', 0) |
Definition at line 245 of file hist_analyzer_tmp.py.
Definition at line 269 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::p = optparse.OptionParser() |
Definition at line 223 of file hist_analyzer_tmp.py.
Definition at line 274 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::result = ha.compare_imgs(img, ha.background_noise[0]) |
Definition at line 259 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::result2 = ha.compare_imgs(img, ha.background_noise[-1]) |
Definition at line 306 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::std = np.std(back_sum_ls) |
Definition at line 265 of file hist_analyzer_tmp.py.
tuple pr2_playpen::hist_analyzer_tmp::sum_val = 0 |
Definition at line 270 of file hist_analyzer_tmp.py.