Questions tagged [image-processing]

For questions related to image processing (in the context of AI).

Filter by
Sorted by
Tagged with
1
vote
0answers
9 views

Why do we add +1 in while calculating ouput tensor value after convolution operation?

In the formula to calculate output shape of tensor after convolution operation $$ W_2 = (W_1-F+2P)/S + 1\ $$ Where: $W_2$ is output shape of tensor $W_1$ is input shape $F$ filter size $P$ is padding ...
0
votes
1answer
20 views

Material(s) for understanding “image channels”

I am pretty confused about the concept of "image channels". I want material that explains the concept of channels from scratch to whatever is required to understand their role in machine ...
-1
votes
1answer
29 views

how produce image of face working with AI [closed]

I came across a https://generated.photos/ site that claims to produce images entirely by artificial intelligence. My question is how does this program work? What mechanism and libraries should I use ...
1
vote
1answer
25 views

What does 'input planes' mean in the phrase 'input signal/image composed of several input planes'?

PyTorch documentation provided the following descriptions to the Convolution layers ...
2
votes
1answer
50 views

What does 'channel' mean in the case of an 1D convolution?

While reading about 1D-convolution in PyTorch, I encountered the concept of channels ...
0
votes
0answers
8 views

How to approach receipt interpretation with neural networks

I have never worked with neural networks before, but I want to learn and I have a specific use case that I would want to solve (or at least try to). I have developed software for multiple years, in a ...
0
votes
0answers
19 views

What image augmentations can help a neural network identify the smallest pixels within an image?

I am training a CNN to identify objects and I believe the network will learn much faster if it can learn to focus on the smallest pixels. One way to go about this would be to augment the images before ...
0
votes
1answer
16 views

Dissection of a depth map

I am curious about how depth maps work. While searching I came across this website which contains some images and their depth maps. I took this depth map and tried to study it using python pillow. <...
1
vote
3answers
166 views

Why is AI Super Resolution Reconstruction more than just guessing?

I saw a video on Youtube about AI and Super Resolution Image Reconstruction with TecoGAN. I must say I am impressed. Now, I am wondering how reliable this is. I have learned at university that you ...
1
vote
0answers
25 views

Convolutional Neural Network (CNN) with Tree architecture to organize the number of classes

At the moment, I have around 1.000 classes with accuracy and loss that are acceptable. In the long term, there could be more than 100.000 classes. The main problem is that every time a new class is ...
1
vote
0answers
25 views

Understanding SIFT descriptor calculation

I need to understand how SIFT calculates the descriptors for the keypoints. Intuitively, i understand that it takes each keypoint, calculates the gradients for each pixel in a neighborhood of the ...
1
vote
0answers
30 views

What do “spatial” and “temporal” mean in the context of image processing?

I am new to image processing. I am trying to understand CNNs from this blog post. Here's an excerpt from that article that mentions these terms. A ConvNet is able to successfully capture the Spatial ...
0
votes
0answers
15 views

Bounding box transformation using point cloud

I am working on a project in which I have an RGB Image and the corresponding 2d bounding boxes for the objects in the image. I also have a respective point cloud and therefore, I can extract the depth ...
0
votes
1answer
61 views

Feeding CNN FFT of an image, a dumb idea?

My dataset consists of about 40,000 200x200px grayscale images of centered blobs bathed in noise and occasional artifacts like stripes other blobs of different shapes and sizes, fuzzy speckles and so ...
0
votes
0answers
19 views

What is “fill” algorithm used for image resizing and cropping?

I was going through this documentation directed by Codelab-Developer-Google. In order to resize an image, the notebook is using the "fill" algorithm. See the below code ...
0
votes
0answers
13 views

New image-to-image translation algorithm for other type of tasks

I found this amazing new research paper "High-Resolution Photorealistic Image Translation in Real-Time: A Laplacian Pyramid Translation Network" and an associated video. It's about a new ...
2
votes
1answer
65 views

In style transfer, why does the comparison between channels give a good sense of style?

