Community Profile

photo

Anamika baruah


gauhati university

20 total contributions since 2014

Professional Interests: image processing

Contact

Anamika baruah's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


can anyone tell me about hsv color space and how rgv2hsv conersion work and why it is needed to count no of pixel
[index, map]=rgb2ind(I,65300); pixels= prod(size(index)); hsv=rgb2hsv(map); h = hsv(:,1); s = hsv(:,2); v = hsv(:,3); dark...

5 years ago | 1 answer | 0

1

answer

Question


i want to display two or multiple images in multiple axes how i write the code
b=dlmread('fr.mat') %b1=dlmread(fr) b1=dlmread('frs.mat') sum=0; m=2 for i=1:8 g = (b(i) - b1(j,i))^2 sum=sum+g end dis...

5 years ago | 2 answers | 0

2

answers

Question


how to use radio buttons and execute codes under selected button.I have two buttons local histogram and global histogram
% --- Executes on button press in local_hist. function local_hist_Callback(hObject, eventdata, handles) % hObject han...

5 years ago | 1 answer | 0

1

answer

Question


how to display multiple images in multiple axes
if(E_dist(j) <.0061) subplot(3,3,m) %axes(handles.axes) imshow(I);

5 years ago | 1 answer | 0

1

answer

Question


can any one tell me what does the floating point values mean in the following code
darks = find(v <.2)'; lights = find(s < .05 & v > .85)'; h([darks lights])= -1; disp(length(darks)) black = length(darks)/p...

5 years ago | 0 answers | 0

0

answers

1

answer

Question


how i call function with different parameter.i want call each crop image and want to calculate color feature
I_1=imcrop(I,[1 1 y/2 x/2]) figure,imshow(I_1); I_2=imcrop(I,[y/2 1 y/2 x/2]) figure,imshow(I_2); I_3=imcrop(I,[1 x/2 y/2 x...

5 years ago | 1 answer | 0

1

answer

Question


i have divide n images into 4 equal parts present in the database now i want calculate the color values from each part of the images using the following code.plz ans me
srcFiles=dir('fruits\*.jpg'); for i= 1:length(srcFiles) Filename=strcat('fruits\',srcFiles(i).name); I=imread(Filename); ...

5 years ago | 0 answers | 0

0

answers

Question


please tell me the meaning of following code
darks = find(v <.2)'; lights = find(s < .05 & v > .85)'; h([darks lights])= -1; disp(length(darks)) black = lengt...

5 years ago | 2 answers | 0

2

answers

Question


how i divide n images present in a folder into 4 equal parts
srcFiles=dir('fruits\*.jpg'); for i= 1:length(srcFiles) Filename=strcat('fruits\',srcFiles(i).name); I=imread(Fi...

5 years ago | 2 answers | 0

2

answers

Question


how to display images using subplot in right corner of gui
I = imread('11.jpg'); I = rgb2gray(I); m=1; srcFiles = dir('fruits\*.jpg'); % the folder in which ur images exists for j = ...

5 years ago | 2 answers | 0

2

answers

Question


i have calculated the euclidean distance of one image with 30 images stored in a databse.Now how i display the images having the smallest distance?If i want to display 4 or 5 images
I = imread('11.jpg'); I = rgb2gray(I); m=1; srcFiles = dir('fruits\*.jpg'); % the folder in which ur images exists for j = ...

5 years ago | 1 answer | 0

1

answer

Question


i have created an array of color values of some images,how i insert the name of the images in the array
black = length(darks)/pixels; white = length(lights)/pixels; red = length(find((h >.9167 | h <=.083) & h~=-1))/pixels; ...

5 years ago | 1 answer | 0

1

answer

Question


can any one tell me the meaning of the following lines
[index, map]=rgb2ind(I,65300); pixels= prod(size(index)); hsv=rgb2hsv(map); h = hsv(:,1); s = hsv(:,2); v = hsv(:,3); dar...

5 years ago | 1 answer | 0

1

answer

Question


I have calculate the color histogram values of 30 images in a database. Now i want to calculate the local color histogram values of images dividing the image into 4 equal parts.How i proceed using the following code?
srcFiles=dir('fruits\*.jpg'); for i= 1:length(srcFiles) disp(i); Filename=strcat('fruits\',srcFiles(i).name); ...

5 years ago | 1 answer | 0

1

answer

Question


i have written a code for color moment ,is it appropriate code to calculate color moment from an color image
function colorMoments = colorMoments(image) % input: image to be analyzed and extract 2 first moments from each R,G,B % ...

5 years ago | 1 answer | 0

1

answer

Question


I have written a code to calculate color histogram of an color image..but i donot the meaning of each and every line.can anyone tell me the meaning of each line??
[index, map]=rgb2ind(I,65300); pixels= prod(size(index)); hsv=rgb2hsv(map); h = hsv(:,1); s = hsv(:,2); v = hsv(:,3); dark...

5 years ago | 1 answer | 0

1

answer

Question


I have stored some color values in an array.but it has some exponential values..how i normalise this values in matlab
a(i,1)=red a(i,2)=green a(i,3)=blue a(i,4)=yellow a(i,5)=cyan a(i,6)=magenta a(i,7)=black a(i,8)=white dlmwrite('fr.ma...

5 years ago | 1 answer | 0

1

answer

Question


how to declare vector of size 64
I am trying to declare a vector of size 64 like zeros(64) but it gives all zero values,so i want to know how to declare vector o...

5 years ago | 2 answers | 0

2

answers