Questions tagged [image-segmentation]

Image segmentation is the process of dividing an image into multiple regions (clusters or sets of pixels), based on some criterion.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

LSMS Segmentation OTB

How can I change the directory of the created file during Large Scale Mean Shift Segmentation (OTB) in QGIS. QGIS version: 3.28.4-Firenze QGIS code revision: fd0fb72ab3 Qt version: 5.15.3 Python ...
user237394's user avatar
0 votes
0 answers
35 views

Large Scale Mean Shift Segmentation OTB QGIS

Why are so many files will be created on the desktop while I process the Large Scale Mean Shift segmentation in QGIS even though my output directory is already set?
user237717's user avatar
0 votes
0 answers
23 views

Extract images of sand dunes migration from 1st January 2021 to 20th December 2023 through Landsat9

I'm seeking to extract images depicting the migration of sand dunes between January 1, 2021, and December 20, 2023, utilizing Landsat 9 data. While attempting to retrieve this information using the ...
AKD's user avatar
  • 1
0 votes
0 answers
58 views

Large number of polygons to plot on Folium map

I've got a Geopandas Dataframe (polygon_df) that looks like the one below, these Polygons were created by a Yolo segmentation algorithm. Each line in the DataFrame represents a segmented group of ...
wodank's user avatar
  • 1
1 vote
0 answers
322 views

Segment Anything Model on ArcGIS Pro

I downloaded Meta's Segment Anything Model (SAM) and the needed deep learning libraries for ArcGIS Pro 3.1. I then added the Sentinel-2 image with 10 meters resolution, with 3 bands (B3, B4 and B8), 8-...
Viviane Santos's user avatar
0 votes
0 answers
108 views

I am trying to run OTB segmentation and I am getting output polygons that are too big

I am running segmentation in QGIS Orfeo Toolbox on a MacBook pro. The first few times I ran segmentation, the results were satisfactory (the image was segmented with many small polygons). When I tried ...
Kurtis's user avatar
  • 1
0 votes
0 answers
54 views

FeatureCollection (Error) Array: Max (NaN) cannot be less than min (NaN)

I am trying to do Object base Image classification, but my code giving me this error, I tried to fix it but nothing worked. This is an error, "FeatureCollection (Error) Array: Max (NaN) cannot be ...
Muhammad Waqas's user avatar
0 votes
0 answers
125 views

Error: Computation timed out. (Error code: 3)

I am trying to perform Object base Image Classification, but it giving me this error, "Error: Computation timed out. (Error code: 3)". I tried to change the scale but this also not worked. ...
Muhammad Waqas's user avatar
0 votes
1 answer
34 views

How to accurately isolate Europe from a rasterised world map image

There is a World Map of Autumnal UV provided for educational purposes by Nina Jablonski (created by George Chaplin) that I want to analyse. In particular, I want to use Python to statistically analyse ...
A Dark Divided Gem's user avatar
0 votes
1 answer
179 views

Google Earth Engine SNIC Segmentation tilescale error

I am very new to Google Earth Engine and object based image analysis. First of all, I am trying to do image segmentation using the SNIC algorithm. This is my code and I got " Tile error: Output ...
user217304's user avatar
1 vote
0 answers
26 views

Apply single label image classification in Google Earth Engine

I am trying to apply single label image classification in Google Earth Engine in the context of Bragg Scattering. What I'm trying to do comes down to the following: Assign a single label (e.g. Bragg ...
Cato van Meurs's user avatar
2 votes
0 answers
178 views

Properly configure image segmentation on QGIS (Segmentation / MeanShift)

I'm trying to perform remote sensing on georeferenced historical satellite images (taken from Google Earth), using the segmentation algorithm from OTB. In the parameters of the Segmentation algorithm, ...
Giene's user avatar
  • 669
0 votes
0 answers
33 views

QGIS - OTB Segmentation - Remove artifacts

I'm using the algorithms from OTB, to segment and perfom remote sensing on mangrove areas. The idea here is to delineate mangrove cover from different satelite images and, later, compare mangrove ...
Giene's user avatar
  • 669
0 votes
1 answer
95 views

In remote sensing and image processing what does the term "spectral domain" mean?

In remote sensing and image processing what does the term "spectral domain" mean? How could this be understood in an image segmentation context? In an article on segmentation of satellite ...
wesleysc352's user avatar
1 vote
1 answer
288 views

Keeping scale consistency with SNIC algorithm in GEE

This is more of a theoretical question about scale when using the SNIC algorithm in GEE. I'm doing an object-based classification in GEE using the SNIC algorithm and then random forest to classify the ...
frib's user avatar
  • 11
0 votes
1 answer
206 views

Make each pixel value display a different color in a shapefile

[TLDR] I am working on converting a segmentation model output into a shapefile that can be added as a layer on a map. I was hoping to find how to make each pixel value have a different color instead ...
Ike Nna's user avatar
0 votes
0 answers
67 views

Create new shapefile layer per raster layer

