26 votes
Accepted

What is a fully convolution network?

Fully convolution networks A fully convolution network (FCN) is a neural network that only performs convolution (and subsampling or upsampling) operations. Equivalently, an FCN is a CNN without fully ...
nbro's user avatar
  • 39.6k
15 votes
Accepted

How can I deal with images of variable dimensions when doing image segmentation?

There are 2 problems you might face. Your neural net (in this case convolutional neural net) cannot physically accept images of different resolutions. This is usually the case if one has fully-...
Anuar Y's user avatar
  • 404
6 votes

What do the words "coarse" and "fine" mean in the context of computer vision?

tl;dr What does that mean in the context of this paper? With "coarse segmentation" the author means a segmentation that doesn't have much detail. "Fine segmentation", on the other hand, refers to ...
Djib2011's user avatar
  • 3,173
3 votes

What is the use of the regular convolutional layer in expansion path of U-Net?

The point is that in the expansive path you have two forms of information: the information from the contracting path, which includes all high-level features extracted from the original image. the ...
Djib2011's user avatar
  • 3,173
3 votes

Do models train better if the labelling information is more specific (or dense)?

It depends on what is your ultimate goal. If your goal is to simply classify the object in the image, having more complex output won't help. Simpler output representation yields better result. If your ...
Clement's user avatar
  • 1,735
3 votes

What are the best algorithms for image segmentation tasks?

U-Net and U-Net inspired architectures have been quite popular in the medical image-related tasks ever since it was first introduced. There have been several improved versions of U-Net designed for ...
Tanmay Agrawal's user avatar
3 votes
Accepted

What are some references that describe known filters (or kernels) and how we can create new ones?

I'd suggest you better understand edge detectors such as Robert or Sobel operators first to understand better how convolution operation on images extract features by constant value kernels. Would ...
ashenoy's user avatar
  • 1,409
3 votes

Should softmax be in the model or in the loss function?

Mathematically it does not matter at all. The results will be the same. However there is a strong reason to prefer it being in the loss function: numeric stability. Because the loss function knows ...
chessprogrammer's user avatar
2 votes

How can I deal with images of variable dimensions when doing image segmentation?

You could also have a look at the paper Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition (2015), where the SPP-net is proposed. SSP-net is based on the use of a "...
Felix Goldberg's user avatar
2 votes

Which evaluation methods can I use for image segmentation?

See: Martin Thoma: A Survey of Semantic Segmentation, Section III Subsection A is about metrics and B is about datasets. Metrics include: accuracy, IoU, frequency weighted IoU, F-beta score, ...
Martin Thoma's user avatar
  • 1,055
2 votes
Accepted

What make a CNN suitable for image classification or semantic segmentation?

Disclaimer: This question is very broad, my answer is admittedly partial and is intended to just give an idea of what's out there and how to find out more. How do you "say" a network: "classify me ...
GPhilo's user avatar
  • 171
2 votes
Accepted

Why everyone is using CNN for image segmentation?

CNN is used since it is effectively an optimized use case for dealing with image data. CNN effectively automatically extracts features from images. Other techniques are more likely to not take full ...
Ryan Marinelli's user avatar
2 votes
Accepted

How many ways are there to perform image segmentation?

Apart from the multitudes of traditional image segmentation techniques (Watershed, Clustering or Variational methods), newer Segmentation schemes using Deep Learning are actively being used, which ...
jaeger6's user avatar
  • 308
2 votes

Best approach for 2D Grid Image Segmentation

This is a really cool problem. You already have a working model here are a few different ways of going forward with the project. Grouping text based on locality. "no segmentation" Text region ...
Michael Hearn's user avatar
2 votes

“Outside-in” versus “Inside-out” machine learning

It sounds like you are interested in the ideas of intrinsic motivation and attention in the context of machine learning. These are big topics, and the subject of much active research. Intrinsic ...
John Doucette's user avatar
2 votes

What are some good alternatives to U-Net for biomedical image segmentation?