I have been learning about Style Transfer recently. Style is defined as The correlation of activations between channels. I can't seem to understand why that would be true. Intuitively, style seems ...
2
votes
0answers
16 views

Predicting the the motion of a 3D object when the motion of a set of markers is known

trying to figure out where to get started with this: I have a few hundred CT images where certain three-dimensional features in the image (anatomy) are moving in a correlated fashion with a set of ...
2
votes
1answer
29 views

Should one rescale (normalize) image before or after data augmentation?

During image preprocessing pipeline, should one rescale each pixel value to [0, 1] by dividing 255 first, and then perform data transformation such as color distortion, gaussian blur? or vice versa? I ...
0
votes
0answers
35 views

Why is the F-beta score not increasing while the validation loss fluctuates?

I'm trying to implement a multi-label image classification from a CT scan data set. The goal of the work is to find out which CT scan image has eleven of the most common fractures if it is fractured. ...
2
votes
1answer
45 views

Viola-Jones algorithm: Haar-like features, how are the features extracted?

If I have an image like this 1 2 3 4 5 6 7 8 a b c d e f g h ... And I apply a Haar-like feature with a template ...
0
votes
0answers
27 views

Autoencoder on Sharp Images

I am training an autoencoder to reconstruct 3D images. This is going quite well apart from one slight issue. The images I wish to reconstruct are binary representations of organs. This means that they ...
1
vote
0answers
38 views

SAGAN - is there a mistake in the original paper?

in the original paper the following scheme of the self-attention appears: https://arxiv.org/pdf/1805.08318.pdf In a later overview: https://arxiv.org/pdf/1906.01529.pdf this scheme appears: ...
1
vote
0answers
28 views

For image preprocessing, is it better to use normalization or standartization?

For a neural network model that classifies images, is it better to use normalization (dividing by 255.0) or using standardization (subtract mean and divide by STD)? When I started learning ...
0
votes
1answer
59 views

What amount of ressources is involved in building an image recognition system?

I would like to have an order of magnitude of ressources required to build an image recognition system. Let say you want to build a startup company which main product will have to distinguish 20 ...
0
votes
0answers
9 views

How can I improve the robustness of my Fire Detection algorithm in openCV?

I am working on a project to detect fire in CCTV or any other surveillance cameras. Up till now I have completed the following stages; Convert the RGB into HSV Sliced out the Value matrix from HSV ...
0
votes
0answers
15 views

Instance Segmentation Using A Semantic Segmentation Map and Class-Wise Bounding Boxes

Is it possible to perform instance segmentation if you have the following: Binary Segmentation Map Bounding Boxes (with respective class) Let's say we're doing something within cellular microscopy ...
2
votes
1answer
82 views

Is it a good idea to use different width and height of the kernel in a CNN?

