Respondida
how to mask on roi area
you can ask user to interactively specify ROI: I = imread('fullfilename'); imshow(I) h = imfreehand(gca); wait(h) % wai...

más de 12 años hace | 0

Respondida
pan and zoom on image
Simultaneous pan and zoom: <http://blogs.mathworks.com/pick/2005/02/24/simultaneous-pan-and-zoom/>

más de 12 años hace | 0

Respondida
vec2mat function unrecognized by Cody
*vec2mat* is defined in Communication system toolbox and cody doesn't recognize toolbox functions.

más de 12 años hace | 0

| aceptada

Respondida
can I process on video which is live capturing by camera ?
you need to capture snapshots from live video in order to process them. vidobj = videoinput('winvideo'); snapshot = getsn...

más de 12 años hace | 0

| aceptada

Respondida
How to implement gray level probability density function?
you can use built in function *imhist*.

más de 12 años hace | 0

Respondida
Plotting RMS from .csv files
RMS = (sum(col2.^2)/length(col2))^0.5;

más de 12 años hace | 0

| aceptada

Respondida
how to numbering the objects in the binary image ?
Go through this demo: <http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial-blobsdemo>

más de 12 años hace | 0

Respondida
How to get the YUV value for each pixel?
if you have a RGB image you can convert it into YUV using below mentioned equations: Y = R*(0.299000) + G*(0.587000) + B*(0...

más de 12 años hace | 0

| aceptada

Respondida
How to separate the color components of the color image
[I map]=imread('kids.tif'); RGB = ind2rgb(I, map); R = RGB(:,:,1); G = RGB(:,:,2); B = RGB(:,:,3);

más de 12 años hace | 0

Pregunta


How to add a folder permanently to matlab path?
I am using addpath to add specified folders to matlab path, but it removes the folders from the matlab path everytime the applic...

más de 12 años hace | 3 respuestas | 4

3

respuestas

Respondida
replace the elements of a matrix
A(find(A==1))=B;

más de 12 años hace | 0

Respondida
How to obtain the DCT ( discrete cosine transform )?
The image must be an indexed image not a RGB image. You shall use ind2gray. [I, map]=imread('kids.tif'); I1=ind2gray(I,map...

más de 12 años hace | 0

| aceptada

Respondida
Need basic help with low pass filtering
go through fdesign documentation: doc fdesign;

más de 12 años hace | 1

Respondida
poincare plot of heart sound
X = RRI; X(end)=[]; Y=RRI; Y(1)=[]; plot(Y,X,'.');

más de 12 años hace | 0

Respondida
How to invert the colors in an image
doc imcomplement

más de 12 años hace | 0

| aceptada

Respondida
How to use gplot for co-ordinates
gplot(eye(length(x)) , [x' , y'], '*'); % x and y are row vectors containing co-ordinates.

casi 13 años hace | 0

| aceptada

Respondida
how to code rbg colour intensity of an image?????
you can extract all the three color planes using: R = YourImage(:,:,1); % Red color plane G = YourImage(:,:,2); % Green ...

casi 13 años hace | 0

| aceptada

Respondida
I need help with this trivial function.
This isn't a script, it's a function. You need to pass input argument while calling the function. x = 4 ; y = fibonacci(4)...

casi 13 años hace | 0

| aceptada

Respondida
how to add data to a gui table
scope of data is local to the function is defined in.It can't be used outside that function. If you still want to access it in a...

casi 13 años hace | 0

| aceptada

Respondida
How to increase amplitude of a peak in fft in MATLAB?
In the other software you might be plotting fft against indices and here you are doing it differently i.e fft vs frequency sa...

casi 13 años hace | 0

Respondida
Plotting Issue? Conversion of one type of plot to other?
set(gca, 'xcolor' ,[1 1 1] ,'xtick' ,[]) x - axis is still there, but it just makes it invisible by setting axis color ...

casi 13 años hace | 0

Respondida
I am getting an error that reads Index exceeds matrix dimensions. Error in lab09 (line 14) Both_Team_Scores=Full_Season(2:37,6:25);
use dbstop if error to debug your code, it will give exact location to where your code hangs. dbstop if error YourFunction...

casi 13 años hace | 1

Respondida
Saving an axes as jpg file using saveas
F = getframe(handles.axes1); Image = frame2im(F); imwrite(Image, 'Image.jpg')

casi 13 años hace | 3

| aceptada

Respondida
Plotting data from one GUI to other
You'll need to store handle of the 2nd figure/GUI in root. You can achieve this by typing the following code in opening function...

casi 13 años hace | 0

| aceptada

Respondida
Is it possible to pass an image as an input to a function in Matlab?
An image is nothing but a matrix, so you can pass it like any other variable. I=imread('YourImage'); yourFunction(I)

casi 13 años hace | 1

| aceptada

Respondida
error while using imshow function.
You should specify full image name(extension too ) within singles quotes. You are getting this error because logo is a predefine...

casi 13 años hace | 0

| aceptada

Respondida
How to reset toggle buttons with a push button?
push buttton callback: set(handles.togglebutton1,'value',0); set(handles.togglebutton2,'value',0);

casi 13 años hace | 0

| aceptada

Respondida
Font of a toggle button to change on a toggled state?
Type the following code in Togglebutton callback: h = get(hObject,'value'); if h set(handles.togglebutton1, 'string',...

casi 13 años hace | 0

Cargar más