Hey i am working on my Bachelor thesis at the moment and use UNET in combination with a GAN for image segmentation. I spend the last 5 months on that, so on my tests, the new approach of januar 2020, ...
Paul Higazi's user avatar
2 votes
Accepted

How to incorporate a symmetry constraint in the loss function to train a CNN?

If you know it is symmetric, then you could do a couple things. Zero out a half. Don't bother learning both halves of the image. Just put a zero mask over the upper or lower half of the output ...
juicedatom's user avatar
2 votes
Accepted

Aside from dice score, what other good metrics are used to evaluate segmentation models?

Typical metrics used with segmentation problems are Recall, Precision and the F1 Score (similar or the same as the Dice score depending on the definition used). These can be evaluated per class or for ...
a crazy Minion's user avatar
2 votes
Accepted

Custom Tensorflow loss function that disincentivizes all black pixels

The background being an unbalance class is a well known problem in image segmentation. Before digging into custom losses you should take a look to existing ones that address this specific issue like ...
Edoardo Guerriero's user avatar
2 votes

How to identify and diferentiate several edge lines of an object?

I don't think that more advanced AI would necessarily produce more consistent results. Check something as simple as the Prewitt operator, which is pretty damn good at edge detection. I would suggest ...
ImotVoksim's user avatar
2 votes
Accepted

Using pre-trained models on image dataset that is totally different for object detection?

Well, I think you forget about "fine tuning" stage here. What they mean in these tutorials is that you take such model that was pretrained on large dataset and you usually freeze from ...
GKozinski's user avatar
  • 1,240
2 votes

Should I apply a min-max scale (range 0 to 1) before applying the normalisation or should I apply the z-score normalisation directly?

There is, beside of numerical losses not difference between directly using z-normalization and first min-max and then z-normalization. Explanation Both are affine transformations and a combination of ...
Broele's user avatar
  • 551
1 vote

Semantic segmentation CNN outputs all zeroes

Similar to other answers, I don't know Matlab that well but you could try the following steps to debug your problem. Make sure you can overfit to a single instance from your dataset, pull out a single ...
juicedatom's user avatar
1 vote
Accepted

How do I generate a feature representation of a saliency map (or mask)?

I found a method to do it in the paper Cross-Modality Personalization for Retrieval (2020, accessed: 20-Feb-2020). Representation. For images, we extract Inception-v4 CNN features [36]. We then ...
Stephen Philip's user avatar
1 vote
Accepted

Training a classifier on different datasets with different image conditions for different labels causes the model to infer using the background

I am afraid that the model will infer from the background information that it shouldn't use to predict the plant diseases, what makes the problem worse is that some plant diseases only exist in one ...
Alina Barnett's user avatar
1 vote

How does general image background removal AI work?

In image segmentation the target is actually an image, with the same dimensions as the input, where each pixel has a label depending on which class it represents. It is not uncommon for such a dataset ...
Djib2011's user avatar
  • 3,173
1 vote
Accepted

Validation accuracy higher than training accurarcy

I am answering my own question here. The only additional thing that I found was that the average accuracy across a batch of data was slightly higher if the amount of samples in the batch was lower. So ...
Lis Louise's user avatar
1 vote

How to quickly change hand-drawn shapes to symmetrical polished shapes?

From how it looks, the most reliable method to try out is using Hough transform. The Hough transform can be used to detect e.g. lines and circles in images (depending on which variant you are using; ...
Daniel B.'s user avatar
  • 815
1 vote

How to create vector representation of roadmap like scans

It turned out that my intuition was not far off. The skeletonization is a good step. The Hough transform though is not a good way to create a graph of the roadmap. It seems that the Ramer–Douglas–...
spdrnl's user avatar
  • 121
1 vote

How to use 'Canny/Watershed' algorithm's output as an input for Image Classification Model

First and foremost, I have to say that this could (and likely will) be a very hard task. Neural networks (NNs) have excelled at computer vision tasks identifying everything from textures to complex ...
tynowell's user avatar
  • 156

Only top scored, non community-wiki answers of a minimum length are eligible