From: vit reddy on
how are bands extracted from a remote sensed image...??
From: ImageAnalyst on
On Feb 16, 3:05 pm, "vit reddy" <vkarthikredd...(a)gmail.com> wrote:
> how are bands extracted from a remote sensed image...??

I suppose it depends on how they're stored. Maybe you can read one
band out of a disk file using a special reader for remote sensing
images. If you already have a multispectral array in MATLAB, then you
can pull out different bands like this:

% Read in standard MATLAB demo image.
rgbImage = imread('peppers.png');
redPlane = rgbImage(:, :, 1);
greenPlane = rgbImage(:, :, 2);
bluePlane = rgbImage(:, :, 3);
From: Walter Roberson on
vit reddy wrote:
> how are bands extracted from a remote sensed image...??

By using one of the pre-written library functions that know the file format
details specific to that sensor -- file format details which might be pretty
obscure but *probably* haven't changed in the time since several people
already answered this question for you when you posted it before.

**There. Is. No. Single. Remote. Sensor. File. Format.**

**Remote. Sensors. Sometimes. Use. Non-Standard. Numeric. Representations.**
(Or messy representations instead of IEEE-754 formats.)