Hi Pavel,
Until now, I used to directly create sdimages with full 2D/3D images matrixes with the
DATA=SDIMAGE(IM,'sddata')
constructor.
Now, I would like to create sdimage datasets with only some pixels of interest (corresponding to a random object for example) and their features & labels.
I’m wondering if such a possibility already exists?
I have the x and y values for each sample. I tried to manually create the label ‘pixel’ and set an unique value (index) according the corresponding x and y. I also added the ‘image’ label manually.
But this doesn’t seem to work; when I try to display the dataset with ‘sdimage’, i get the following error :
Undefined function or variable ‘imsize’.
Error in sdimage
=> Is there a possibility to create a subset of an image without having to create the image from a matrix first?
Thanks in advance,
Pierre