![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2038935.jpg)
Chandra Kurniawan
National Institute of Technology Indonesia
Followers: 0 Following: 0
Learn digital image processing with Matlab.
I regularly delete my unaccepted answers.
Professional Interests: Image processing
Feeds
How do I combine multiple plots in one graph?
To combine multiple plots in one graph, use the “hold on” command, such as: plot(1:10) hold on plot(11:20) hold off ...
6 years 前 | 11
| 已接受
Convert AVI file to series of images
Hi, This is the simpler version : obj = mmreader('rhinos.avi'); vid = read(obj); frames = obj.NumberOfFrames; f...
12 years 前 | 4
| 已接受
Image to binary conversion
for i = 1 : a for j = 1 : b k{i,j} = dec2bin(image(i,j)); end end please use cell-array to s...
12 years 前 | 0
| 已接受
matlab code
The error message sounds you accessed X(213,1) while the size of X is 212x320 X is a gray image generated from command : X = ...
12 years 前 | 0
| 已接受
resize subplot
Hi, Pan You can use 4 axes and replace command subplot with imagesc(vid2(:,:,:,frame3),'parent',axeshandle); This is...
12 years 前 | 0
| 已接受
make history
Hi, Rahma I have seen your picture. I think I cannot do it with your way. Imagine if we have A-m-5 in 1st component an...
12 years 前 | 1
| 已接受
combine binary image
Hi, I think, first you should check whether the data is empty or not using for-loop. hnd = {handles.cJalan,handles.cSung...
12 years 前 | 1
| 已接受
how to use fopen in this situation?
Hi, ts is cell array. please try ts = cell2mat(ts); after line ts = inputdlg(prompt,dlg_title,num_lines,def...
12 years 前 | 1
| 已接受
how to saving image of quadtree from axes
Hi, Elsya please try to add this line ImQuadtree = 255*ImQuadtree; after line : ImQuadtree = getimage(handles.qu...
12 years 前 | 0
| 已接受
how to use button that controls video?
function vidplayer() obj = mmreader('rhinos.avi'); v = read(obj); hstat = uicontrol('unit','pixel','style','checkbox'...
12 years 前 | 0
| 已接受
linking GUIs in MATLAB
Hi, Let say I have 2 GUIs. untitled1 untitled2 In first GUI I have pushbutton to call the second GUI. Just...
12 years 前 | 1
| 已接受
External functions (with a GUI)
Hi, Maybe this will helps. I have GUI as shown in picture below : <<http://i1196.photobucket.com/albums/aa410/nasa078/M...
12 years 前 | 1
| 已接受
use subplot play video
Hi, maybe obj = mmreader('xylophone.mpg'); vid = read(obj); for frame = 1 : size(vid,4) bw = im2bw(vid(:,:,:,f...
12 years 前 | 0
| 已接受
centroid of an image
Hi, did you mean 'find centroid of objects in an image'?? use *regionprops* with property : centroid Eg : stat = regio...
12 years 前 | 6
| 已接受
create target for neural network
Hi, Remo Feature vector that extracted from an image ideally m x 1 matrix. You said that it's 42 x 42. Is it means 42 feat...
12 years 前 | 1
| 已接受
How to Capture objects in big image and divided them to small images?
This code works just for this image only Irgb = imread('b653er.jpg'); Igray = rgb2gray(Irgb); Ibw = im2bw(Igray,grayt...
12 years 前 | 0
| 已接受
How to crop out the barcode??
D = C > 20; Ilabel = bwlabel(D); stat = regionprops(Ilabel,'boundingbox'); for x = 1 : length(stat) Icrop{x} =...
12 years 前 | 0
| 已接受
need help on a simple question.
Hi, please replace * fprintf ('The char is %4s\n','s',char)* with * fprintf ('The char is %s\n',char);*
12 years 前 | 0
| 已接受
Introducing a border/outline to objects in an image.
Irgb = imread('ap78s9.jpg'); Igray = rgb2gray(Irgb); Ibw = im2bw(Igray,graythresh(Igray)); Ifill = imfill(Ibw,'holes'...
12 years 前 | 1
| 已接受
how to insert elements in listbox?
*In openingfcn* function untitled_OpeningFcn(hObject, eventdata, handles, varargin) handles.output = hObject; handles...
12 years 前 | 4
How to get the barcode region to red color??
Hi, Kim I agree with you. To determine the barcode just use boundingbox from regionprops :) Irgb = imread('15wmqe9.jpg')...
12 years 前 | 0
Textscanning and exporting several text files
Hi, Liisa Look at line data = textscan(fid, '%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f'); Did you mean data = textscan...
12 years 前 | 0
| 已接受
how to insert elements in listbox?
Hi, Usama. Maybe you are seeking for something like this? <<http://i1196.photobucket.com/albums/aa410/nasa078/Mathworks/GU...
12 years 前 | 4
| 已接受
How to save a variable which changes runtime in Matlab?
Did you mean : clear; for i = 1 : 3 s(i) = i; if i == 1 save indice.mat s; else ...
12 years 前 | 0
| 已接受
How to get the barcode region to red color??
When use the first image (vertical barcode image), I just simply try to change the position of *abs(dIx)* and *abs(dIy)* int...
12 years 前 | 1
| 已接受
Pattern Recognition with Perceptron
Hi, Benard A perceptron can be created with the *newp* function. Eq: net = newp(PR,S,TF,LF); - PR is m x 2 matrix of [...
12 years 前 | 0
| 已接受
3D roataion of image (jpg image)
Hi, I have read your message to my email. I see your problem. Imrotate cannot rotate an image in z - direction. Please ...
12 years 前 | 1
About edge detection
Hi, Priyanka Generally, you can perform edge detection with *edge* command from Matlab. Which operator? Sobel, prewitt, ca...
12 years 前 | 0
| 已接受
About RGB color space.
Hi, Priyanka What does 'find RGB color space from RGB color image' means? Please see at : http://www.mathworks.com/help...
12 years 前 | 0
| 已接受
about conversion of color spaces
rgb2ycbcr MATLAB YCbCr color space is often referred to as YUV.
12 years 前 | 0
| 已接受