Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [image-preprocessing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 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
10 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
33 views
0
votes
2answers
19 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
12 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 ...
1
vote
2answers
42 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
19 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
7 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
9 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
2answers
26 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
0answers
15 views

Need to apply Custom weights in case of semantic segmentation

I am solving a multi-class image segmentation problem. The following is my map of a fundus image: The correspondence is the following: ...
0
votes
1answer
22 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, ...
2
votes
0answers
24 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
40 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
46 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
15 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
61 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
35 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
8 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 ...
3
votes
1answer
42 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
23 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
12 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
16 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
1answer
48 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: ...
0
votes
0answers
210 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
37 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
31 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
93 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
137 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
21 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
17 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
21 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
112 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
29 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 ...
6
votes
1answer
202 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
292 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 ...
7
votes
4answers
673 views

How to replace NaN values for image data?

My data set has a total of 200 columns, where each column corresponds to the same pixel in all of my images. In total, I have 48,500 rows. The labels for the data range from 0-9. The data looks ...
0
votes
0answers
107 views

B-spline interpolation for image

I am looking B-spline image interpolation implementation using python library. Like: bicubic_interpolation = cv2.resize(image, (512, 512), interpolation = cv2.INTER_CUBIC)
0
votes
0answers
26 views

How to return batches of augmented images in an image preprocessor?

I've written the following class that generates augmented images one by one. However, I'd like to be able to generate batches of 8 images each (or any number really). The way I'm hoping to do it is: ...
3
votes
2answers
109 views

Why image is more blurred through PIL?

I was using PIL library to open an image and then convert it into array later on for DL operations. However I found out that image opened was blurry as opposed to the original image. Why is the image ...
2
votes
1answer
91 views

Is image sharpening a good idea for data augmentation?

I'm training segmentation networks and while the dataset is somehow decent (~5k images) I wanted to augment it, so far I'm trying: RandomFlip RandomRotate RandomBrightness changes RandomShadows Due ...
2
votes
1answer
448 views

Why does TensorFlow convert my decoded image to float32 instead of uint8/16?

I am using the following code to import a bunch of .png images and decode them using TensorFlow: ...
1
vote
2answers
117 views

Crop all written letters from image to form a website

Above image has handwritten hindi / deavanagari letters all on a single image. Task is to Prepare a dataset from the given assignment.jpg image using image processing tools Idon't have clarity ...
0
votes
1answer
37 views

how many channels does ultrasound images have?

I have some ultrasound images, when I read them using cv.imread and check their shape or check them with ...
5
votes
2answers
734 views

How can I detect blocks of text from scanned document images

ORIGINAL IMAGE: GOAL: I want to separate texts into individual paragraphs by placing bounding boxes over them (as shown above). I tried it do this via traditional computer vision approach using ...
4
votes
1answer
113 views

Image Matching for similar products

Is it technically possible to find out similar products online based on an given image? Say the first link is a hoodie for women selling on Amazon. I want to do two things. Based on the image, I ...
1
vote
1answer
52 views

How to determine key frames in a video for video classification?

How to detect changes between when the changes between 2 frames of videos that are significant enough to be counted for video classification? Thinking of the problem as analogous to edge detection in ...