Risposto
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...

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

Risposto
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...

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

Risposto
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...

oltre 12 anni fa | 0

| accettato

Risposto
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);

oltre 12 anni fa | 0

Domanda


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...

oltre 12 anni fa | 3 risposte | 4

3

risposte

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

oltre 12 anni fa | 0

Risposto
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...

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 0

Risposto
How to invert the colors in an image
doc imcomplement

oltre 12 anni fa | 0

| accettato

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

circa 13 anni fa | 0

| accettato

Risposto
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 ...

circa 13 anni fa | 0

| accettato

Risposto
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)...

circa 13 anni fa | 0

| accettato

Risposto
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...

circa 13 anni fa | 0

| accettato

Risposto
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...

circa 13 anni fa | 0

Risposto
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 ...

circa 13 anni fa | 0

Risposto
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...

circa 13 anni fa | 1

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

circa 13 anni fa | 3

| accettato

Risposto
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...

circa 13 anni fa | 0

| accettato

Risposto
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)

circa 13 anni fa | 1

| accettato

Risposto
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...

circa 13 anni fa | 0

| accettato

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

circa 13 anni fa | 0

| accettato

Risposto
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',...

circa 13 anni fa | 0

Carica altro