I'm trying to figure out how to use AI to find to closest match to Image A within Image B, is there any software or programs that could be used to achieve this?
Related
I want to do a program in which:
Input = Image
Output = What color does it have
Im new to Machine Learning, and i want to learn. But i really don't know where to start. Can somebody give me some pointers? Any help would be appreciated!
Try looking into scikit-image library if you're familiar with Python. You don't really need machine-learning, just a lot of processing for this.
If you're just trying to find the "majority" color in an image then my approach would be the following:
Get an array of all the RGB values in an image.
Find the most commonly occurring pixel values.
Lookup the pixel value from this table
Return the name of the color.
This should get you started on your image analysis journey.
This might be a very broad question so I'm sorry in advance. I'd like to also point out I'm new in the CV field, so my insight in this field is minimum.
I am trying to find correspondences between points from a FLIR image and a VIS image. I'm currently building 40x40 pixels regions around keypoints, over which I'm applying the LoG. I'm trying to compare them to find the most similar regions.
For example, I have these data sets:
Where the columns represent, in this order:
the image for which I'm trying to find a correspondent
the candidate images
the LoG of the first column
the LoG of the second column
It is very clear, for the human eye, that the third image is the best match for the first set, while the first image is the best image for the second set.
I have tried various ways of expressing a similarity/disimilarity between these images, such as SSD, Cross Correlation, or Mutual Information, but they all fail to be consistent (they only work in some cases).
Now, my actual question is:
What should I use to express the similarity between images in a more semantic way, such that shapes would be more important in deciding the best match, rather than actual intensities of the pixels? Do you know of any technique that would aid me in my quest of finding these matches?
Thank you!
Note: I'm using OpenCV with Python right now, but the programming language and library is not important.
Using the LabView Vision Toolkit I want to extract the average color in a region of the image. But I am having some trouble extracting a part of the image. This is what I have tried:
But I just seem to get the same image out.
I'm using a different way to extract a portion of an image that does not need the vision toolkit. Maybe it could be of some use to you:
I'm trying to separate some leaves(objects in image) from an image like below
Input Image
the output should look like this picture below
Output Image
I use OpenCvsharp in Visual studio 2010 (C# language)
I want to separate 4-5 leaves which are visible more than 80% of the complete leaf in the image, and get output image as the second image.
Please someone tell me how can achieve this?
I used watershed algorithm which is described here
but I couldn't get any segments rather than one segment covering the whole image. I want to know if there's any better approaches(algorithms) to do this?
I'm doing this kind of thing because after I separated that 4-5 leaves, that image is again processed for brown spots on those leaves and shape of the edge to identify some diseases again using image processing. Please someone who has knowledge in this area help me..
I am a new in OpenCV. Currently, I want to write the demo using OpenCV feature matching to find all the similar images from the set of images.
Firstly, I want to try to compare two images first. And I use this code to do:
openCV: creating a match of features, meaning of output array, java
So I tested this code by input two similar images but has one is the rotation. And then I try to input two totally different images such as lena.jpeg vs car.png (any car).
I see that the algorithm still return matches matrix between two those different images.
My question here is how can I point that one case is similar image and one case is not after I got this matrix:
flannDescriptorMatcher.match(descriptor1,
descriptor2, matches.get(0));
because I don't want to draw matching point between two images, I want factor to distinguish those case.
Thank!