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

Avoid to calculate masked pixels #113

Open
fabiobg83 opened this issue Jan 23, 2015 · 0 comments
Open

Avoid to calculate masked pixels #113

fabiobg83 opened this issue Jan 23, 2015 · 0 comments
Labels

Comments

@fabiobg83
Copy link
Contributor

As it is now, the mask makes "bad" pixels irrelevant for likelihood calculation, but the image is anyway rendered on the full image plane. I was just chatting with @ntessore about the possibility to avoid the computation of masked pixels. This would clearly improve the speed, especially in the view of analysing bigger areas, e.g. for galaxy clusters. It turns out that the simplest (and maybe the only reasonable) way to do it is to consider blocks of 16x16 pixels (as they are treated by OpenCL kernels), and skip their rendering if they are all masked. I think this would already help us a lot in clusters analysis.

@fabiobg83 fabiobg83 added the idea label Jan 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant