Feeds
질문
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...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
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)); ...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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_...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to change the black color into transparency in png format?
colorImage = imread('13100.png'); grayImage = rgb2gray(colorImage); mserRegions = detectMSERFeatures(grayImage); mser...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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>>
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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-...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 9년 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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(...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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) ; ...
거의 9년 전 | 답변 수: 3 | 1
3
답변질문
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...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
How to create multiple ROI in the same figure? I'd like to manually draw multiple region on an image to create a mask of the drawn regions. I attached the code to do it using ellipse that does the job for 5 region, but only last region is displayed.
I = imread('13170.jpg'); im = imshow(I); e = imellipse(gca);% now pick ROI BW = createMask(e,im);% get BW mask for th...
거의 9년 전 | 답변 수: 1 | 0
