% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rgb_basic.R
\name{rgb_basic}
\alias{rgb_basic}
\title{Basic RGB indices}
\usage{
rgb_basic(image)
}
\arguments{
\item{image}{A RasterBrick or RasterStack object with three bands (R, G, B).}
}
\value{
A RasterStack object with seven layers:
\itemize{
  \item R, G, B: Original red, green, and blue bands
  \item r, g, b: Normalized RGB indices
  \item INT: Intensity component (mean of R, G, B)
}
}
\description{
Computes basic RGB indices including normalized red (r), green (g),
blue (b), and intensity (INT) from an RGB image.
}
\examples{
set.seed(123)
r <- raster::raster(matrix(runif(50*50), 50, 50))
g <- raster::raster(matrix(runif(50*50), 50, 50))
b <- raster::raster(matrix(runif(50*50), 50, 50))
img <- raster::stack(r, g, b)
rgb_basic(img)

}
