Skip to main content

Neighbourhood Operations

 Neighbourhood Operations in GIS?

In GIS and raster data, neighbourhood operations look at a group of nearby pixels (not just one) to understand or change a pixel's value.
Think of it like checking what's around a house before deciding what color to paint it!

Why "Neighbourhood"?

Each pixel has "neighbours" (just like how your house has nearby houses).
Neighbourhood operations check these nearby pixels and do some calculation to get a new value.

1. Aggregations (Summarizing Nearby Values)

Aggregation means combining values of several pixels into one.
We do this to:

  • Find the average of surrounding pixels

  • Find the minimum or maximum value

  • Smooth the map (make it less rough)

🧒🏻 Example: Imagine checking the test scores of 9 students sitting around you and finding the average score. That's aggregation!

 2. Filtering Techniques

Filtering is used to improve or highlight features in a raster image, just like filters on Instagram or Snapchat!

There are two main types:

a. Low Pass Filter (Smoothing Filter)

This filter smooths the image by removing sharp edges or noise.

  • It takes the average of surrounding pixels.

  • Used to make maps look cleaner and softer.

🧒🏻 Example: Blurring a photo to hide pimples. The map becomes "soft".

b. High Pass Filter (Sharpening Filter)

This filter sharpens the image and highlights edges or sudden changes.

  • It enhances details like roads, rivers, or building edges.

  • It shows where things change quickly.

🧒🏻 Example: Making a photo sharper so you can see your hair strands clearly!

 3. Edge Enhancement

This is used to highlight the edges (boundaries) between different features on a map.

  • It helps us see where one land type ends and another begins.

  • Useful for detecting boundaries, like the edge of a forest or a building.

🧒🏻 Example: Drawing dark outlines around cartoon characters to make them stand out.


TermMeaning (Simple)Example
AggregationCombines nearby values (average, max, min)Avg test marks of nearby friends
Low Pass FilterSmooths the map, reduces noiseBlurring a photo
High Pass FilterSharpens details, highlights edgesMaking a photo clearer
Edge EnhancementHighlights boundaries between featuresOutlining shapes in a drawing


Comments

Popular posts from this blog

History of GIS

The history of Geographic Information Systems (GIS) is rooted in early efforts to understand spatial relationships and patterns, long before the advent of digital computers. While modern GIS emerged in the mid-20th century with advances in computing, its conceptual foundations lie in cartography, spatial analysis, and thematic mapping. Early Roots of Spatial Analysis (Pre-1960s) One of the earliest documented applications of spatial analysis dates back to  1832 , when  Charles Picquet , a French geographer and cartographer, produced a cholera mortality map of Paris. In his report  Rapport sur la marche et les effets du choléra dans Paris et le département de la Seine , Picquet used graduated color shading to represent cholera deaths per 1,000 inhabitants across 48 districts. This work is widely regarded as an early example of choropleth mapping and thematic cartography applied to epidemiology. A landmark moment in the history of spatial analysis occurred in  1854 , when  John Snow  inv...

GIS data continuous discrete ordinal interval ratio

In Geographic Information Systems (GIS) , data is categorized based on its nature (discrete or continuous) and its measurement scale (nominal, ordinal, interval, or ratio). These distinctions influence how the data is collected, analyzed, and visualized. Let's break down these categories with concepts, terminologies, and examples: 1. Discrete Data Discrete data is obtained by counting distinct items or entities. Values are finite and cannot be infinitely subdivided. Characteristics : Represent distinct objects or occurrences. Commonly represented as vector data (points, lines, polygons). Values within a range are whole numbers or categories. Examples : Number of People : Counting individuals on a train or in a hospital. Building Types : Categorizing buildings as residential, commercial, or industrial. Tree Count : Number of trees in a specific area. 2. Continuous Data Continuous data is obtained by measuring phenomena that can take any value within a range...

History of GIS

1. 1832 - Early Spatial Analysis in Epidemiology:    - Charles Picquet creates a map in Paris detailing cholera deaths per 1,000 inhabitants.    - Utilizes halftone color gradients for visual representation. 2. 1854 - John Snow's Cholera Outbreak Analysis:    - Epidemiologist John Snow identifies cholera outbreak source in London using spatial analysis.    - Maps casualties' residences and nearby water sources to pinpoint the outbreak's origin. 3. Early 20th Century - Photozincography and Layered Mapping:    - Photozincography development allows maps to be split into layers for vegetation, water, etc.    - Introduction of layers, later a key feature in GIS, for separate printing plates. 4. Mid-20th Century - Computer Facilitation of Cartography:    - Waldo Tobler's 1959 publication details using computers for cartography.    - Computer hardware development, driven by nuclear weapon research, leads to broader mapping applications by early 1960s. 5. 1960 - Canada Geograph...

Platforms in Remote Sensing

In remote sensing, a platform is the physical structure or vehicle that carries a sensor (camera, scanner, radar, etc.) to observe and collect information about the Earth's surface. Platforms are classified mainly by their altitude and mobility : Ground-Based Platforms Definition : Sensors mounted on the Earth's surface or very close to it. Examples : Tripods, towers, ground vehicles, handheld instruments. Applications : Calibration and validation of satellite data Detailed local studies (e.g., soil properties, vegetation health, air quality) Strength : High spatial detail but limited coverage. Airborne Platforms Definition : Sensors carried by aircraft, balloons, or drones (UAVs). Altitude : A few hundred meters to ~20 km. Examples : Airplanes with multispectral scanners UAVs with high-resolution cameras or LiDAR High-altitude balloons (stratospheric platforms) Applications : Local-to-regional mapping ...

Disaster Management

1. Disaster Risk Analysis → Disaster Risk Reduction → Disaster Management Cycle Disaster Risk Analysis is the first step in managing disasters. It involves assessing potential hazards, identifying vulnerable populations, and estimating possible impacts. Once risks are identified, Disaster Risk Reduction (DRR) strategies come into play. DRR aims to reduce risk and enhance resilience through planning, infrastructure development, and policy enforcement. The Disaster Management Cycle then ensures a structured approach by dividing actions into pre-disaster, during-disaster, and post-disaster phases . Example Connection: Imagine a coastal city prone to cyclones: Risk Analysis identifies low-lying areas and weak infrastructure. Risk Reduction includes building seawalls, enforcing strict building codes, and training residents for emergency situations. The Disaster Management Cycle ensures ongoing preparedness, immediate response during a cyclone, and long-term recovery afterw...