Questions tagged [image-preprocessing]
The image-preprocessing tag has no usage guidance.
125
questions
0
votes
0answers
7 views
How to deal with a small dataset for image classification using CNN?
I have a dataset consisting of characters(lowercase and uppercase) and numbers, totalling about 62 classes. The data I have are about 45 images per class and no test data. The data is a subset of the ...
0
votes
0answers
15 views
Balancing on the particular imbalanced classes of image dataset
I have a dataset that has 12 classes in the base directory. However, these 12 classes consist of several amounts of Images. The number of images of 12 classes is inconsistent therefore its impacts the ...
1
vote
1answer
16 views
3 images as one input in CNN (U-Net) [closed]
I have been advised by my supervisor that if my U-Net segmentation network has RGB images at the input then I could use the channels for different images - median filter for R, normalization for G, ...
0
votes
0answers
8 views
Rescaling images decreases my accuracy
If i use ImageDataGenerator class train_datagen = ImageDataGenerator() this way without rescaling, then my model converge faster and gives better accuracy than this ...
3
votes
0answers
34 views
Finding the position of an arbitrary object in a static image?
One common object detection scenario involves finding trained models in an arbitrary scene. For example, we can train a model to understand what a "bicycle" looks like, by providing various ...
0
votes
1answer
42 views
How many images are generated when ImageDataGenerator is used, and when data augmentation is included as a part of the model?
Is there any way to know the number of images generated by the ImageDataGenerator class and loading data using flow_from_directory method? I searched everywhere for the same but couldn't find anything ...
2
votes
0answers
19 views
Is it possible to increase the number of images of one class using data augmentation, which is not applied on the other class, in the same dataset?
I have 2 classes for my image classification problem, say class A and class B, and I am using tensorflow and keras for the same. One of them have around 5K images while the other have just around 2K ...
0
votes
0answers
42 views
Keras RetinaNet implementation and width, height order
I'm trying to use the excellent open source implementation of RetinaNet with keras (https://github.com/fizyr/keras-retinanet) and I've noticed a little detail that I would like to clarify. In the ...
0
votes
1answer
24 views
Keras next(); what does (2, 256, 128, 128, 3) mean
I have used the next() method on a Keras generator. I then turned this into a numpy array to get the shape:
...
0
votes
0answers
19 views
How to combine spectrogram image with its human-labelled data to be processed with CNN in Python?
I am doing a final project at campus: pitch estimation from a song using CNN.
Input to CNN is spectrogram of a song, generated by plt.specgram(), with size 334 x ...
3
votes
1answer
69 views
Remove outliers from a noisy curve
Allow me to present some images so that I may explain my problem. The images on the left contain a smooth curve surrounded by lots of outliers/noise. The image on the right depict the desired curve.
...
0
votes
0answers
4 views
While Merging image datasets which of the image parameters should be prepossessed/Normalized before giving to a CNN Model?
When two datasets are merged or images of different parameters size, dimension, Format are combine which parameters of the datasets should be normalized/ pre-processed before giving it to a model?
0
votes
0answers
11 views
Size drastically increased when images converted to hdf5 format
I converted Kaggle Dog vs Cat dataset from image to hdf5 format, in order to fasten the learning time. To my surprise, 540MB training data converted to more than 30GB of data in hdf5 file format. Why ...
2
votes
0answers
19 views
Statistical method to find the value which preserves the most information inside “most” of data points. (resize images to a common height)
So I have this data of around 88K images and I found out some interesting properties for my images.
...
0
votes
0answers
21 views
About the relevance and interprertability of convolutional filters?
Convolution filters are known to perform very well in tasks, concerning some work with the image or video data, due to their ability to preserve some spatial information and equivariance property ...
0
votes
1answer
68 views
Mask R-CNN Background Subtraction Implementation
I am currently attempting to reimplement a paper on fall detection (https://ieeexplore.ieee.org/abstract/document/9186597). It requires a background subtraction algorithm called Mask R-CNN. Are there ...
0
votes
0answers
16 views
how to make the object detection detect only full object not part of it?
I have trained an object detection model to detect different kinds of cards and crop them and save them, the model detect the object very well and I got a good accuracy, now I want to add some post-...
0
votes
0answers
81 views
Difference in features generated by same filters for color and grayscale images?
Would there be ay difference between the features generated by CNNs if they are fed with same image in color and grayscale format. If I am performing classification with same network for let's say ...
0
votes
1answer
22 views
improving performance for a limited dataset with noisy images, pattern recognition
I am trying to recognize doodles in noisy images like in this one below. My dataset consists of only 10 000 images and 30 categories I've implemented a CNN but it is giving me a 6% accuracy. I am ...
1
vote
0answers
398 views
What exactly are the data augmentation experimental Keras' layers doing?
From what I gathered, data augmentation consists in increasing your number of instances in your dataset by applying some transfromations. Let's say I want to classify images. If I apply a random ...
0
votes
1answer
163 views
What is the use of applying img_to_array() after cv2.imread()
In a book, I saw the following code to load images from a directory:
...
0
votes
1answer
44 views
my model is predicted new images wrong?
I used a CNN network unet for a segmentation task
this is the architecture I used
...
-1
votes
1answer
25 views
how do I know if my model is overfitting from a learning gragh?
this is the learning graph of the loss metric vesus epoch number o my model
is My model overfitting ?
0
votes
2answers
140 views
Does resizing the image size, reduce the quality of the images in CNN?
I am doing a project for cancer recognition. My data set has hunderds of images but not of equal size. I wanna resize them to the size of the smallest image. But I am wondering do you think using the <...
0
votes
0answers
33 views
Finding image based on closest camera pose
I have a camera matrix world of a 3D scene (let's call it A):
...
0
votes
1answer
28 views
Image regression problem
I've tried a number of experiments with machine learning. From trying to use GANs to upscale images to playing with auto-encoders.
There is one problem that haunts me and always ends up ruining my ...
3
votes
0answers
137 views
Find missing object(s) in image with a priori knowledge about the missing object(s) (w.r.t base image)
Problem Statement:
I am working on developing a method, or borrow/modify/combine existing ones, where given an golden image (reference or base with all expected objects to be present), it is able to ...
1
vote
0answers
27 views
Resize image in object detection task of computer vision
In object detection, they usually resize by keeping the ratio the same as the original image, which usually names "letterbox" resize.
My question is:
Why do we need to do that? As I see ...
1
vote
0answers
17 views
Detection of a very large object (vehicle) in a single static camera
I'm trying to make a deep learning model for an automated detection and classification of vehicles (i.e cars, bus, trucks, etc) in a paid parking lot, but since the cameras are too up close for a ...
1
vote
1answer
25 views
How to approach different image resolutions in deep learning for regression problem?
I have an image dataset of various resolutions and using regression DNN model with fixed n*n input resolution. As model learns certain positions in the image, I've been using zero padding to fit ...
0
votes
0answers
28 views
How do I apply radon and iradon function in a 3D image
I am using matlab image processing
, I have a 3DBodyphantom image of a CT scan which displays the axial,coronal and saggital slices, I am to apply to the image the radon function to get a sinogram and ...
0
votes
1answer
38 views
how to scale a dataset contains a b&w and Grayscale images
I have a dataset that contain both black and white images and a grayscale images (some of them are scnned by printer and other by camera and changes into gray)
how can make or scale my dataset so I ...
1
vote
1answer
70 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 ...
0
votes
0answers
18 views
CNN Image resolution vs size/shape
a common technique to get an image to a particular size is by either resizing it completely which can lead to losing the aspect ratio or e.g. resizing the bigger side and then 0-padding the other.
My ...
0
votes
1answer
97 views
Should I normalise image pixel wise for pretrained VGG16 model
My goal is to use pretrained VGG16 to compute the feature vectors excluding the top layer. I want to compute embedding(no training involved) per image one by one rather than feeding batches to the ...
1
vote
1answer
30 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 ...
2
votes
1answer
223 views
Why does my CNN validation loss increase immediately, even with lots of data?
The Issue
I've been working on a regression CNN implementation to predict time series data and have run into an issue where my validation loss and training loss diverge immediately during training, as ...
0
votes
0answers
14 views
Differentiate twins, triplets images in Computer vision field
https://en.wikipedia.org/wiki/Computer_vision
https://en.wikipedia.org/wiki/Twin
https://en.wikipedia.org/wiki/List_of_triplets
Will there be challenges in Computer vision field to differentiate ...
0
votes
0answers
9 views
How can I plot a bunch of images, given their centre coordinates?
The points here represents centre coordinates of images with unique names. I want to plot all the images on the same 2d space to get a final representation of all the images merged into sort of a ...
0
votes
2answers
41 views
Image multi class classifier CNN
I have a problem, im designing a multiclass classifier to classify medic images, I have to classify in which grade of desease is it, this are 6 grades , each time the joint deforms a little, so, mi ...
1
vote
0answers
81 views
How to generate custom image dataset for object-detection?
I have to build a custom logo detector from e-commerce images.
I am aware of object detection techniques like YOLO, SSD etc and could find many resources on how to annotate a custom object detection ...
0
votes
0answers
43 views
Unsupervised Defect Detection on Any Images
Everyone. I want to ask that Is there any way to do unsupervised defect detection(without labeled data) or without knowing the possible defects that will arrive in future. Means that I train my model ...
0
votes
1answer
64 views
Cable angle measurement (rotation)
I need to detect the rotation of a cable (degree) in the x-axis with high precision [0.2 (or more) degree detection] from its original state.
Detailed description:
I have a cable that is set in its ...
1
vote
1answer
190 views
How do reshape an image to fit my Mnist Convolutional model?
I have done research but cannot seem to find what's wrong here
I have created this model for Mnist digit clasification :
...
1
vote
0answers
20 views
Classifying Live Images From Camera Feed with bunch of objects in Background?
I can successfully run image classification if I feed examples from Google image to mobilenet model on Raspberry pi with Google Coral Edge TPU.
However, if I feed live images from camera in my living ...
0
votes
1answer
428 views
How imagenet mean and std derived?
To use pre-trained models it is a preferred practice to normalize the input images with imagenet standards.
mean=[0.485, 0.456, 0.406] and ...
0
votes
1answer
84 views
Varying Image sizes in Tensorflow Malaria dataset | Dealing with unclean tensorflow data
I am trying to build a CNN based image recognition system for the Tensorflow malaria dataset. I loaded the dataset (~27k RGB images) using conventional tensorflow_datasets syntax.
After some data ...
0
votes
1answer
57 views
Load data from multiple dataframes containing both path and labels in keras
I am aware that there exists a function in keras.preprocessing.image.ImageDataGenerator called flow_from_dataframe. But this ...