How to get fixed dimension feature vectors for different size boxes?
Show older comments
Hi, In my detection task I have bounding box for each training image and those bounding boxes are different sizes for different images. How to get fixed dimension feature vectors for different size boxes? I am using Contourlet transform.
Answers (1)
Image Analyst
on 2 May 2014
0 votes
Maybe they should be different sizes. If you're tracking/detecting fish in a fish tank, then I can see that the bounding boxes will be different sizes from one image to the next, even in the same fish tank.
To get actual real world lengths and areas, you need to image an object of known dimension, such as a ruler. See attached demo.
5 Comments
Image Analyst
on 2 May 2014
And it depends on what is in your feature vector. If it's just mean intensity and area, then yeah, you could have just 2 measurements regardless of the picture size, but if the feature vector is has the centroids of numerous blobs in the box, then it could change on a box-by-box basis because different boxes could have different number of centroids in them. (Example being a box around a word but the word can have different numbers of letters.)
FARHAD
on 2 May 2014
Image Analyst
on 2 May 2014
What are the features that you're measuring, once you've identified the bounding box that contains the car?
Image Analyst
on 4 May 2014
Please post a picture. Also define dimension, as you are using it. If you have a 2D array of 5 rows by 8, is dimension (according to the way you are using it) "2" or "5 by 8"?
Categories
Find more on Image Category Classification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!