Discussion:
[otb-users] Clipping image with OTB
Gustavo Ferreira de Souza
2018-06-27 14:56:00 UTC
Permalink
Dear,

How clipping image in OTB? my image have a 60 gb, I need clipping with a
polygon vector, but I don't know that algorihm use. I need help.

Many thanks
--
--
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-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Manuel Grizonnet
2018-06-28 15:25:43 UTC
Permalink
Hi Gustavo,

to clip an image with OTB you can use the ExtractROI application (from
command line, graphical user interface or Python):

https://www.orfeo-toolbox.org/CookBook/Applications/app_ExtractROI.html

The application is quite versatile as you can define the clip region with
several methods (pixel coordinates express in different geometries, size,
radius around a coordinates...)

To clip the image with a polygon vector you can you the mode 'fit' and the
option '-mode.fit.vect' to specify the input vector file which will be used
to define the region of interest.

Hope it helps.

Manuel


2018-06-27 16:56 GMT+02:00 Gustavo Ferreira de Souza <
Post by Gustavo Ferreira de Souza
Dear,
How clipping image in OTB? my image have a 60 gb, I need clipping with a
polygon vector, but I don't know that algorihm use. I need help.
Many thanks
--
--
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 unsubscribe from this group, send email to
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
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 otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gabrielle Hoelzle
2018-07-10 19:15:37 UTC
Permalink
Is this function deprecated. I have been running the attached script and
get the error ## exception thrown in otbApplication. Could not find
parameter vect.

On Wednesday, June 27, 2018 at 10:56:00 AM UTC-4, Gustavo Ferreira de Souza
Post by Gustavo Ferreira de Souza
Dear,
How clipping image in OTB? my image have a 60 gb, I need clipping with a
polygon vector, but I don't know that algorihm use. I need help.
Many thanks
--
--
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-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michel Julien
2018-07-11 06:41:38 UTC
Permalink
What version of OTB do you use ?

Regards,

Julien

De : otb-***@googlegroups.com <otb-***@googlegroups.com> De la part de Gabrielle Hoelzle
Envoyé : mardi 10 juillet 2018 21:16
À : otb-users <otb-***@googlegroups.com>
Objet : [otb-users] Re: Clipping image with OTB

Is this function deprecated. I have been running the attached script and get the error ## exception thrown in otbApplication. Could not find parameter vect.

On Wednesday, June 27, 2018 at 10:56:00 AM UTC-4, Gustavo Ferreira de Souza wrote:
Dear,

How clipping image in OTB? my image have a 60 gb, I need clipping with a polygon vector, but I don't know that algorihm use. I need help.

Many thanks
--
--
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-***@googlegroups.com<mailto:otb-***@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com<mailto:otb-users+***@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+***@googlegroups.com<mailto:otb-users+***@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
--
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-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gabrielle Hoelzle
2018-07-11 19:52:46 UTC
Permalink
6.4.0

On Wednesday, June 27, 2018 at 10:56:00 AM UTC-4, Gustavo Ferreira de Souza
Post by Gustavo Ferreira de Souza
Dear,
How clipping image in OTB? my image have a 60 gb, I need clipping with a
polygon vector, but I don't know that algorihm use. I need help.
Many thanks
--
--
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-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Manuel Grizonnet
2018-07-31 12:27:52 UTC
Permalink
Hi Gabrielle,

did you install 6.4 version with the standalone otb archive available on
orfeo-toolbox.org? What is your operating system?

Finally, can you send the script as a text file instead as a png to
facilitate the test on my side.

Thanks in advance.

Manuel
Post by Gabrielle Hoelzle
6.4.0
On Wednesday, June 27, 2018 at 10:56:00 AM UTC-4, Gustavo Ferreira de
Post by Gustavo Ferreira de Souza
Dear,
How clipping image in OTB? my image have a 60 gb, I need clipping with a
polygon vector, but I don't know that algorihm use. I need help.
Many thanks
--
--
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 unsubscribe from this group, send email to
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
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 otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...