I.e. how to convert a signal program to an image program in matlab.
I got idea use two for loop according to image dimension in the place of signal
Can you explain what does it mean 'signal program' and 'image program'?
Maybe 'reshape' function is what are you looking for?
A = imread(FILENAME,FMT) reads a grayscale or color image from the file
specified by the string FILENAME. If the file is not in the current
directory, or in a directory on the MATLAB path, specify the full
pathname.
The text string FMT specifies the format of the file by its standard
file extension. For example, specify 'gif' for Graphics Interchange
Format files. To see a list of supported formats, with their file
extensions, use the IMFORMATS function. If imread cannot find a file
named FILENAME, it looks for a file named FILENAME.FMT.
The return value A is an array containing the image data. If the file
contains a grayscale image, A is an M-by-N array. If the file contains
a truecolor image, A is an M-by-N-by-3 array. For TIFF files containing
color images that use the CMYK color space, A is an M-by-N-by-4 array.
See TIFF in the Format-Specific Information section for more
information.
Suppose the file myImage.tif contains an RGB image (noncompressed) of size S1xS2. Use the following commands to convert this image:
A = imread('myImage.tif');
% A is an S1xS2x3 array of uint8.
A = double(A);
Xrgb = 0.2990*A(:,:,1) + 0.5870*A(:,:,2) + 0.1140*A(:,:,3);
NbColors = 255;
X = wcodemat(Xrgb,NbColors);
map = pink(NbColors);
The same program can be used to convert BMP or JPEG files.
Can you describe the purpose of the operation? Do you need the result to be shift, rotation or scale independent? Each of those properties will be effected by your choice of sampling geometry and pseudo-convolution kernel.
Does anybody know that IEEE Explore indexed papers are indexed by SCOPUS too or not ?
07 August 2015 8,380 4 View
Can anyone provide the link .Suggest me free version
02 March 2015 5,113 3 View
Plot between specificity and sensitivity.
01 February 2015 9,563 6 View
If there is three classes
01 February 2015 6,281 5 View
I need fuzzy-SVM
01 February 2015 2,370 3 View
See above
01 February 2015 8,107 4 View
Can anyone help to write this?
01 February 2015 4,500 2 View
which is feature selection technique. I think it gives better results than Genetic algorithm
11 December 2014 9,162 7 View
I used PCA and GA but I got only ranking of features I was unable to find best features
10 November 2014 6,583 20 View
I know that both are edge detectors any thing else
08 September 2014 8,146 3 View
Hi all, my experimental XPS results shown that my C3N5 sample consists of N-H bond, hence in this case I should incorporate the N-H bond into my DFT modelling. However, I do notice several papers...
07 August 2024 8,414 2 View
I would like to understand potential safety concerns while handling SEB in the lab. Especially while working in animal house facility. Would like to know precautions for handling. Sigma MSDS...
07 August 2024 6,034 3 View
During low-temperature testing, new diffraction peaks that appear could be indicative of several phenomena. In one of our tests, we observed notable new peaks around 40° and 45° in a specific...
06 August 2024 726 3 View
Is it possible to conduct a molecular dynamics simulation to see the effects of a specific carbohydrate on the structure of lipids (e.g., micelle structure)? I am a beginner in this field and plan...
03 August 2024 3,371 3 View
I am using a windows system, what software I should use for hydration shell analysis with molecular dynamics?
02 August 2024 3,143 4 View
Can we patent a process flow diagram developed using a process simulator but no actual cases is carried out? For example consider a process for certain product manufacture where a new process flow...
31 July 2024 781 1 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Hello, colleagues. Recently, I have been working on a metal processing simulation with my UMAT in Abaqus. I have outlined the corresponding simulation, but I keep encountering issues that cause...
30 July 2024 7,062 1 View
I would like to calculate the formation energy of P2-Na0.67Fe0.5Mn0.5O2 based on DFT, what should I do step by step. Any help would be appreciated. Thanks.
29 July 2024 8,248 2 View
Some Staphylococcus aureus strains Inhibit the growth of Mycobacteria in Mueller Hinton Agar medium containing 10% OADC. Do some Staphylococcus aureus strains have in vitro antimycobacterial activity?
29 July 2024 10,023 2 View