-
Notifications
You must be signed in to change notification settings - Fork 184
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
Add API for concatenating images #332
Comments
@mheppner So in your example, you would do something like this:
Does this work for you? (Personally I like this a lot more than the |
That could work too, but it takes away from some of the magic of using The use case I have is to search a database to get paths of tifs to load into a thunder set. The only way of doing this is either to copy all the files into a temporary directory, or the method I mentioned above of joining all the RDDs. #331 is going to be more useful than this issue, but I figured I'd add it anyways. I think it still might be useful to concatenate images together though. |
What magic is there in using |
Yes, that does fit the use case, but why copy something that already exists? Why can't |
@mheppner I agree that |
With the current
thunder.images.fromtif()
call, either a single image or a glob of images in a directory can be loaded. To load specific images, you have to do something like this:In addition to the other methods mentioned in #331, an API could be added to concatenate image objects, like this:
The text was updated successfully, but these errors were encountered: