| Question about defining a structure (in the field of image processing and pattern recognition) [message #47728] |
Wed, 22 February 2006 10:47 |
Fritz
Messages: 7 Registered: February 2006
|
Junior Member |
|
|
Hello group,
In the field of image processing...
Let say that I have an image composed of three bands (red, green and blue).
I want to extract some examples (samples or sub-images) about some classes
of interest.
For example, three classes could correspond to three types of cars...
I am drawing 2 samples for class_1, 3 samples for class_2 and 1 sample for
class_3.
Finally, I want to save the information in a structure so that I can
retrieve the information latter.
I was thinking about something like this:
classes[0].samples[1].bands[2]
which would give me, for example, the sub-image (band 3) of the sample 2
belonging to class 1.
How to I define the structure ?
Is it a structure in a structure in a structure ?
Note that the number of bands could vary and that sub-images may be of
several sizes (columns and rows).
Thanks,
Fran�ois Leduc
|
|
|
|