|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
change pixel colorI try to explain what I'd like to do; with the instruction "context.getSelectedLayer () " I get an object "ILayer" that points out the selected layer.Now I'd like to obtein the matrix that represents the image (where each component of the matrix represents a pixel)to be able to change the values of pixel color (RGB). How can I do? I hope that someone could help me. Thanks. PS: I hope to have explained everything well, even if my English is not excellent. Thanks Simone Troppi account di posta? Riuniscili con Windows Live Mail _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel |
|
|
Re: change pixel colorHi Simone,
I never went deep into the udig 1.1 raster stuff, but I could help you with the coverages model of udig 1.2. Any chance for you to move to use udig trunk instead of the udig 1.1? Ciao Andrea On Thu, Nov 5, 2009 at 1:21 PM, simone amagliani <simone_a@...> wrote: > Hi to everybody, I use the version 1.1 of Udig and I'd like to create a > plugin to modify pixel color of a layer but I don't know how to do it. > I try to explain what I'd like to do; > with the instruction "context.getSelectedLayer () " I get an object "ILayer" > that points out the selected layer.Now I'd like to obtein the matrix that > represents the image (where each component of the matrix represents a > pixel)to be able to change the values of pixel color (RGB). > How can I do? > I hope that someone could help me. > Thanks. > PS: I hope to have explained everything well, even if my English is not > excellent. > Thanks > Simone > ________________________________ > Troppi account di posta? Riuniscili con Windows Live Mail > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > > User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel |
|
|
Re: change pixel colorI have seen that I could resolve my problem replacing the actual version of gt2-renders with the version 2.5.4. is it true? it is possible to do or it is preferable to pass to the version 1.2? Thanks Simone > Date: Thu, 5 Nov 2009 14:19:25 +0100 > From: andrea.antonello@... > To: udig-devel@... > Subject: Re: [udig-devel] change pixel color > > Hi Simone, > I never went deep into the udig 1.1 raster stuff, but I could help you > with the coverages model of udig 1.2. > Any chance for you to move to use udig trunk instead of the udig 1.1? > > Ciao > Andrea > > > On Thu, Nov 5, 2009 at 1:21 PM, simone amagliani <simone_a@...> wrote: > > Hi to everybody, I use the version 1.1 of Udig and I'd like to create a > > plugin to modify pixel color of a layer but I don't know how to do it. > > I try to explain what I'd like to do; > > with the instruction "context.getSelectedLayer () " I get an object "ILayer" > > that points out the selected layer.Now I'd like to obtein the matrix that > > represents the image (where each component of the matrix represents a > > pixel)to be able to change the values of pixel color (RGB). > > How can I do? > > I hope that someone could help me. > > Thanks. > > PS: I hope to have explained everything well, even if my English is not > > excellent. > > Thanks > > Simone > > ________________________________ > > Troppi account di posta? Riuniscili con Windows Live Mail > > _______________________________________________ > > User-friendly Desktop Internet GIS (uDig) > > http://udig.refractions.net > > http://lists.refractions.net/mailman/listinfo/udig-devel > > > > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel Screensaver, sfondi e scene: scarica i gadget di Messenger _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel |
|
|
Re: change pixel colorHi Simone,
you are really in a bit of bad luck. After Sydney foss4g now we had the GFOSS in Italy, so answering has been hard. > if it is possible I'd like to stay with the version 1.1 of Udig. You can, but I can't help you. I didn't have a look at rasters in that version. > I have seen that I could resolve my problem replacing the actual version of > gt2-renders with the version 2.5.4. > is it true? Nope, the only thing you would get is a pile of errors. The thing that signed the 1.1 - 1.2 migration, has been the geotools migration from more or less a 2.2 to the geotools trunk. > it is possible to do or it is preferable to pass to the version 1.2? If you want fast support here, I am afraid you should migrate. There are some people that are working on coverages in the new uDig version. Ciao Andrea > Thanks > Simone > >> Date: Thu, 5 Nov 2009 14:19:25 +0100 >> From: andrea.antonello@... >> To: udig-devel@... >> Subject: Re: [udig-devel] change pixel color >> >> Hi Simone, >> I never went deep into the udig 1.1 raster stuff, but I could help you >> with the coverages model of udig 1.2. >> Any chance for you to move to use udig trunk instead of the udig 1.1? >> >> Ciao >> Andrea >> >> >> On Thu, Nov 5, 2009 at 1:21 PM, simone amagliani <simone_a@...> >> wrote: >> > Hi to everybody, I use the version 1.1 of Udig and I'd like to create a >> > plugin to modify pixel color of a layer but I don't know how to do it. >> > I try to explain what I'd like to do; >> > with the instruction "context.getSelectedLayer () " I get an object >> > "ILayer" >> > that points out the selected layer.Now I'd like to obtein the matrix >> > that >> > represents the image (where each component of the matrix represents a >> > pixel)to be able to change the values of pixel color (RGB). >> > How can I do? >> > I hope that someone could help me. >> > Thanks. >> > PS: I hope to have explained everything well, even if my English is not >> > excellent. >> > Thanks >> > Simone >> > ________________________________ >> > Troppi account di posta? Riuniscili con Windows Live Mail >> > _______________________________________________ >> > User-friendly Desktop Internet GIS (uDig) >> > http://udig.refractions.net >> > http://lists.refractions.net/mailman/listinfo/udig-devel >> > >> > >> _______________________________________________ >> User-friendly Desktop Internet GIS (uDig) >> http://udig.refractions.net >> http://lists.refractions.net/mailman/listinfo/udig-devel > > ________________________________ > Screensaver, sfondi e scene: scarica i gadget di Messenger > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > > User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel |
| Free embeddable forum powered by Nabble | Forum Help |