Community Profile

photo

Mei Synn Tan


Active since 2017

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


How to automatic rotate the crop rectangle area (imrect function) like image below?
<</matlabcentral/answers/uploaded_files/130560/Example.jpg>> clc; % Clear the command window. close all; % Close...

alrededor de 3 años ago | 1 answer | 0

1

answer

Question


How to Partition the MaxIndex into 16 sub-images and calculate a 5-element histogram for each sub-image? How to create the 80-element Edge Histogram Descriptor EHD feature vector by concatenating the 16, 5-element histograms into one vector?
rgb_im = imread('0002.png'); new_im=rgb2gray(im2double(rgb_im)); %extract only y component y=double(new_im(:,:,1)); ...

más de 4 años ago | 2 answers | 0

2

answers

Question


How to match rotation query image with database image?
1. rotate 45 degree <</matlabcentral/answers/uploaded_files/82203/13100%2045%20degree.png>> 2. rotate 90 degree <</matl...

más de 4 años ago | 1 answer | 0

1

answer

Question


Which invariant image matching do I use? PNG format
1. Query Image <</matlabcentral/answers/uploaded_files/80615/13103%20IP.png>> 2. Database Image <</matlabcentral/answer...

más de 4 años ago | 0 answers | 0

0

answers

Question


Instead of read the whole image first and then take part of feature, but only read this feature part of the image from the beginning, how to do it? Using fread function?
<</matlabcentral/answers/uploaded_files/78374/13100%20IP.jpg>> How to read the feature part of the image (without white color...

más de 4 años ago | 1 answer | 0

1

answer

Question


How to fit the error? Attempted to access hmmdimage(2,2); index out of bounds because size(hmmdimage)=[1,99918].
How to fit the error? Attempted to access hmmdimage(2,2); index out of bounds because size(hmmdimage)=[1,99918]. rgb_...

más de 4 años ago | 1 answer | 0

1

answer

Question


How to change the black color into transparency in png format?
colorImage = imread('13100.png'); grayImage = rgb2gray(colorImage); mserRegions = detectMSERFeatures(grayImage); mser...

más de 4 años ago | 2 answers | 0

2

answers

Question


how to calculate the distance between 2 matrix (without counting the number of 255)?
A = 255 0 135 91 255 255 3 21 255 B = 11 0 135 91 21 97 3 21 218 E_distance = sqrt...

más de 4 años ago | 1 answer | 0

1

answer

Question


When using imread function, the blank area automatic as 255. How to turn the pixel of blank area as empty?
rgb_image = imread('13100 IP.jpg'); <</matlabcentral/answers/uploaded_files/76786/13100%20IP.jpg>>

más de 4 años ago | 1 answer | 0

1

answer

Question


How to solve the Issue with subimages having odd rows and columns, block error?
Image = ('13100.jpg'); Img = imread (Image); [oldx oldy z] = size(Img); x = oldx/4; y = oldy/4; if...

más de 4 años ago | 1 answer | 0

1

answer

Question


How to solve this error (index must be a positive integer or logical)?
function s = subim(f, m, n, rx, cy) %SUBIM Extracts a subimage, s, from a given image, f. %The subimage is of size m-by-...

más de 4 años ago | 1 answer | 0

1

answer

Question


How to use Edge Histogram Descriptor (EHD) to compare 2 Image?
My problem is I do not know how to write EHD code to compare 2 image. Please help me, thanks z = clock; I = imread('a.jp...

más de 4 años ago | 1 answer | 0

1

answer

Question


How to retrieval back the color in particular area from original image?
<</matlabcentral/answers/uploaded_files/72574/13100.jpg>> 13100.jpg colorImage = imread('13100.jpg'); grayImage = rg...

más de 4 años ago | 2 answers | 0

2

answers

Question


How to save all figure as jpeg format in folder?
srcFiles = dir('C:\Users\fit\Documents\MATLAB\H\*.jpg'); % the folder in which ur images exists for i = 1 : length(srcFile...

más de 4 años ago | 1 answer | 0

1

answer

Question


how to combine 2 figure into 1 figure? use copyobj and findobj function
<</matlabcentral/answers/uploaded_files/68799/combine%20figure%201%20and%202.jpg>> fig1 = open('1.fig'); axesObjs = get(...

casi 5 años ago | 1 answer | 0

1

answer

Question


How to display all selected region in the one figure?
<</matlabcentral/answers/uploaded_files/68245/100070-5.jpg>> N = 5 ; I = imread('13170.jpg'); iwant = cell(N,1) ; ...

casi 5 años ago | 3 answers | 1

3

answers

Question


It's using imellipse that does the job for 5 region, but only the last region is displayed. How to do for each region save to array, for each array draw it out, then for each object in array draw it out. Thanks
N = 5 ; I = imread('13170.jpg'); im = imshow(I); for i = 1:N e = imellipse(gca);% now pick ROI setColor(e, 'red...

casi 5 años ago | 1 answer | 0

1

answer

1

answer