titan writes:I presume you are using indexed color to display your image.
> probably my question is not clear :( and I'm sorry for this.
> I try to explain it better:
> I'm able to read a shapefile from which I'm able to obtain the corresponding image which is a binary one. Then I can extract those subscripts values where the boundary is
> boundary_index = WHERE(boundary_array NE 0)
> my gray scale image has the same dimension of the boundary image and as a consequence I can draw the line over it (in white)
> What I would like to do i to understand if I could draw this line not in white but in another color, for example yellow.
> Is there this possibility?
Simply load your image colors into indices 0 to 254 and
use color index 255 to load whatever color you like.
I would do it like this:
LoadCT, 0, NColors=254
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.