Martin Dobias wrote:
So my only problem is to avoid concurrent reads from
both main thread and worker thread. How can be this
best accomplished without serializing the access?
Your reads are eventually going to be serialized by the disk controller
anyway, so what is the problem with serializing
Hi Ed
On Wed, Jun 23, 2010 at 3:18 PM, Grissom, Edward (Ed)
wrote:
> In a previous message, Martin said:
>
>> So my only problem is to avoid concurrent reads from
>> both main thread and worker thread. How can be this
>> best accomplished without serializing the access?
>
> Your reads are eventua
Vajram,
There is no way to refer the pixel value by a color. In fact, a color
can be assigned to muliple pixel values.
You will have to iterate throuh the color entries to look for your color.
On 6/23/10, mail2vajram wrote:
>
> My image having pixel values between 0 to 8(classified image). The
Hi Ari
On Wed, Jun 23, 2010 at 7:32 AM, Ari Jolma wrote:
> Martin,
>
> Just a comment. In Geoinformatica, which uses GTK+, I've begun to address
> the same kind of problem using the functions provided by GTK+. So far I've
> not used this on rendering and I've not thought about all the consequenci
My image having pixel values between 0 to 8(classified image). The following
code is used to read the colors of the image. Here i want know the pixel
value of the specific color.
Band band = ds.GetRasterBand(1);
ColorTable ct = band.GetRasterColorTable();
for