Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary_weightmap #11

Open
HUI623 opened this issue Aug 16, 2022 · 0 comments
Open

Boundary_weightmap #11

HUI623 opened this issue Aug 16, 2022 · 0 comments

Comments

@HUI623
Copy link

HUI623 commented Aug 16, 2022

Thank you for your sharing. I have some quesions :

  1.  “   boundary_weightmap_lesion = 0.75*np.clip(np.exp(-0.02*(ndi.morphology.distance_transform_edt(1-total_border))),weight,None)+0.25*lesion_mask
    
    boundary_weightmap_liver = 0.65boundary_weightmap_liver + 0.35boundary_weightmap_lesion”
    Q:
    (1) Did boundary_weightmap formula come from ‘ weight_map = wc+w0 * np.exp(-1/2 * ((d1+d2)/sigma) ** 2) ’?
    (2) How to determine the coefficients of the weight formula to be 0.75 and 0.25,0.65 and 0.35?
    (3) How is this boundary_weightmap sent to the network? to which part of the network?

2." if opt.Training['data']=='lesion': vol_info['ref_mask_info']= pd.read_csv(opt.Paths['Training_Path']+'/Assign_2D_LiverMasks.csv', header=0)"
Q:What does this code mean?Why 'data' is'lesion', but Assign_2D_LiverMasks.csv is given to ref_mask_info?

Looking forward to your answer, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant