[gdal-dev] Gdal_translate, question from an amateur.

2011-10-22 Thread joolek
Hi all, I need your expertise... I've got number of TIFF's and ECW's with RGB (72,255,25) that I would like to convert to 255,255,255. How should the command looks like?.. gdal_translate -scale (not sure about this) Thank you guys!!, appreciate any help. J -- View this message in context: htt

[gdal-dev] Re: Gdal_translate, question from an amateur.

2011-10-22 Thread joolek
fy the > value in each array by position. > > On Sat, Oct 22, 2011 at 7:10 PM, joolek <[hidden email]> wrote: > Hi all, > I need your expertise... I've got number of TIFF's and ECW's with RGB > (72,255,25) that I would like to convert to 255,255,255. >

[gdal-dev] Re: Gdal_translate, question from an amateur.

2011-10-23 Thread joolek
Hi me again..., Would it be actually possible to convert all the 255 255 255 into 254 254 254? Is this is the command to do so: gdal_translate -scale 0 254 0 255 Thank you in advance for your time, J -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Gdal-translate-quest

[gdal-dev] Re: Gdal_translate, question from an amateur.

2011-10-23 Thread joolek
Basically - I have an imagery with RGB 0-255, but I would like to strip it to 1-254. So i want to get rid off two extremes (0 and 255) - is this possible? Thank you J -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Gdal-translate-question-from-an-amateur-tp6921127p6921730.

[gdal-dev] Re: Gdal_translate, question from an amateur.

2011-10-23 Thread joolek
3, 2011 at 10:02 AM, Brian Case <[hidden email]> wrote: > joolek, > > I noticed you used the word "strip". Are you trying to remove portions > of the image that are all black or white? > > > On Sun, 2011-10-23 at 03:01 -0700, joolek wrote: > > Basically -

[gdal-dev] Re: Gdal_translate, question from an amateur.

2011-10-23 Thread joolek
masked arrays in python. > > Perhaps someone else knows of a GDAL tool to perform this functionality > though. > > J > > On Sun, Oct 23, 2011 at 12:59 PM, joolek <[hidden email]> wrote: > Hi > I need to convert all the 255 255 255 into 254 254 254. Is this poss

[gdal-dev] 254 into 255

2011-10-26 Thread joolek
Hi, me again. I've managed to scale all three bands from 0-255 into 1-254 but do you guys know how to convert particular band into other for example 3x 254 into 3x255? Thank you J -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/254-into-255-tp6931988p6931988.html Sent fro

[gdal-dev] Re: 254 into 255

2011-10-26 Thread joolek
Hi I basically want to convert all the 254 254 254 into 255 255 255... is this possible? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/254-into-255-tp6931988p6933182.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

[gdal-dev] Re: 254 into 255

2011-10-27 Thread joolek
Yes, this is exactly what I am struggling to do. Gdal is so powerful - but I can't get it working. J On 26 Oct 2011, at 17:10, "Chaitanya kumar CH [via OSGeo.org]" wrote: > Do you want to convert just the pixels with the values (254,254,254)? > > On Wed, Oct 26,

[gdal-dev] Re: 254 into 255

2011-10-27 Thread joolek
Thank you for that, really really thank you. I'll definitelly give a go. If u don't mind me asking two questions: - what do you mean by appropriate parts? - I have around 3000 files... can I batch it somehow? If so... would you be able to give me a hint how to do it? J -- View this message in co

[gdal-dev] Re: 254 into 255

2011-10-27 Thread joolek
Thank you for that, really really thank you. I'll definitelly give a go. If u don't mind me asking two questions: - what do you mean by appropriate parts? - I have around 3000 files... can I batch it somehow? If so... would you be able to give me a hint how to do it? J -- View this message in co

Re: [gdal-dev] Re: 254 into 255

2011-10-28 Thread joolek
Seriously guys... I do admire your knowledge!! Still can't get it to work :) -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/254-into-255-tp6931988p6940762.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gda