Classes | |
class | HistAnalyzer |
Variables | |
tuple | avg = np.mean(back_sum_ls) |
tuple | back_sum_ls = deque() |
comment this afterwards or clean up with options ####### cv.ShowImage("Source", ha.avg_noise) cv.WaitKey(-1) comment this afterwards or clean up with options ####### | |
tuple | background_noise = deque() |
string | default = 'check for success or failure in batch mode with already stored data' |
tuple | file_h2 = open(opt.batch_folder+'/object'+str(i).zfill(3)+'.pkl', 'w') |
tuple | file_list = glob.glob(opt.batch_folder+'/object'+str(i).zfill(3)+'*after*.png') |
tuple | file_manual = open('/home/mkillpack/Desktop/manual_classification_.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 | length = int(file_list[-1][-17:-14]) |
tuple | loc_sum = float(cv.Sum(result)[0]) |
tuple | loc_sum2 = float(cv.Sum(result2)[0]) |
list | manual_classification_list = [] |
tuple | mask = cv.LoadImage(folder+'mask.png', 0) |
int | n = 0 |
tuple | p = optparse.OptionParser() |
dictionary | res_dict = {'frames':[], 'success': [None]*length} |
tuple | result = ha.backgroundDiff(back_img, Imask) |
tuple | result2 = ha.backgroundDiff(back_img, Imask) |
tuple | std = np.std(back_sum_ls) |
int | sum_val = 0 |
tuple | user_inp = raw_input('success:1, failure:0, not sure:-1 \n') |
Definition at line 259 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::back_sum_ls = deque() |
comment this afterwards or clean up with options ####### cv.ShowImage("Source", ha.avg_noise) cv.WaitKey(-1) comment this afterwards or clean up with options #######
Definition at line 247 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::background_noise = deque() |
Definition at line 225 of file hist_analyzer_final.py.
string pr2_playpen::hist_analyzer_final::default = 'check for success or failure in batch mode with already stored data' |
Definition at line 212 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::file_h2 = open(opt.batch_folder+'/object'+str(i).zfill(3)+'.pkl', 'w') |
Definition at line 354 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::file_list = glob.glob(opt.batch_folder+'/object'+str(i).zfill(3)+'*after*.png') |
Definition at line 275 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::file_manual = open('/home/mkillpack/Desktop/manual_classification_.pkl', 'w') |
Definition at line 309 of file hist_analyzer_final.py.
string pr2_playpen::hist_analyzer_final::folder = '/background_noise/' |
Definition at line 224 of file hist_analyzer_final.py.
Definition at line 237 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::Imask = cv.CreateImage(cv.GetSize(ha.background_noise[0]), cv.IPL_DEPTH_8U, 1) |
Definition at line 248 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::img = cv.LoadImage(folder+'file'+str(i).zfill(3)+'.png') |
Definition at line 252 of file hist_analyzer_final.py.
Definition at line 290 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::length = int(file_list[-1][-17:-14]) |
Definition at line 277 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::loc_sum = float(cv.Sum(result)[0]) |
Definition at line 291 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::loc_sum2 = float(cv.Sum(result2)[0]) |
Definition at line 326 of file hist_analyzer_final.py.
Definition at line 270 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::mask = cv.LoadImage(folder+'mask.png', 0) |
Definition at line 235 of file hist_analyzer_final.py.
Definition at line 266 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::p = optparse.OptionParser() |
Definition at line 209 of file hist_analyzer_final.py.
dictionary pr2_playpen::hist_analyzer_final::res_dict = {'frames':[], 'success': [None]*length} |
Definition at line 279 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::result = ha.backgroundDiff(back_img, Imask) |
Definition at line 254 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::result2 = ha.backgroundDiff(back_img, Imask) |
Definition at line 321 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::std = np.std(back_sum_ls) |
Definition at line 260 of file hist_analyzer_final.py.
Definition at line 267 of file hist_analyzer_final.py.
tuple pr2_playpen::hist_analyzer_final::user_inp = raw_input('success:1, failure:0, not sure:-1 \n') |
Definition at line 307 of file hist_analyzer_final.py.