Azzera filtri
Azzera filtri

comparing an image with .mat file with 100 images

1 visualizzazione (ultimi 30 giorni)
ravi
ravi il 27 Ago 2013
Commentato: Image Analyst il 24 Giu 2022
I have created .mat file with 100 images of cars and now i want to compare the image with cars, with the images in the .mat file and have to display the cars in the image separately can any one give me a sample code for this please.
thanks in advance.
  4 Commenti
Saad Rana
Saad Rana il 24 Giu 2022
Can you help me with creating .mat file with 85 images?
Image Analyst
Image Analyst il 24 Giu 2022
Sure, start a new question and say why you need that versus just having the images stored in normal files in a folder, or using an imageDatastore, after reading this:

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 27 Ago 2013
How about subtracting them? We have no idea how you'd like to compare the test image to the images stored in the .mat file.
  5 Commenti
ravi
ravi il 28 Ago 2013
Modificato: ravi il 28 Ago 2013
Walter Roberson i have seen that link 2 days back, but the problem is i cant understand whether i have to give the region that i am interested in every image in positive sample which is saved in .mat file.As i need to identify car in the image whether i have to draw the box around the car in every image in the positive sample before saving them in .mat file.
please give me clarification on that.
thanks
Image Analyst
Image Analyst il 28 Ago 2013
If you have the bounding box, you can call imcrop() to save that subimage to a file - you don't actually need to plot the box around the car in the overlay in order to crop it and save it.

Accedi per commentare.

Categorie

Scopri di più su Image Processing and Computer Vision in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by