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

Function Converges into a Black Background Picture #26

Open
gmh1033286494 opened this issue Jan 18, 2021 · 3 comments
Open

Function Converges into a Black Background Picture #26

gmh1033286494 opened this issue Jan 18, 2021 · 3 comments

Comments

@gmh1033286494
Copy link

im1 = fixed_path ,im2 = moving_path ,fix_rotation = False,output_dir='/home/chixing/reg_source/reg/',gpu_device = 0,transform_type = 'similarity',lr = 0.01,iterations =10000,min_object_size = 500,no_segment_analysis = True,black_background = True

The wraped moving image become a total black picture.

And when I try Ir = 0.1, iterations = 1000, I got the same result.
Uploading image.png…

@jlevy44
Copy link
Owner

jlevy44 commented Jan 18, 2021

Hey @gmh1033286494 I can't quite see your picture here, can you upload again?

@gmh1033286494
Copy link
Author

image

@jlevy44
Copy link
Owner

jlevy44 commented Feb 23, 2021

this is quite strange... you may want to consider manipulating the image, maybe make the background white and refit the model and then transform the original image using the calculated displacement field... there is also an option to input an image mask so it knows which pixels to compute the registration loss.

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

2 participants