Questions tagged [image-preprocessing]

The tag has no usage guidance.

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

orientation detection - images of govt. issued documents

Trying to figure out a macro approach to detecting orientation of documents that works across document types (maybe a pipe dream). We successfully used SIFT to detect orientation in documents where we ...
1
vote
1answer
14 views

How to process Dicom Images for CNN?

I am building a disease classifier. I have Dicom scans for many patients. The scans have different slice thickness, and different scans have different number of slices. However, the slice thickness ...
2
votes
2answers
31 views

Data Quality Assessment in Image Data

I'm working on a CNN model that classifies images. After scraping image files from the Internet, I found that many of them didn't look this way as described by the searching keyword (for example ...
1
vote
1answer
22 views

How to recognize product based on image using neural network?

Company has many products in their offer (some about 100,000), some of these are very similar to each other. In database there is available only one image per product. Company want to make possible ...
1
vote
1answer
22 views

illumination problem for face landmark detection

I trained dlib face landmark detection model using ibug and yaleB datasets. Accuracy of the model is dropping when a bright light or a shadow appears on the side face. Used default parameters and ...
2
votes
1answer
23 views

Rescaling each image Individually with keras

I am a beginner working on a simple CNN to classify X-ray detector images. Due to source intensity, all images have different max values. I want to use ImageDataGenerator to rescale those images to be ...
0
votes
0answers
9 views

Object re identification through two cameras

I've been recently using the YOLO to detect trucks in images, which turned out really well. My next step is to try to find images of the same truck across the whole set of images I've retrieved ...
1
vote
1answer
13 views

Does white balance correction improve the performance of visual object detection?

Visual object detecion aims to locate and recognize objects of interest in images. I wonder, does white balance correction contribute to better performance of visual object detection? Are there any ...
0
votes
0answers
9 views

Does Feeding Edge detected images to the CNNs make sense?

Are edge detected images fed to the CNN based architectures like VGG16, etc? I know that CNNs are able to detect features like Edges, lines, contours, etc but what will happen if one feeds edge ...
0
votes
0answers
20 views

What does Keras Initializers assume about the datasets distribution?

I have a dataset that consists of 9000 Synthetic Aperture Radar images normalized to [0,1]. One of them is visualized in the histogram below. All of the images follow the same structure where most of ...
1
vote
4answers
85 views

scaling images for image classification

I am trying to do image classificaition with a dataset that contains images of different sizes. The images are in a folder called Train, which contains 4 subfolders callsed HAZE,RAINY,SNOWY and SUNNY. ...
0
votes
1answer
13 views

How to extract face details from a image

I am trying to make a face login application that authenticates the user when matching the registered face and the given face. currently, the issue is I cant extract the face descriptions from the ...
1
vote
1answer
93 views

Fastest batch perspective transform for image augmentation

I need to do some augmentation for my training images for a neural networks. The problem is that even when loading batches in parallel, the augmentation is taking longer to perform than the network ...
0
votes
0answers
25 views

How to make a heatmap using keypoints from MPII data set

So I am tiring to figure this out but keep running into a wall. So what I want to do is create a heatmap from a 2D image based on the key points generated from the MPII dataset. I have found a CSV ...
1
vote
2answers
37 views
0
votes
2answers
31 views

What's the meaning of precomputed features?

When i learn about deep learning, I found dataset with precomputed features form. Link (http://cs.stanford.edu/people/karpathy/deepimagesent/coco.zip). What's the different with usual dataset?
1
vote
0answers
13 views

Image Quality Assessment Algorithms

I am working on super resolution projects using Generative Adversarial Networks. I need to validate the generated image whether they are close to original one. I already worked with SSIM and PSNR. is ...
2
votes
2answers
61 views

How to Extract Information from the Image(PNG)

I'm trying to extract some particular information from the image(png). I tried to extract the text using the below code ...
1
vote
1answer
23 views

Medical Image Analysis

What are some good starting points for learning medical image analysis and combining it with deep learning? I would like to analyze images with bone cancers but not sure what is proper way to ...
0
votes
0answers
12 views

Process with which ImageDataGenerator with flow_from_directory() method fetches and augments images from a directory in Keras 2

When using Keras 2.0 ImageDataGenerator and in particular the flow_from_directory() method to perform data augmentation, how many images are generated and in what order? Do we have a way to control ...
1
vote
0answers
12 views

Shuffling the images with DataImageGenerator and flow_from_directory in a Medical application (tensorflow 2/Keras)

I am facing the following situation: I have CT images (scans) of patients where 10 images describe each patient. These images are stored in separate directories based on what is the focus of each ...
1
vote
0answers
21 views

Detect the important part of a receipt (CNN)

In general I want to detect prices and products from a receipt. My approach was to detect the important part of the receipt (products with their prices) to then afterwards pass to firebase ml kit to ...
0
votes
3answers
39 views

Why do we need convolutions over volume in convolutional neural networks for image recognition?

In convolutional neural networks, we make convolutions of three channels (red, green, blue) with a filter of dimensions $k\times k\times 3$, like in the picture: Each filter consists of adjustable ...
0
votes
1answer
26 views

A Question: is it possible for me to create an AI that learns to play games which I did not create?

Mainly, I have a question which I could not find an answer for anywhere, about an AI machine learning game. Is it possible for me to create an AI which can learn a game that I did not myself create, ...
3
votes
0answers
31 views

How to remove noise using morphological filtering

I have two groups of dots that both contain noise between them: The line that separates the two groups in the picture is diagonal in shape. I tried to use morphological filtering on this image to ...
0
votes
0answers
45 views

How to create an image with pixel values of another image?

I have the following situation: I have an image file with each pixel having a specific value. Now I want to rearrange and distribute these pixel values so that the result image looks similar to a set ...
1
vote
1answer
66 views

Tread wear detection

I have an assignment in which I have to provide a solution to measure the tread depth of a tire using a single rgb image. I thought of two possible solutions: Using CNN to measure the image ...
0
votes
0answers
17 views

Multi-label Image Classification Neural Network

I am attempting to complete an old Kaggle competition on the iMet collection but having difficulties understanding how to preprocess the data. The data set consists of photos with a photo_id, a csv ...
0
votes
0answers
19 views

What transforms do we need to apply to masks of images in segmentation tasks

I am trying a semantic segmentation task for multi-class segmentation. I am wondering what transforms are applied to both images and masks in it. Following are my transforms- ...
0
votes
1answer
106 views

How to prepare training data for deep learning models

I am working on a project which involves the application of deep learning models. I have collected training data. In collected images, I have more than one object in interest. I am not very clear how ...
0
votes
1answer
162 views

How to retrieve images from a url in a pandas dataframe and store them as PIL object in a new column

I'm trying to store as a PIL object in a new column of a dataframe pictures that are located in a column of the same dataframe in the form of URL's. I've tried the following code: ...
0
votes
0answers
9 views

Validation of Images generated using DCGAN

I have trained a Deep Convolutional Generative Adversarial Network(DCGAN) model and generated some images. Now, I need to validate these images if generated images ...
4
votes
1answer
72 views

How and Why to rescale image range between [0,1] and [-1,1]

I am trying to implement model described in Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network in which author says in section 3.2 that We scaled the range of the ...
0
votes
0answers
26 views

Developing an encoder/decoder for image modification

On the project I am currently working on, my goal is to train a neural network to convert images of circles to ellipses in a way that models convolution/blurring in real imaging processes. What ...
0
votes
0answers
13 views

MaskRCNN generated masks are not sharp

I have trained my maskrcnn for object segmentation but the generated masks are not sharp. They have a blurry edges and unrefined outlines. Do you have a work around to this solve this problem?
0
votes
0answers
17 views

Preprocessing data in image segmentation problem

I am implementing a research paper on image segmentation. Following are the image segmentation steps which are to be done before training its network- 1.Following image normalization is used- ...
1
vote
2answers
92 views

after augmentation validation accuracy going down?

My main question is about augmentation. if I process the augmentation I believe it always better than less data but in my case the validation accuracy going down train : 7000 images , validation: ...
1
vote
0answers
358 views

Input format of label images (ImageDataGenerator) for multi-class semantic image segmentation in keras

I wondered if you could help me (and hopefully others too) to understand how to use keras' ImageDataGenerator to load in my label_masks and zip them with the input_images for semantic segmentation. My ...
1
vote
2answers
29 views

Keras Model question for Pre trained model extension

I want to add a few more layers to a Resnet50 model and my question is - do I need to compile it and train it on new data or can I just use it as it is? Will it just give me the Resnet50 results? ...
1
vote
1answer
59 views

numpy array reshape question

Let's say that I have image data with shape $(32, 32, 3)$ and $50000$ If I would like to reshape it to $(50000, 3, 32, 32)$ what should I do? I tried ...
0
votes
2answers
33 views

How to train or approach the image datasets with different resolution in Deep Learning

Image classification: I am having a data set of image collection more than 10k but even though all are the same image but taken in different sizes (pixels into pixels) some are in square and some are ...
0
votes
0answers
116 views

Image is in JPEG but Torchvision shows image extension is unsupported

I just resized the image dataset with Pillow and exported to JPEG mydata = dsets.ImageFolder(data_path_here, transform=transform) Image is exported in JPG format ...
1
vote
1answer
268 views

What is the difference between normalization and zero centering?

I am working on some per-processing for lung CT images, I see a nice tutorial in here, two of them are normalization and zero centering, I wonder what is the difference between these two steps? if one ...
1
vote
0answers
29 views

How to detect only the lane boundaries using Hough transform?

This is my code to detect the lane boundaries. But only one line(left most) is detected here. Is there a way to remove other objects from the picture (remove bushes and trees) and detect only the ...
1
vote
0answers
41 views

Face Landmark Detection Solution

Lately I have been working on image classification problems but just recently I tried a new type of Problem on Kaggle. I have normalized image data(X) by dividing with 255 and also the keypoints ...
0
votes
0answers
25 views

ZCA: Covariance of Large Image Database

I have an overall question if my method is sound, so please bear with me in this description :). I have a large image database and I wanted to create a preprocessing step using ZCA. The issue is that ...
4
votes
1answer
141 views

How make a python code execute on GPU not CPU

I am doing some image pre-processing using python3, as I know the code is execute on CPU, for that the process is a little bit slow, for the faster process its a good idea to make it run on GPU, ...
0
votes
1answer
30 views

Image features (spectral bands) other than RGB for image analysis

What features can I derive from the image, other than its RGB, to help me analyze an image? Actually, I'm looking for some papers, etc about this. But I couldn't ...
7
votes
1answer
325 views

Finding outliers in Image dataset

I have been working on an image classification tasks for which I am extracting the image frames from the video stream collected for different classes. I have already trained an image classification ...
0
votes
1answer
425 views

Why is Keras fit_generator different from fit?

I would like to use a custom generator so that I can implement custom augmentations on my dataset in Keras. However, I built a generic generator (without augmentation) and am confused why it is ...