[gdal-dev] Re: Gdal_translate, question from an amateur.
Jay L.
jzl5325 at psu.edu
Sun Oct 23 14:19:59 EDT 2011
I do not believe that a GDAL command line tool to perform that function
exists. The task is achievable using GDAL and Numpy 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 <joolek.o at gmail.com> wrote:
> Hi
> I need to convert all the 255 255 255 into 254 254 254. Is this possible?
> PS. Do appologize for lack of my language.
>
> Thanks
> J
>
> On 23 Oct 2011, at 15:26, "Jay L. [via OSGeo.org]" <[hidden email]<http://user/SendEmail.jtp?type=node&node=6922377&i=0>>
> wrote:
>
> Or are you trying to convert only some of the pixels to white?
>
> On Sun, Oct 23, 2011 at 10:02 AM, Brian Case <[hidden email]<http://user/SendEmail.jtp?type=node&node=6922091&i=0>
> > 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 - 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.html
>> > Sent from the GDAL - Dev mailing list archive at Nabble.com.
>> > _______________________________________________
>> > gdal-dev mailing list
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=6922091&i=1>
>>
>> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=6922091&i=2>
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
> _______________________________________________
> gdal-dev mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=6922091&i=3>
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1803224.n2.nabble.com/Gdal-translate-question-from-an-amateur-tp6921127p6922091.html
> To unsubscribe from Gdal_translate, question from an amateur., click here.
>
>
>
> ------------------------------
> View this message in context: Re: Gdal_translate, question from an
> amateur.<http://osgeo-org.1803224.n2.nabble.com/Gdal-translate-question-from-an-amateur-tp6921127p6922377.html>
> Sent from the GDAL - Dev mailing list archive<http://osgeo-org.1803224.n2.nabble.com/GDAL-Dev-f2022644.html>at Nabble.com.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111023/954e9e32/attachment.html
More information about the gdal-dev
mailing list