I always see that the width and height of the kernel are the same. But is it a good idea to use different numbers? Recently I tried to use GoogLeNet (which expects images to be 224x224) on my images (...
3
votes
0answers
39 views

Best Machine Learning Model for “Predicted” Image Generation

I am currently working on undergraduate research to determine hotspots for hand-surface contact. Ideally, I would like to give the model a depth image as input: Example of synthetic depth image and ...
1
vote
0answers
33 views

Does the order of data augmentation and normalization matter?

What is the preferred order of data augmentation and normalization? Is it the former followed by the latter?
0
votes
1answer
44 views

Denoising Images When Training a Classification Model

Suppose you have a binary outcome variable and have some training data (10,000 images in jpg format). Also you have a test set of say 11,000 images. If we want to train a classification model and want ...
3
votes
0answers
46 views

Is the GAN architecture better suited for medical image denoising than the CNN?

I'm considering using GANs for medical image denoising, based on previous literature, like this and this. My input to the GAN would be a high-noise image and my ideal output would be a low-noise, high-...
0
votes
0answers
47 views

Can I use a CNN for template matching, so that there is robustness, as the background of the target image is not that good?

I have to extract part of a source image, then I have to check if it is similar or almost similar to any of the 10 target images, so that I can do further processing on that one specific target image, ...
0
votes
0answers
15 views

AI generator for imaginary street maps?

Similar to This person does not exist or This artwork does not exist, how might I go about creating a This street map does not exist, including choosing an appropriate AI model and scoping features? ...
2
votes
1answer
70 views

What algorithm would you advise me to use for my task?

I have an image and a mask. I want the image to be the same, but rotated, scaled and positioned like mask. What can I use?
0
votes
0answers
16 views

Interpreting coordinates of the function from the image using Grid Lines

I have a very different kind of problem at hand. I have a function plotted on the grid lines as shown below Now, I need to get the x and y coordinates for this particular function at regular ...
2
votes
1answer
104 views

In OCR, how should I deal with the warped text on the sides of oval objects?

Consider an image that contains one can (or bottle, or any similar oval object), which has texts all over it. In the image below, I have many bottles, but you can assume that each image only contains ...
0
votes
0answers
38 views

How to edit a photo using deep learning?

I just took a course on deep learning where one part of the syllabus was image classification and object recognition using CNNs, but I wonder how deep learning can be applied to apply certain filters ...
0
votes
1answer
36 views

Training a model to identify certain differences between images?

Newbie to CV here so sorry of this is basic. Here's the deal, I have a program that I run many times. and each run I produce a screenshot. I need to compare screenshots from N-1 and N runs and make ...
0
votes
0answers
19 views

Estimating depth/perspective of image

I'd like to find a method in which the depth or perspective of an image is estimated. I imagine this could perhaps be done based on how quickly classified objects, such as cars or humans, grow or ...
0
votes
0answers
15 views

Add Additional Positional Information to Image Classification Neural Network

I am trying to find the best way to provide a neural network with both an image and some annotations about the image. Specifically, I'm creating a network to calculate an approximate 'cost' to go from ...
1
vote
0answers
34 views

Face detection and replacement in photos

I have 2 photos, and my goal is to detect the face in one and place it on the face of the person in the other photo- basically face detection and replacement. It's not deep fakes. It's more of a ...
0
votes
0answers
7 views

How to find rotation x/y/z of chessboard diagram with what network architecture?

I want to recognize pieces of chessboard diagram (not real 3d pieces but just diagram). I split this task in some operation like rotation/cutting/segmentation. First of all I want to detect chessboard ...
1
vote
1answer
75 views

How to compute dominant colors in an image?

I was trying Google Cloud's Vision API, and how the dominant colors part shows. I uploaded a sample image, and here is the results for the dominant colors. I realized it doesn't simply count pixel ...
0
votes
0answers
33 views

How does one measure image similarity using Radial Basis Kernel?

Here is the formula of a radial basis kernel $$ k\left(x_{i}, x_{j}\right)=\exp \left(-\frac{d\left(x_{i}, x_{j}\right)^{2}}{2 l^{2}}\right), $$ where $x'$ and $x$ are feature vectors. I have two very ...
0
votes
1answer
38 views

Extract Features at Multiple Image-Scales

I try to replicate the results of this paper. They state, that they used VGG16- and VGG19-models pretrained on imagenet and used the output of the last convolutional layer (without relu and max-...
1
vote
2answers
101 views

How to verify classification model trained on classification dataset on a detection dataset for classification purpose?

I am working on a problem that involves two tasks - detection and classification. There is no single dataset for both tasks. I am training two models, separate on detection dataset and another on ...
1
vote
1answer
107 views

Why do we resize images before using them for object detection?

In object detection, we can resize images by keeping the ratio the same as the original image, which is often known as "letterbox" resize. My questions are Why do we need to resize images? ...
0
votes
0answers
37 views

Extracting specific information from an Invoice images

Tried to extract only specific information from the images but Couldn't, We have to automate this process using this as the format of the Images keeps on changing. LinkSample data What I have Tried: <...
1
vote
1answer
118 views

How to mathematically describe the convolution operation (with a Gaussian kernel)?

I have to build a model where I pre-process the data with a Gaussian kernel. The data are an $n\times n$ matrix (i.e one channel), but not an image, thus I can't refer to this matrix as an image and ...