In QGIS i have several hundreds raster tiles. For a deep learning application i would like to create segementation masks. To achieve this, my approach is to make a new shapefile, create the polygon ...
Milap's user avatar
  • 25
1 vote
1 answer
347 views

Orfeo Toolbox on Mac

I managed to install OTB 8.0.1 in QGIS 3.22 on Mac using a comment on this community. However, the plugin is not working when I try to use "Segmentation". The process tells something like ...
Chi's user avatar
  • 21
1 vote
1 answer
175 views

Selecting a specific land cover type based on colors in GEE

I want to select a specific land cover type in a land cover map obtained from the GEE dataset. Because I know the corresponding hex colour code, I tried the colour code as a condition to filter the ...
JB Shin's user avatar
  • 11
2 votes
1 answer
99 views

How to classify tree cover overlapping roofs in eCognition

This might be a fairly simple question, but I'm new to eCognition. I'm using Developer 10.2. For canopy that overlaps rooftops, I need to define these areas as separate objects and classify as canopy. ...
Anna Riling's user avatar
1 vote
1 answer
163 views

Does GRASS's i.segment use all bands of data in a GeoTiff?

I'm trying to understand more about how the i.segment algorithm works. Most importantly, does it use all of the available bands in an image? The documentation notes you must specify a group. When I ...
Nick Brady's user avatar
0 votes
1 answer
198 views

Orfeo Toolbox segmentation - increasing n segments

I'm checking out the parameters for Orfeo's Segmentation tool and I'd like to know how to increase the number of segments that are output in the vector output. https://www.orfeo-toolbox.org/CookBook/...
hmnoidk's user avatar
  • 689
0 votes
1 answer
871 views

Object-Oriented LULC Classification in Google Earth Engine

I am testing a object-oriented LULC classification approach in Google Earth Engine, using the code available at the following link: https://code.earthengine.google.com/4032fe102252b285ec249f395d0d6d0f....
Hercilo's user avatar
  • 51
2 votes
1 answer
313 views

nDSM tree detection using scipy watershed

I am trying to generate segments with single trees in a normalized surface model (nDSM). I tried using scipy.ndimage to achieve this, but the segmentation results are not precise. I would like a ...
raphael's user avatar
  • 31
1 vote
1 answer
2k views

Image Segmentation and Classification with Google Earth Engine

I'm new to using Google Earth Engine and I obtained the following code from Medium and tried to update it with the AOI and training data for my specific area. I am trying to classify landcover for an ...
Stephen's user avatar
  • 21
1 vote
1 answer
237 views

Using GRASS i.segment in Python 3 stand alone script on Windows10

