change pixel color

7 messages Options
Embed this post
Permalink
simone amagliani

change pixel color

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thanks for your help. 
The result that I want to get is really that, but I have not understood whether to do (I am not very practical of Udig).
Could you give me some suggestion? 
Thanks

Simone


Hai tante foto? Organizzale con Windows Live
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Andrea Antonello

Re: change pixel color

Reply Threaded More More options
Print post
Permalink
Hi Simone,
what version of udig are you using?
What type of raster data are you loading?
Andrea

On Tue, Oct 27, 2009 at 10:29 AM, simone amagliani <[hidden email]> wrote:

> Thanks for your help.
> The result that I want to get is really that, but I have not understood
> whether to do (I am not very practical of Udig).
> Could you give me some suggestion?
> Thanks
>
> Simone
>
> ________________________________
> Hai tante foto? Organizzale con Windows Live
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users
>
>
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
simone amagliani

Re: change pixel color

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I use the version 1.1 of Udig.
The images that I use are Tif to 8,16 and 32 Bits

> Date: Tue, 27 Oct 2009 10:37:37 +0100
> From: [hidden email]
> CC: [hidden email]
> Subject: Re: [udig-users] change pixel color
>
> Hi Simone,
> what version of udig are you using?
> What type of raster data are you loading?
> Andrea
>
> On Tue, Oct 27, 2009 at 10:29 AM, simone amagliani <[hidden email]> wrote:
> > Thanks for your help.
> > The result that I want to get is really that, but I have not understood
> > whether to do (I am not very practical of Udig).
> > Could you give me some suggestion?
> > Thanks
> >
> > Simone
> >
> > ________________________________
> > Hai tante foto? Organizzale con Windows Live
> > _______________________________________________
> > udig-users mailing list
> > [hidden email]
> > http://lists.refractions.net/mailman/listinfo/udig-users
> >
> >
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users


Nuovo Windows 7: trova il PC più adatto alle tue esigenze Scopri di più.
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
simone amagliani

Re: change pixel color

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andrea Antonello
Some javascript/style in this post has been disabled (why?)
Is not there anybody that can help me?

Now I try to explain better what I want to do.
I use images tif, and I want to change color to the pixels going to directly act on the matrix that the image represents.
With the istruction "getContext () " I know the selected layer, now I would want to do:
- to find the matrix that represents the image;
- with cycles "for" to modify the value of the colors of the pixels;
- to replace the old layer with the modified one;

Could someone tell me as I can do?
Thanks

PS:I hope that my English is comprehensible  :D

Simone

> Date: Tue, 27 Oct 2009 10:37:37 +0100
> From: [hidden email]
> CC: [hidden email]
> Subject: Re: [udig-users] change pixel color
>
> Hi Simone,
> what version of udig are you using?
> What type of raster data are you loading?
> Andrea
>
> On Tue, Oct 27, 2009 at 10:29 AM, simone amagliani <[hidden email]> wrote:
> > Thanks for your help.
> > The result that I want to get is really that, but I have not understood
> > whether to do (I am not very practical of Udig).
> > Could you give me some suggestion?
> > Thanks
> >
> > Simone
> >
> > ________________________________
> > Hai tante foto? Organizzale con Windows Live
> > _______________________________________________
> > udig-users mailing list
> > [hidden email]
> > http://lists.refractions.net/mailman/listinfo/udig-users
> >
> >
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users


Nuovo Windows 7: trova il PC più adatto alle tue esigenze. Scopri di più.
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Jody Garnett-2

Re: change pixel color

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Simone:

The catalog allows you to access the image using the Java Advanced Imaging and ImageIO. I do not know much about using these for editing images in place; they do provide a Raster model that is used for sampling values.


Jody

On 31/10/2009, at 8:45 PM, simone amagliani wrote:

Is not there anybody that can help me?

Now I try to explain better what I want to do.
I use images tif, and I want to change color to the pixels going to directly act on the matrix that the image represents.
With the istruction "getContext () " I know the selected layer, now I would want to do:
- to find the matrix that represents the image;
- with cycles "for" to modify the value of the colors of the pixels; 
- to replace the old layer with the modified one;

Could someone tell me as I can do?
Thanks

PS:I hope that my English is comprehensible  :D

Simone

> Date: Tue, 27 Oct 2009 10:37:37 +0100
> From: [hidden email]
> CC: [hidden email]
> Subject: Re: [udig-users] change pixel color
> 
> Hi Simone,
> what version of udig are you using?
> What type of raster data are you loading?
> Andrea
> 
> On Tue, Oct 27, 2009 at 10:29 AM, simone amagliani <[hidden email]> wrote:
> > Thanks for your help.
> > The result that I want to get is really that, but I have not understood
> > whether to do (I am not very practical of Udig).
> > Could you give me some suggestion?
> > Thanks
> >
> > Simone
> >
> > ________________________________
> > Hai tante foto? Organizzale con Windows Live
> > _______________________________________________
> > udig-users mailing list
> > [hidden email]
> > http://lists.refractions.net/mailman/listinfo/udig-users
> >
> >
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users


Nuovo Windows 7: trova il PC più adatto alle tue esigenze. Scopri di più. _______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
simone amagliani

Re: change pixel color

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I have tried to see "catalog", however I have not understand as I can do for changing the color to the pixels.
There is someone that can tell me as I can do for resolving my problem.
Thanks
Simone


Subject: Re: [udig-users] change pixel color
From: [hidden email]
Date: Sat, 31 Oct 2009 22:05:40 +1100
CC: [hidden email]
To: [hidden email]

Hi Simone:

