Select to view content in your preferred language

1 band raster is displaying complete black color when added to 3 band mosaic raster

1859
7
10-31-2012 01:39 AM
harikumar
Emerging Contributor
Hi,

1 band raster image is displayed completely black when added into 3 band mosaic dataset in File geodatabase.
I am using ArcGIS desktop 10 version with ArcEditor license on windows XP SP3 environment.

Any one has information on how to rectify this problem?

Thanks in advance.

Regards,
Hari.
0 Kudos
7 Replies
MarcinGasior
Frequent Contributor
Why do you want to add 1 band raster to 3 band mosaic dataset?
I've tried to add some DEM to 3 band mosaic and it's not displayed correctly with any settings.

Generally if you want your raster/mosaic is displayed correctly, you should calculate statistics.
It can be done when adding raster do mosaic: in Add Rasters To Mosaic Dataset window, in section Advanced Options select Calculate Statistics.
Other options to calculate statistics is in Raster/Mosaic Dataset Properties in General tab find Statistics property - there you have an option to Build Statistics.
0 Kudos
harikumar
Emerging Contributor
Hi M.Gosiar,

Thanks for reply. I have some image categories into which i need to move multiple/different band types of images into related category.
Created statistics for the added 1 band raster. Still problem exists. After creation of statistics, is there any specific procedure to update for entire dataset or it will be updated automatically ?

~Hari
0 Kudos
JeffreySwain
Esri Regular Contributor
If you add a single band raster to a multiband raster, then you will get bad results as you have seen.  Perhaps you could use the Composite Bands tool and then repeat the 1st band two more times to generate a '3 band' raster, but I think you would have lost what you are looking for in that scenario.  So based on your description, you have a single band classified raster and want to maintain that classification?  Is that your desire?  The mosaic dataset will not necessarily do that.  The attribute table created will have information about the mosaic dataset, but not your custom attribute table.  I would consider other alternatives to transfer the information, because you see your current result will not work. Perhaps you could use a map service and attempt to overlay the two.
0 Kudos
harikumar
Emerging Contributor
Hi Swain,

Thank you verymuch for reply, clarification and advise. I am storing multi-band images into one mosaic raster dataset of file Geodatabase, so map service is not going to be suitable option at present scenario.

Multiband raster storage and correct display is one of the necessary raster functionality to support by GIS softwares like other image processing/GIS softwares do (ERDAS for example)., and we are exclusively committed to use ArcGIS because of other useful functionality in terms of Vector, but some basic mosaic raster functionality support is not available. We have spent more time on this to make it work.

Do you see any other possible options to make it possible ?

Thanking you,

Regards,
Hari.
0 Kudos
JeffreySwain
Esri Regular Contributor
I would not consider adding a 1 band raster to a multiband mosaic 'basic' raster functionality and not being possible. If you try the same process with Imagine or Envi you will likewise get bad output.  The mosaic dataset is built to handle varying spatial resolutions, but you set the bit depth and band combination when you create it.  The rasters you add have to have those minimum requirements. If you created a 1 band mosaic and then added 3 band data, then it will succeed, but you will probably not like the results. You could use 4 band rasters in a 3 band mosaic dataset as well, but will lose access to the 4th band. 

The only workaround would be to create one mosaic with all your single band data and then one with your 3 band data in the same geodatabase if you desire, but not the same mosaic dataset.  If you are trying to create a way to store the data then having the two mosaic datasets in a geodatabase will work.
0 Kudos
harikumar
Emerging Contributor
Hi Swain,

Thanks for reply and suggestion. I dont know about Envi, but i have successfully added multiband images without any display problems in Imagine. Of course, it was purely meant for Imageprocessing.

There was no problems in File geodatabase in suggested method, but many images are present, there will be more mosaic datasets, if we devide them with resolution wise also (mapscale).

Regards,
Hari.
0 Kudos
JeffreySwain
Esri Regular Contributor
You have added a single band raster with a different spatial extent to another raster with a separate spatial extent and not gotten partial or incomplete output?  You can add the bands with the same spatial extent like I described with the Combine bands tool. That is a normal workflow.  Simply using a mosaic dataset to store data in a regionally similar area regardless of the number of bands is not necessarily a good idea. 

When I use Erdas Imagine to add a raster with one band to one with 3 bands, I am confronted with an error message and the process halts. I am not sure how you were able to successfully complete the task. 

[ATTACH=CONFIG]19450[/ATTACH]

However, I would still recommend using the mosaic datasets, but be mindful of the number of bands for good output.
0 Kudos