I installed GRASS GIS 7.8.1 on Windows 10 using a OSGeo4W. I would like to use in a stand alone Python 3 script the i.segment GRASS tool. I saw some related questions (e.g., Using GRASS GIS in Python ...
user88484's user avatar
  • 1,769
1 vote
1 answer
976 views

Image Segmentation tiff files for Object Detection

I have tiff files generated fro 12 bands of sentinel-2a data. I want to label each pixel of the tiff files as belonging to copper mine or normal. After labelling I want the image format to stay as it ...
user2777's user avatar
0 votes
1 answer
56 views

How to estimate overlap of certain pixel colors in a raster image and a linestring shape added on top of it?

I am trying to calculate how much of the electric feeders exist underneath tree covers. I am using NAIP infrared satellite imagery and have a shp file for a feeder circuit. Like so: I need to find ...
KuboAndTwoStrings's user avatar
1 vote
0 answers
311 views

eCognition export samples as a shapefile problem

I need sample shapefile for the other project but when I try to export it, it gives me an error like domain is empty(no images object available). How can I get the samples as shapefile?
geomatics's user avatar
2 votes
1 answer
58 views

Scene boundary issue when reducing sentinel 1 in natural values vs dB

I have written a function that smooths sentinel 1 images by reducing across clusters created from a sentinel 2 median image, and then reduces the sentinel 1 collection to the p5 value. When I run the ...
LucyP's user avatar
  • 21
0 votes
1 answer
4k views

Applying less than and greater than threshold in image segmentation in Google Earth Engine

I am trying to segment the images based on the threshold values. For instance, I want to put a threshold range between > 800 and < 1200, but with my existing code in Google Earth Engine, I can ...
SWAT's user avatar
  • 131
0 votes
0 answers
1k views

ArcGIS Pro Classify Raster Failure ERROR 002834

I am trying to run the Classify Raster tool in ArcGIS Pro 2.5 using an .ecd file generated from the ISO Classifier tool. I am using a composite of Sentinel bands run through the PCA tool and an ...
a.malhotra's user avatar
1 vote
1 answer
533 views

Using thematic layer to restrict segmentation and classification in eCognition [duplicate]

This question has been asked before as Using thematic layer for segmentation in eCognition?. However, I have not been able to resolve the issue using the answer provided. Can someone clarify the ...
sarah's user avatar
  • 21
0 votes
1 answer
558 views

Orfeo Toolbox error

I'm using segmentation (mean-shift) tool in Orfeo Toolbox with QGIS I used a subset of pansharpened image from Worldview3 after orthorectification. But, I got same error whenever I tried: 2020-07-02 ...
Doyoon Kim's user avatar
1 vote
1 answer
2k views

Earth Engine, how to convert 0 pixel values to transparent or nodata?

I'm using the following snippet to convert canny edges to black and white to highlight boundaries. However, I want to fill the black area with transparent or NODATA, is there a way to do this in EE? ...
Jaskaran Singh Puri's user avatar
0 votes
0 answers
290 views

Extract house and road using image Google Earth

where I live does not have gis data, only images from google earth, so I want to take advantage of this image to build gis data,it is local's road, river and house. I am a beginner with this job. I ...
User0AB's user avatar
  • 111
1 vote
1 answer
93 views

How to preprocess Bing Singleband Satellite image for eliminating different exposure tiles problem

I have used around 200 sqkm high resolution single band colour Bing image for object based image analysis on ecognition developer. But due to different tile based exposure made it worse to classify. ...
Bappa's user avatar
  • 33
0 votes
1 answer
382 views

How to run multi level segmentation for LULC in process tree, eCognition software

Can we run the eCognition multi level (level 1 ,level 2,...) segmentation and classification in the same process tree? I want different outputs to show for each levels in a process tree. I'm in the ...
samyuktha nikkala's user avatar
3 votes
1 answer
9k views

Pixel coordinate to world coordinates using Python

I have developed a semantic segmentation method to map certain objects in aerial imagery. Throughout this project I download pictures (4800x4800 pxs) where I know the min_x, min_y, max_x and max_y in ...
inneb's user avatar
  • 165
2 votes
0 answers
407 views

Use edge detection to segment images

I have an RGB from which I detected the edges and I'm curious if I can use it to optimize a segmentation or as a mask to improve the segmentation to identify cultivated fields. Could you do that? If ...
vins_26's user avatar
  • 443
6 votes
1 answer
1k views

Extracting tree stems from LiDAR point clouds using 'bottom-up' approach

Let me preface by recognizing that there are some previous questions that are related but different than mine because they are focused specifically on tree crowns rather than stems here and here. I ...
Kartograaf's user avatar
  • 2,872
2 votes
1 answer
5k views

Creating a shapefile from a numpy array

I was following this tutorial: http://www.acgeospatial.co.uk/k-means-sentinel-2-python/ on how to generate an unsupervised classification for sentinel-2 images. img_ds = gdal.Open('data/products/...
J. Esteban Castillo's user avatar
3 votes
1 answer
462 views

Higher spectral and spatial detail for high-resolution images using ArcGIS Pro Image Segmentation

I was watching a video regarding image segmentation in ArcGIS Pro 2.4.0. It was an ESRI event (2018), so the presenters were ESRI employees. Here's the video I am referring to: https://www.youtube.com/...
ihb's user avatar
  • 483
0 votes
1 answer
318 views

Could not create GDALDataset

I'm doing several segmentation tests between satellite and drone images with rsgislib. On the satellite images I had no problem but when I try the drone images the following error appears after the ...
vins_26's user avatar
  • 443
1 vote
1 answer
3k views

Extracting the least area image around a Shapely polygon, with rotation allowed

I have a Shapely polygon polygon_geom = shapely.wkt.loads(feat['wkt']) such as: I can map it onto an image polygon_pts = np.array(list(polygon_geom.exterior.coords)) plt.imshow(img_array_pre) ...
Lars Ericson's user avatar
2 votes
2 answers
1k views

Object-based Classification in Orfeo ToolBox

I have a multispectral camera with 5 bands (r, g, b, red edge, NIR) and I would like to classify plants object based with Orfeo ToolBox. I am flying with the drone close to the plants and have an ...
Hardau's user avatar
  • 101
1 vote
1 answer
61 views

arcpy.sa.SegmentMeanShift() Creates segments with values outside of the range of original raster (stretched?)

I'm using arcpy.sa.SegmentMeanShift() to produce a segmented raster in ArcGIS 10.7.1. The segments in the output raster have values outside the range of values (1 to 248) in the input raster (-22 to ...
Son of a Beach's user avatar
4 votes
2 answers
4k views

Is Google Earth Engine SNIC Segmentation algorithm inconsistent?

I have been using GEE for about a month now and I ran into some issue I am trying to use OBIA classification based on this presentation by Sai Cheemalapati, EEAI 2019. The main problem is when I ...
Wakeme UpNow's user avatar
2 votes
0 answers
107 views

Segmentation in OTB gives blank rectangle as output

I am trying to segment a raster image to get a vector output. I am using OTB 6.6.1 in QGIS 3.4. In the segmentation window, I selected the input raster which is a 3 band (true colour) sentinel 2 image ...
Gopalakrishnan B's user avatar
1 vote
0 answers
75 views

Selecting certain segments when creating training set for classification in ArcGIS?

I am trying to classify an RGB image in ArcGIS 10.7. When I try to use the 'select segment' option to create a training set I am allowed to pick only certain segments to add to my training set. For ...
Sabrina Martinez's user avatar