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

DISJOINT images sum #14

Closed
gillins opened this issue Sep 15, 2017 · 2 comments
Closed

DISJOINT images sum #14

gillins opened this issue Sep 15, 2017 · 2 comments
Labels
bug Something isn't working major

Comments

@gillins
Copy link
Member

gillins commented Sep 15, 2017

Original report by alan piszcz (Bitbucket: apiszcz, GitHub: apiszcz).


Is it possible to sum and mosaic a set of disjoint images.

If I have 5 input images (see attachment)

For example in the attached image if each circle has a value of 1, the area intersecting with the center image would have count of 2 in the output.

@gillins
Copy link
Member Author

gillins commented Sep 16, 2017

Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood).


Hi Alan,

The default behaviour in RIOS is to process the intersection region of all the input images. This behaviour can be changed using a setting on the controls object. For example, modifying the addThem example as follows:

#!python
controls = applier.ApplierControls()
controls.setFootprintType(applier.UNION)

# Pass this controls object to the apply() function
applier.apply(addThem, infiles, outfiles, controls=controls)

@gillins
Copy link
Member Author

gillins commented Sep 19, 2017

Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood).


Apparently resolved

@gillins gillins closed this as completed Sep 19, 2017
@gillins gillins added major bug Something isn't working labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant