Skip to content

Commit

Permalink
code review left
Browse files Browse the repository at this point in the history
  • Loading branch information
djjayeeta committed May 14, 2017
1 parent e38e0af commit ded3461
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fuzzy_c_spatial_spectral.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ def fuzzy_cluster(image_path,datetime_str):
while True:
cluster_centres = get_cluster_ref(U,data,cluster_centres,v_denom,fuzzy_index,row,col,cluster_number,channel)
print cluster_centres,'cluster_centres'

U,n0 = update_U(U,data,itertion_number,cluster_centres,dist_mat,row,col,cluster_number,channel,fuzzy_index,neg_dist,maxconn,n0,last_six,w,EpsilonAvg,cluster_spatial_arr,Theta)
print itertion_number,'itertion_number'
L_new = segment_image(U,L_new,row,col,cluster_number)
Expand All @@ -314,11 +313,7 @@ def run_fuzzy(image_path):
save_pickle_from_image(image_path)
L = fuzzy_cluster(image_path,datetime_str)
print(timeit.default_timer() - start_time),"total execution time"
# print L
f = open("seg_"+image_name+".pickle","wb")
pickle.dump(L, f)
f.close()

# image_path = sys.argv[1]
# run_fuzzy(image_path)

0 comments on commit ded3461

Please sign in to comment.