-
Notifications
You must be signed in to change notification settings - Fork 33
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
[-b R B (N-th band from R-th raster)] #5
Comments
What you mean? Perform the segmentation itself (createSuperpixelXXX() - based only in some bands), or perform the statistics for some bands? I never used this argument [-b], but I will give you my suggestion. If it is the first (perform the segmentation), I would recommend to strip out the band you want after the line:
Check if it s more than one band and then take what you are interested:
Some link that could help you: http://www.gdal.org/gdal_translate.html Hope I could help! |
I mean I have a raster with 6 bands and I only want segment the raster with band (1,2,3,4). How to deal with it |
You need to do some process to, first, split out all bands and, second, stack it in a new raster. After to do this process, you call createSuperpixelXXX() with this new image. |
thanks |
how to seg only in some band?
The text was updated successfully, but these errors were encountered: