Skip to main content

Contrast manipulation

Contrast stretching is a common image enhancement technique in remote sensing used to improve the visual quality and interpretability of satellite or aerial imagery. It involves expanding the range of pixel values in an image, typically by remapping the original values to a new range. This process enhances the visual contrast between different features in the image.


1. Linear Contrast Stretching:

   Linear contrast stretching is the simplest form of contrast stretching. It involves applying a linear transformation to the pixel values in the image. The transformation stretches the original range of pixel values to a new range. This is typically done using the following formula for each pixel in the image:

   

   NewPixelValue = (OriginalPixelValue - MinOriginalValue)  (NewMaxValue - NewMinValue) / (MaxOriginalValue - MinOriginalValue) + NewMinValue


   - `OriginalPixelValue` is the value of the pixel in the original image.

   - `MinOriginalValue` and `MaxOriginalValue` are the minimum and maximum pixel values in the original image.

   - `NewMinValue` and `NewMaxValue` are the desired minimum and maximum values for the stretched image.


   Linear contrast stretching can improve the overall brightness and contrast of the image.


2. Nonlinear Contrast Stretching:

   Nonlinear contrast stretching is more advanced and allows for greater flexibility in enhancing specific image features. Unlike linear stretching, it involves applying a nonlinear transformation to the pixel values. Various functions, such as logarithmic, power-law, or histogram equalization, can be used for this purpose.


   - Logarithmic Stretching: This method enhances the lower end of the pixel value range more than the higher end, which can be useful for revealing details in dark areas of the image.


   - Power-law (Gamma) Stretching: It allows you to control the degree of stretching using a parameter called the gamma value. A higher gamma value increases the contrast in brighter areas, while a lower gamma value increases contrast in darker areas.


   - Histogram Equalization: This technique redistributes the pixel values in such a way that the cumulative distribution function of the image becomes more uniform. It can enhance local contrast and reveal fine details.


Nonlinear contrast stretching methods are often preferred when specific image features need to be emphasized or when there are non-uniform lighting conditions in the image. The choice between linear and nonlinear stretching depends on the characteristics of the image and the objectives of the analysis in remote sensing applications.

Comments

Popular posts from this blog

Accuracy Assessment

Accuracy assessment is the process of checking how correct your classified satellite image is . 👉 After supervised classification, the satellite image is divided into classes like: Water Forest Agriculture Built-up land Barren land But classification is done using computer algorithms, so some areas may be wrongly classified . 👉 Accuracy assessment helps to answer this question: ✔ "How much of my classified map is correct compared to real ground conditions?"  Goal The main goal is to: Measure reliability of classified maps Identify classification errors Improve classification results Provide scientific validity to research 👉 Without accuracy assessment, a classified map is not considered scientifically reliable . Reference Data (Ground Truth Data) Reference data is real-world information used to check classification accuracy. It can be collected from: ✔ Field survey using GPS ✔ High-resolution satellite images (Google Earth etc.) ✔ Existing maps or survey reports 🧭 Exampl...

Change Detection

Change detection is the process of finding differences on the Earth's surface over time by comparing satellite images of the same area taken on different dates . After supervised classification , two classified maps (e.g., Year-1 and Year-2) are compared to identify land use / land cover changes .  Goal To detect where , what , and how much change has occurred To monitor urban growth, deforestation, floods, agriculture, etc.  Basic Concept Forest → Forest = No change Forest → Urban = Change detected Key Terminologies Multi-temporal images : Images of the same area at different times Post-classification comparison : Comparing two classified maps Change matrix : Table showing class-to-class change Change / No-change : Whether land cover remains same or different Main Methods Post-classification comparison – Most common and easy Image differencing – Subtract pixel values Image ratioing – Divide pixel values Deep learning methods – Advanced AI-based detection Examples Agricult...

Development and scope of Environmental Geography and Recent concepts in environmental Geography

Environmental Geography studies the relationship between humans and nature in a spatial (place-based) way. It combines Physical Geography (natural processes) and Human Geography (human activities). A. Early Stage 🔹 Environmental Determinism Concept: Nature controls human life. Meaning: Climate, landforms, and soil decide how people live. Example: People in deserts (like Sahara Desert) live differently from people in fertile river valleys. 🔹 Possibilism Concept: Humans can modify nature. Meaning: Environment gives options, but humans make choices. Example: In dry areas like Rajasthan, people use irrigation to grow crops. 👉 In this stage, geography was mostly descriptive (explaining what exists). B. Evolution Stage (Mid-20th Century) Environmental problems increased due to: Industrialization Urbanization Deforestation Pollution Geographers started studying: Environmental degradation Resource management Human impact on ecosystems The field became analytical and problem-solving...

Geographic phenomena fields objects boundaries.

In geography, geographic phenomena refer to features or processes that can be observed and studied on Earth's surface. These phenomena can be classified into three main categories: fields , objects , and boundaries . Each category has distinct characteristics, representations, and applications in Geographic Information Systems (GIS). 1. Fields A field represents continuous, spatially varying data where a value is present at every location within the study area. It describes conditions that exist across a geographic area. Characteristics : Continuity : Fields have no discrete boundaries; the data is continuous. Gradual Variability : The values of a field change gradually across space. Representation : Typically modeled using raster data in GIS, where a grid structure assigns a value (e.g., temperature or elevation) to each cell. Examples : Temperature Map : Shows temperature variation across a region. Rainfall Distribution : Displays rainfall levels over a large g...

Landsat 8 Band designation and Band Combination.

Landsat 8 Band designation and Band Combination.  Landsat 8-9 Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) Bands Wavelength (micrometers) Resolution (meters) Band 1 - Coastal aerosol 0.43-0.45 30 Band 2 - Blue 0.45-0.51 30 Band 3 - Green 0.53-0.59 30 Band 4 - Red 0.64-0.67 30 Band 5 - Near Infrared (NIR) 0.85-0.88 30 Band 6 - SWIR 1 1.57-1.65 30 Band 7 - SWIR 2 2.11-2.29 30 Band 8 - Panchromatic 0.50-0.68 15 Band 9 - Cirrus 1.36-1.38 30 Band 10 - Thermal Infrared (TIRS) 1 10.6-11.19 100 Band 11 - Thermal Infrared (TIRS) 2 11.50-12.51 100 Vineesh V Assistant Professor of Geography, Directorate of Education, Government of Kerala. https://www.facebook.com/Applied.Geography http://geogisgeo.blogspot.com