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

History of Geography.

Chronological sequence and categorized by era and region. I. Introduction & Etymology •  Etymology : The term "Geography" derives from the Greek γεωγραφία (geographia) , meaning "Earth-writing" (description or writing about the Earth). •  First Use : Eratosthenes (276–194 BC) was the first person to use the word. •  Pre-Term Practices : Recognizable geographic practices like cartography (map-making) existed prior to the coining of the term. II. Antiquity & Ancient Civilizations 1. Ancient Egypt (Pre-Classical) •  Cosmology : Ancient Egyptians viewed the Nile as the center of the world, with existence based upon "the" river. •  Geographical Knowledge : •  Oases : Known to the east and west, considered locations of various gods (e.g., Siwa for the god Amon ). •  Kushitic Region : Lay to the south, known as far as the 4th cataract . •  Punt : A region located south a...

Kuhn’s Paradigms

The given content explains Thomas S. Kuhn’s model of scientific development , its application to geography, and criticisms by Karl Popper, Paul Feyerabend, Michel Foucault , and others. 1. Basic Idea Kuhn argued that science does not develop continuously in a straight line . Instead, scientific development occurs through: Preparadigm → Paradigm → Normal Science → Crisis → Scientific Revolution → New Paradigm A new paradigm may replace an older one, producing a major change in the way scientists understand and study a subject. Concepts and Terminologies Concept / Term Simple Meaning Paradigm A commonly accepted framework/model that guides scientific research Exemplar A successful concrete problem-solution used as a model for future research Disciplinary Matrix Shared beliefs, values, concepts, methods and techniques of a scientific community Preparadig...

Models and Theories in Geography

Geographical Models A model is a simplified representation of reality used to describe, explain, simulate, and predict geographical phenomena. Types Physical (Iconic) Models – Three-dimensional representations (e.g., globe, relief model). Conceptual Models – Diagrams or frameworks explaining geographical relationships. Mathematical (Quantitative) Models – Equations and statistical models for spatial analysis and prediction. Simulation Models – Computer-based models that simulate geographical processes (e.g., climate, flood, urban growth). Major Geographical Models Model Scholar Year Concept Johann Heinrich von Thünen Agricultural Land Use Model 1826 Land use varies with distance from the market. Walter Christaller Central Place Model 1933 Distribution of settlements and services. Ernest Burgess Concentric Zone M...

Building Topology in GIS, Data Query in GIS, Geoprocessing and Automation in GIS

A Geographic Information System (GIS) is more than a digital mapping tool. It is a comprehensive system for capturing, storing, managing, analysing, querying, and visualising spatial (geographic) and non-spatial (attribute) data . To maintain accurate spatial data and perform advanced analyses, GIS relies on three important concepts: Building Topology Data Query Geoprocessing and Automation These concepts ensure data integrity, efficient data retrieval, and automated spatial analysis , making GIS an indispensable tool in geography, environmental science, urban planning, disaster management, transportation, agriculture, and resource management. 1. Building Topology in GIS Topology is the mathematical and logical framework that defines the spatial relationships between geographic features such as points, lines, and polygons. It ensures that spatial data maintain correct geometric relationships even after editing or analysis. Simple Definiti...

SPACE → PLACE → ENVIRONMENT → INTERCONNECTION → SUSTAINABILITY → SCALE → CHANGE → LANDSCAPES

SPACE → PLACE → ENVIRONMENT → INTERCONNECTION → SUSTAINABILITY → SCALE → CHANGE → LANDSCAPES This sequence explains how geographers think: Where things are ( Space ), What makes locations unique ( Place ), What surrounds them ( Environment ), How they are connected ( Interconnection ), How they can be protected ( Sustainability ), At what level they are studied ( Scale ), How they change over time ( Change ), And how nature and humans shape the Earth's surface ( Natural and Cultural Landscapes ) Geographical Concept Major Contributor(s) Contribution Space Immanuel Kant, Fred K. Schaefer, David Harvey Kant viewed geography as the science of space. Schaefer emphasized spatial science, while Harvey explained spatial organization and spatial justice. Place Yi-Fu Tuan, Edward Relph De...