Top 1% contributor
Let say I have matrix of Histograms, where each column is one histogram vector. What I want is to sum two bins each...
Asked 4 years ago
Let say I have Matrix *M* with *i* rows and *j* columns. And one constant number *a* is given. Final output Matrix should be *N*...
An extension of Local Binary Pattern (LBP), that is quantized in nature. Used as descriptor.
4 years ago
The best way is that when you plot give the name to the curve instantly. let say
Answered 4 years ago
Dear.. there can be multiple way. The easy way I think is to parse the string by dividing into tokens. Here is example you reque...
Dear one possible way is this.
clear all; close all;
index = 1;
Lets say you have matrix D and you want to normalize each value of Column to unit length (between 0-1). One possib...
Answered 5 years ago
uint8 is used unsigned 8 bit integer. And that is the range of pixel. We can't have pixel value more than 2^8 -1. Therefore, for...
Let say *A* is the matrix of size _100 x 100_ , A is kind of lookup table.
and There is an other matrix ...
Asked 5 years ago
Could you explain the example little more.
Let say you have binary image *B*, it is already binary so you can convert into ar...
let say your Directory where you image is
myDir = 'images/';
and extension of all images are jpg
ext_img = '*.jpg'...
Lets say you have a curve, and you know one point which you want to highlight. Then simply plot that point with different marker...
if it is mex file, its mean C code for matlab. then simply compile it by this command in matlab editor.
As I understood, you want to do image to image matching. Let say your template image is T, and you set of images D.
Use switches .. I hope it will solve your problem.
% your code here...
It totally depends on type of images and applications. But you can keep various values of Threshold and on each value you calcul...
let say you want to get point (x2,y2) then
x2 = x1 + d * cos(T);
y2 = y1 + d * sin(T);
I hope this is what you wanted...
Well I guess you want to get single scalar value as distance of A2 for each Chanel in A1. If so then I try to do in steps. There...
Similar question was asked.
let say your row vector is:
a=[-90 -54 -12 -2];
b = sort(a,2,'descend');
vector b contains your desired output...
There are couple of ways to do it
1. plot something do this code
set(gcf, 'PaperPosition', [0 0 5 5])...
Dear one possible ways is this...
plot([0 1],[0 i],'color',col(i,...
Matlab has so many online tutorials. Including interactive videos. I have posted some. But you can find many more....
Dear What I understand is you will randomly swap the pixel values of images 6 times. At the end you will have 6 images. Again mu...
Sorry FIR I can't overview your code you sent to me. To compute the Euclidean distance between images or image feature...
There are so many easy and complex ways. The best and the simplest is based on Entropy.
You calculate the Entropy o...
I don't your formula to produce y. But to get equal length vector to a, you should do like this.
a=[1 2 3 4 5];
I didn't test this but hopefully it will solve your problem. Check this link below. Do let us know if it worked.
Dear I guess you have histogram and you want to apply gaussian weight to it. If it is so then let say you have Histogram H. then...
If it is so, then you simply convert that tiff into mat file like this..
let say tif file name is "Example.tiff";
A = imread...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries