Hi Agustin, everything is possible with OTB (and ITK) :) But is generally not a good idea to hide warnings...
Warning messages are managed throw ITK so if you're compiling you're own applications or compiling from source I would say that you "just" need to call the static method itk::Object::GlobalWarningDisplayOff() to disable warning messages in the console in the DoExecute method of the application. I don't think that there is a mechanism to do this "outside" of the applications but I could be wrong here. Regards, Manuel Le 06/08/2015 12:35, Agustin Lobo a écrit : > I get a lot of warning messages using otbcli_FineRegistration because > one of the 2 images have all 0 around the boundaries so that the size > of the 2 images > matches. For example, I get many: > WARNING: In > /build/buildd/otb-3.20.0/Code/DisparityMap/otbFineRegistrationImageFilter.txx, > line 444 > FineRegistrationImageFilter (0x26b3e80): itk::ERROR: > MattesMutualInformationImageToImageMetric(0x250cc80): Joint PDF summed > to zero > > The result is good, do not care about the edges, but is there any way > I can actually > run otbcli_FineRegistration with no warning messages being printed out? > > Thanks > > Agus > -- 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 otb-users@googlegroups.com To unsubscribe from this group, send email to otb-users+unsubscr...@googlegroups.com 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 otb-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.