The catalog allows you to access the image using the Java Advanced Imaging and ImageIO. I do not know much about using these for editing images in place; they do provide a Raster model that is used for sampling values.


Jody

On 31/10/2009, at 8:45 PM, simone amagliani wrote:

Is not there anybody that can help me?

Now I try to explain better what I want to do.
I use images tif, and I want to change color to the pixels going to directly act on the matrix that the image represents.
With the istruction "getContext () " I know the selected layer, now I would want to do:
- to find the matrix that represents the image;
- with cycles "for" to modify the value of the colors of the pixels; 
- to replace the old layer with the modified one;

Could someone tell me as I can do?
Thanks

PS:I hope that my English is comprehensible  :D

Simone

> Date: Tue, 27 Oct 2009 10:37:37 +0100
> From: [hidden email]
> CC: [hidden email]
> Subject: Re: [udig-users] change pixel color
> 
> Hi Simone,
> what version of udig are you using?
> What type of raster data are you loading?
> Andrea
> 
> On Tue, Oct 27, 2009 at 10:29 AM, simone amagliani <[hidden email]> wrote:
> > Thanks for your help.
> > The result that I want to get is really that, but I have not understood
> > whether to do (I am not very practical of Udig).
> > Could you give me some suggestion?
> > Thanks
> >
> > Simone
> >
> > ________________________________
> > Hai tante foto? Organizzale con Windows Live
> > _______________________________________________
> > udig-users mailing list
> > [hidden email]
> > http://lists.refractions.net/mailman/listinfo/udig-users
> >
> >
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users


Nuovo Windows 7: trova il PC più adatto alle tue esigenze. Scopri di più. _______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users



Nuovo Windows 7: per semplificare le attività di tutti i giorni. Trova il PC più adatto alle tue esigenze.
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Andrea Antonello

Re: change pixel color

Reply Threaded More More options
Print post
Permalink
Hi Simone,
I am afraid you chose a busy period to get help on the list, since the
developers just came back from Foss4G and some of them are still
struggling with the pile of work they found waiting at home and the
jetlag.

Anyways, the more information you supply and the more help you will get.

I was thinking this is a styling question of a user, since you are
writing to the udig-users list as opposed to the udig-devel.
If you are talking about code, then I do not understand what exactly
you want to do. Change the values or change the colors?

If you want to change the colors, as I mentioned before, get into the
rastersymbolizer and ask for help in the geotools list.
There is another way to do so inside the code, but it requires some
more study about categories in gridcoverages. We are doing this for
reading grass colormaps and set them by default on gridcoverages:
https://dev.cocos.bz/plugins/scmsvn/viewcvs.php/jgrass3.0/trunk/eu.hydrologis.jgrass.libs/src/eu/hydrologis/jgrass/libs/iodrivers/geotools/GrassCoverageReader.java?rev=2744&root=jgrass&view=markup


Andrea



On Mon, Nov 2, 2009 at 11:27 AM, simone amagliani <[hidden email]> wrote:

> I have tried to see "catalog", however I have not understand as I can do for
> changing the color to the pixels.
> There is someone that can tell me as I can do for resolving my problem.
> Thanks
> Simone
>
> ________________________________
> Subject: Re: [udig-users] change pixel color
> From: [hidden email]
> Date: Sat, 31 Oct 2009 22:05:40 +1100
> CC: [hidden email]
> To: [hidden email]
>
> Hi Simone:
> The catalog allows you to access the image using the Java Advanced Imaging
> and ImageIO. I do not know much about using these for editing images in
> place; they do provide a Raster model that is used for sampling values.
> - http://java.sun.com/developer/onlineTraining/javaai/
> Jody
> On 31/10/2009, at 8:45 PM, simone amagliani wrote:
>
> Is not there anybody that can help me?
>
> Now I try to explain better what I want to do.
> I use images tif, and I want to change color to the pixels going to directly
> act on the matrix that the image represents.
> With the istruction "getContext () " I know the selected layer, now I would
> want to do:
> - to find the matrix that represents the image;
> - with cycles "for" to modify the value of the colors of the pixels;
> - to replace the old layer with the modified one;
>
> Could someone tell me as I can do?
> Thanks
>
> PS:I hope that my English is comprehensible  :D
>
> Simone
>
>> Date: Tue, 27 Oct 2009 10:37:37 +0100
>> From: [hidden email]
>> CC: [hidden email]
>> Subject: Re: [udig-users] change pixel color
>>
>> Hi Simone,
>> what version of udig are you using?
>> What type of raster data are you loading?
>> Andrea
>>
>> On Tue, Oct 27, 2009 at 10:29 AM, simone amagliani <[hidden email]>
>> wrote:
>> > Thanks for your help.
>> > The result that I want to get is really that, but I have not understood
>> > whether to do (I am not very practical of Udig).
>> > Could you give me some suggestion?
>> > Thanks
>> >
>> > Simone
>> >
>> > ________________________________
>> > Hai tante foto? Organizzale con Windows Live
>> > _______________________________________________
>> > udig-users mailing list
>> > [hidden email]
>> > http://lists.refractions.net/mailman/listinfo/udig-users
>> >
>> >
>> _______________________________________________
>> udig-users mailing list
>> [hidden email]
>> http://lists.refractions.net/mailman/listinfo/udig-users
>
> ________________________________
> Nuovo Windows 7: trova il PC più adatto alle tue esigenze. Scopri di
> più. _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users
>
>
> ________________________________
> Nuovo Windows 7: per semplificare le attività di tutti i giorni. Trova il PC
> più adatto alle tue esigenze.
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users
>
>
_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users