Splitting an image into smaller regions
조회 수: 18 (최근 30일)
이전 댓글 표시
Hi Guys,
I'm working on a code that creates an RGB descriptor for visual search. i've managed to implement the rgb descriptor on the whole image. but i wanted to experiment by splitting the same image up into smaller areas and rerun the experiment by calculating the rgb descriptor on smaller parts of the image.
the reason behind this, is because i'm using a query image against a dataset in order to find visually similar results. but if i split up my image into smaller pieces, i got a feeling it will be more accurate.
my question is, is there a function or piece of code that could help me with this?
Thanks
댓글 수: 0
채택된 답변
Image Analyst
2018년 2월 26일
See the FAQ for 2 different ways, depending on how you want to do it.
댓글 수: 0
추가 답변 (2개)
hasan alhussaini
2018년 3월 17일
댓글 수: 4
Image Analyst
2018년 3월 17일
So you have 2x4 = 8 total histograms, and you want to sum all the bins to get the histogram of the complete array? Well, if so, that would simply be the histogram of the entire, complete image. Why should it be any different??? Then if you sum that histogram, it's simply the sum of all pixel values. Again, why do you expect anything different?
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!