Questions tagged [image-segmentation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Semantic segmentation in high-resolution images with high variance - cannot avoid underfitting

I am working on a dataset of 2K images for a semantic segmentation problem. I want to detect and localize small objects, with the smallest mask to be 5x5 pixels. The images include 5 different ...
0
votes
1answer
22 views

Creating parallel keras layers

I am new to Keras and ML and I want to create a NN that can seperate a bitmap-like image into its visual components. My approach is to feed a two dimensional image (lets say 8 by 8 pixels) into a NN, ...
1
vote
1answer
15 views

Photorealistic synthetic data for object segmentation

Let's say that we have a very small labelled dataset for instance segmentation and there is a photorealistic physics engine available that can produce synthetic data for us. Looking on the web I haven'...
0
votes
0answers
9 views

Changing order of input dimension in Tensorflow 3-D Layers

According to the official documentation of tf.keras.layers.Conv3D 5+D tensor with shape: batch_shape + (channels, conv_dim1, conv_dim2, conv_dim3) if data_format='channels_first' or 5+D tensor with ...
1
vote
1answer
81 views

What is Deep learning approach to count the number of Diamonds in an image?

I am working on a project which involves counting the number of diamonds in the provided image. I have a set of images and a VIA annotated .json file which has all the annotations. How do I proceed ...
0
votes
0answers
19 views

Agglomerative Hierarchical Clustering on Images

My goal is to implement the agglomerative hierarchical clustering algorithm on an RGB image to cluster every pixel until some stopping criteria is reached. In order to do so, I assumed that each pixel ...
0
votes
0answers
10 views

Semantic segmentation to instance segmentation

Having a mask from semantic segmentation I want to split it to list of non-overlapping instances masks(like an output from instance segmentation). Do you know some fast algorithm, approach, tool or ...
1
vote
1answer
24 views

What do the parameters used in crop mean?

When we have an image to be used as an input to a CNN and we want to classify only part of the image, we usually feed the classifier with a crop of the image. Lets say my image is called frame and <...
0
votes
0answers
9 views

I have no access to gpu due to usage limits?

I start running my code using google colab I first set the execution to GPU and then I run my code for a training task using keras !after 1 hour I got a message saying I can't use GPU due to usage ...
0
votes
0answers
17 views

Implementing Multiclass Dice Loss Function

I am doing multi class segmentation using UNet. My input to the model is HxWxC and my output is, ...
0
votes
0answers
11 views

Satellite Change Segmentation using Unet

Hi StackExchange community I am working on to train a Unet for satellite change segmentation. My dataset consists of images(before change),images(after change) and the corresponding change ...
0
votes
0answers
7 views

How to generate fixed number of superpixels?

A lot of work regarding Graph Neural Networks require fixed number of nodes. In the case of image processing using graph, the image representation is often super pixels (like in this work https://...
1
vote
0answers
56 views

How do you deal with variable input sizes with an encoder-decoder net with skip connections in Keras?

I am currently getting into image segmentation with Keras, and I am using an encoder-decoder type as in the image below. My problem is that applying a MaxPooling2D ...
0
votes
0answers
12 views

Loss function to compare non binary segmentation

I need to compare two images corresponding to landmark locations. I was thinking of something related to Dice loss. I cannot use dice loss since the image is not binary. The background is black but ...
1
vote
1answer
33 views

Tool for annotation of images for semantic segmentation

I have been searching around for a software tool, that I can use for annotating images. More specifically I want to do annotation to be used for semantic segmentation, meaning I want to create masks. ...
1
vote
1answer
35 views

Normalization of CT scans

I trained an infection segmentation models on a large dataset of CT scans, and want to extend it to other datasets to show the ability of the model to generalize. What I found though, is that CT scans ...
1
vote
0answers
21 views

Ways of calculating the area of colored regions in a map

Background I am a PHD student trying to improve my data science. One of my research projects, has me tasked with determining the size of the clusters in a colored image of regions. Here is an example ...
0
votes
0answers
22 views

loss function for multi-label segmentation with class inbalance

In order to use a binary segmentation loss function in a multi label problem, I would like to permute the batch axis with the channel axis in the loss computation in order to compute the loss by ...
0
votes
0answers
9 views

How to Convolve a High-Res Image by a (fully convolutional) CNN kernel?

My CNN is an extremely simple neural network. ...
0
votes
0answers
17 views

IOU and dice_coef exceed 100% in multi task learning

Im doing a multi task learning for road and center line extraction (2 classes) I used IOU and dice_coef as a metrics : ...
1
vote
1answer
52 views

Extremely stochastic validation loss/accuracy

I am working on training DNNs on satellite data. The class distribution in the data is extremely imbalanced, so I train the neural networks using random majority undersampling to artificially balance ...
1
vote
1answer
260 views

How can I use my own dataset for Image segmentation using Tensorflow

I have a huge problem using my own created dataset for image segmentation using Tensorflow. The dataset that I've build contain images like the one shown below: The problem that I have is: How do I ...
0
votes
1answer
42 views

For semantic sementation, why am I getting better loss values with binary cross entropy than dice coef?

I'm learning all related to data science and how to train U-Net to do semantic segmentation. I have a U-NET with this loss function: ...
0
votes
0answers
16 views

Model selection Tensorflow for custom dataset comparing panoramic images vs regular images (Image segmentation)

I have a question regarding the use of a specific model such as Deeplab and how to create a custom dataset for it. Background To give a bit of background info, I want to compare panoramically stitched ...
0
votes
0answers
14 views

Why it is reshaped the last layers of VGG_UNet segmentation model?

I want to do a multiclass segmentation task using deep learning (in python). Here, is a summary of vgg_unet model that is mainly collected from GitHub. So, in my dataset 8 labels are available. So, at ...
0
votes
0answers
14 views

Is it possible to create a 3d to 2d U-net?

I was curious if it is possible to create a U-net type architecture that takes in a 3d image and outputs a 2d image? Or, alternatively, would some other architecture be better suited for this problem? ...
0
votes
1answer
9 views

Which colour channel from a TIFF image do I have to use?

I'm going to use the following dataset to do semantic segmentation with U-Net network. LGG Segmentation Dataset This dataset contains brain MR images together with manual FLAIR abnormality ...
1
vote
1answer
42 views

Multiple output size in neural network

In the paper "A NOVEL FOCAL TVERSKY LOSS FUNCTION WITH IMPROVED ATTENTIONU-NETFOR LESION SEGMENTATION" the author use deep supervision by outputing multiple outputmask which have different ...
0
votes
0answers
40 views

Why does dice coefficient equally weigh false positive and false negative?

According to this article: Dice coefficient= The 2-class DSC variant for class c is expressed in Equation 1, where gic ∈ {0, 1} and pic ∈ [0, 1] represent the ground truth label and the predicted ...
0
votes
0answers
45 views

Image segmentation network to extract questions from an image of a test paper?

This is the sample document -> I want to extract questions along with the options. There are other question papers as which have questions with diagrams in them. I want to be able to extract them ...
0
votes
0answers
16 views

How to determine the decrease of resolution in per cent necessary for a partly blurred frame to appear sharp?

Given is a frame of a video taken with a lens focussing on the background, so the foreground is slightly blurred. How to determine the decrease of resolution in per cent necessary for the blurred ...
1
vote
0answers
13 views

How to approach coarse-grained semantic segmentation?

I’m looking at doing something like semantic segmentation of images but where I only have pretty coarse-grained labels - roughly, for each 32x32 patch, I know if the answer should be “yes”, “no” or “...
0
votes
0answers
17 views

DICE loss too low but no overlap between prediction and label

I am trying to achieve the segmentation of the bone on the cross sectional area of MRI images with the Unet I found here. The label is a binary png image which I intend to compare to my prediction. ...
0
votes
0answers
49 views

How to deal with severe overfitting in a UNet Encoder/Decoder CNN in a task very similar to image translation?

I am trying to fit a UNet CNN to a task very similar to image to image translation. The input to the network is a binary matrix of size (64,256) and the output is of size (64,32). The columns ...
0
votes
0answers
546 views

Image Segmentation Class weight using tensorflow keras

I remember definitely being able to pass a list to class_weight with keras (binary image segmentation specifically). For example: ...
0
votes
0answers
8 views

Segmentation-free character recognition on an image: Multi-label, multi-class or sequential image classification problem?

I have some images which look like this one: They exist of 3 possible characters (A-C) and a length of 4. Now, I would like to run a neural network, which recognizes each character in the picture ...
1
vote
2answers
337 views

neural network probability output and loss function (example: dice loss)

A commonly loss function used for semantic segmentation is the dice loss function. (see the image below. It resume how I understand it) Using it with a neural network, the output layer can yield ...
1
vote
0answers
57 views

What is the difference between proposal-based approach and proposal-free approach?

From here it says that Techniques to solve instance segmentation can be roughly grouped into two categories: proposal-based methods and proposal-free methods. In proposal-based methods, a set of ...
0
votes
0answers
18 views

How to reduce the detection time in MaskRCNN

I've trained MaskRCNN in GPU instance and using the saved weight, I detected it in CPU instance based system. The detection time is taking too long. ...
0
votes
0answers
6 views

Refining segmentation masks using predictions of earlier frames

I am performing semantic segmentation. For that I have a dataset of videos in which every frame is labeled. Unfortunately, I don't know the order of the frames. That is why I am performing classic ...
0
votes
0answers
254 views

per class IOU & Jaccard Similarity in a Multiclass setting python

For a multiclass classification problem, How do you compute per class IOU ? I am using the formula which is referenced/accepted in the below link ...
0
votes
1answer
113 views

Confusion matrix of UNET image sgemenation model

I have used Unet model for image segmentation. I have used RGB images and corresponding image masks and at output i got corresponding region of interest. Now i want to find confusion matrix of this ...
0
votes
0answers
10 views

Is it possible to find corresponding coordinates from a downsampled image?

Beforehand, I must apologize, I am just a beginner in image processing and I am not very familiar with many computer vision operations. Here is my problem: I am using deep learning to perform a ...
0
votes
0answers
41 views

Drawing bounding rectangle around the tumor cv2

I am working on a project which predicts that the MRI has tumor or not, now the next step is to draw a bounding rectangle around the tumor. I want to extract the tumor from the MRI and bound the ...
0
votes
1answer
66 views

How to save multi-output predicted masks into two different folders after using model.predict_generator

I have a multi output segmentation task, the training process went well, but when Im trying to get the prediction I found difficulties to separate the two output into two different folders, in my ...
0
votes
1answer
32 views

Comparing two images and showing the difference in a new image?

I would like to compare two web pages images using computer vision techniques. Show what are non-unique portions comparing both images. Which part image1 not exist in image2 vice versa.
0
votes
0answers
7 views

Multiple RoI per object of interest to train U-Net

I have determined RoI of image that contains an object (an organ on a CT-SCAN) that I wish to segment using a U-Net like network. Should I train my network with the RoI I determined, or should I use ...
1
vote
0answers
21 views

Paragraph extraction from text

I am trying to separate scanned pages of a 3 column book into paragraphs. On the pages there can be images located in an arbitrary location, occupying part of one, two or all three of the columns. ...
0
votes
0answers
134 views

Is weighted jaccard metric suitable for semantic segmentation?

I'm trying to deal with a binary segmentation peoblem using Unet on Tensorflow 2.0 (Keras module). My classes're higly unbalanced, so I have to use class weights (0.03 for background and 1.0 for ...
1
vote
1answer
25 views

Is it cheating to stratified sample the whole dataset based on a previous evaluation result?

I trained a model using a small mri dataset(57 patients). The model's performance was so low(Train set 0.7, Val set 0.7, Test set 0.45). I found the model segment tumor in upper part of brain well, ...