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 2 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*...
Asked 3 years ago
An extension of Local Binary Pattern (LBP), that is quantized in nature. Used as descriptor.
3 years ago
The best way is that when you plot give the name to the curve instantly. let say
Answered 3 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;
Let say *A* is the matrix of size _100 x 100_ , A is kind of lookup table.
and There is an other matrix ...
Could you explain the example little more.
Let say you have binary image *B*, it is already binary so you can convert into ar...
Answered 2 years ago
let say your Directory where you image is
myDir = 'images/';
and extension of all images are jpg
ext_img = '*.jpg'...
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...
Lets say you have matrix D and you want to normalize each value of Column to unit length (between 0-1). One possib...
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...
Lets say you have a curve, and you know one point which you want to highlight. Then simply plot that point with different marker...
it will refresh. And update the contents dynamically, either you delete something from...
Dear you just have to drag the mouse to make rectangle and then right click and select "Copy position". The cropped region will...
this should work
str = 'acc_';
index = 1;
final = zeros(2560,797); % declare your new matrix
Join the conversation