If you want to change the nodata value you can use the ManageNoData application:
<goog_903394396> https://www.orfeo-toolbox.org/CookBook/Applications/app_ManageNoData.html If you want to change the value of a pixel in a image you can use the BandMath application with the expression: "im1b1 == previous_pixel_value ? new_pixel_value : previous_pixel_value" If you want to process a multispectral image you can use instead the BandMathX which can deal with multiband images as input. Finally if you've got lots of image files to process I would advise to write a Bash or Python script (or R perhaps) to loop over all files to apply the same application multiple times. Regards, Le ven. 23 nov. 2018 à 12:03, michel Mouléry <[email protected]> a écrit : > rectificatif > > Dear all, >>>> i want to correct the default of landsat 7 image. When you dowloaded >>>> the landsat 7 images you have a directory gap_mask . >>>> >>> This directory gap_mask contain the correction of the problem. On QGIS >>> it's ok , but i must it band by band (remplir les valeurs nulles nodata >>> ...) >>> I'm very interested to have the function on orfeotoolbox , because i >>> have a lot of bands image landsat and i want to do with a program with R >>> like below >>> >>> command<-exe_otb >>> command<-paste(command, '-il', path.in) >>> command<-paste(command, '-out', path.out) >>> command_final<-"" >>> command_final<-paste(bin_otb,command,sep="") >>> cat("command_final =", path.out ," en cours " , "\n") >>> system(command_final) >>> >>> What is the function of orfeotoolbox that correct the problem ? , >>> have you got an example ? ... >>> Many Thanks Michel >>> Michel Mouléry - INRA - spatial engineer - MSC >>> >>> >>> >>> -- > -- > Check the OTB FAQ at > http://www.orfeo-toolbox.org/FAQ.html > > You received this message because you are subscribed to the Google > Groups "otb-users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/otb-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "otb-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Manuel Grizonnet -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
