segment image to features

1 view (last 30 days)
Ahmad Alosta
Ahmad Alosta on 25 Sep 2022
Edited: Ahmad Alosta on 26 Sep 2022
How can I get the image feature vectors from a segmented image using MTLAB?

Answers (1)

Image Analyst
Image Analyst on 25 Sep 2022
It totally depends on what features you want to measure. There are no generic "features" for an image. You have to say what you are interested in. Maybe it's the brightness or size of something in your image. Maybe it's the velocity of moving particles or the color of something. You forgot to attach your image and say what you'd like to measure.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
See my Image Segmentation Tutorial here:
  3 Comments
Dumbledore
Dumbledore on 25 Sep 2022
given such and image matrix B as input, returns a feature vector
Image Analyst
Image Analyst on 26 Sep 2022
@Ahmad Alosta not sure what @Dumbledore's reply to you meant so I'll let him answer that.
To get the "ones" digit of an integer, you can do this:
v = randi(1000, 1, 30)
v = 1×30
490 839 723 905 492 631 134 384 493 104 78 555 485 83 237 645 679 678 432 931 669 13 867 90 266 183 416 183 712 307
onesDigit = mod(v, 10)
onesDigit = 1×30
0 9 3 5 2 1 4 4 3 4 8 5 5 3 7 5 9 8 2 1 9 3 7 0 6 3 6 3 2 7

Sign in to comment.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!