mosaic with multiple background colors

For discussion of LizardTech's geospatial encoding and manipulation software and general discussion of MrSID and JPEG 2000.

Moderator: jskiffington

mosaic with multiple background colors

Postby kramsden » Mon May 11, 2009 8:48 am

I would like to mosaic some tif's but they have two different background colors. Most of them have a black background (0,0,0) but some have a white background (255, 255, 255). Is it possible to select two different background colors so that I can mosaic them all together at once, or should I mosaic one set first and then update the sid with the other set?
Thanks!
Kate
kramsden
 
Posts: 4
Joined: Mon May 11, 2009 8:41 am

Postby rparker » Mon May 11, 2009 3:32 pm

There is no way to set two different background colors. In the end, you will have to change the background of one data set. You can do that in GeoExpress using a shapefile in the Area of Interest tool. Choose the mask outer method and encode with a lossless compression ratio.
rparker
 
Posts: 237
Joined: Tue Jan 15, 2008 3:20 pm
Location: LizardTech

Postby kramsden » Thu May 14, 2009 7:50 am

It took me a few steps to get there, but that worked. Thanks. Do you know if I can combine some of these steps? I ended up creating two different sid mosiacs - one with photos that had a white background and one with black background; encoding the mask on the white background; and then mosaicing the two sids together. It looks fine, but ended up taking a long time to do it that way. I also had to reproject the mosaic that had the mask because of an error I got about not being in the same projection as my shapefile, even though they were and I had defined both coordinate systems in ArcCatalog. Regardless - thanks for the workaround.
Kate
kramsden
 
Posts: 4
Joined: Mon May 11, 2009 8:41 am

Postby rparker » Thu May 14, 2009 11:17 am

GeoExpress 7 has metadata editing capabilities which allow you to define a CRS rather than having to reproject it to define a CRS.

As for combining the process I think it must be done separately since the data background colors are completely different. The mosaic can (and should) only make one color transparent at a time, otherwise you would get undesired results.
rparker
 
Posts: 237
Joined: Tue Jan 15, 2008 3:20 pm
Location: LizardTech


Return to GeoExpress

Who is online

Users browsing this forum: No registered users and 1 guest

cron