photo

fiona rozario


D Y Patil

Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Troubleshooting code for prompt and inputdlg
The following code works fine for any user input for N: N = input('Number of pieces to break into '); rowgroups =...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Retrieving the original LSBs in LSB steganography
I am working on a project where I need to divide an image file into smaller parts (no. of parts is user input). Let's say, 2 par...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Code debugging help needed
I have the following code: clc; close all; clear; workspace; N=3; % Select file ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


How can I change the LSBs of consecutive elements of an array?
I have a row matrix a = [23, 255, 67, 89, 45, 90, 34, 12] and a number, n = 3 (of 8 bits) which I want to hide in the LSBs of ev...

mer än 7 år ago | 2 answers | 0

2

answers

Question


How to display images from a cell array?
I have 5 images in a cell array 'imageshares' and I want to display them individually. figure image(imageshares...

mer än 7 år ago | 2 answers | 0

2

answers

Question


How to divide a matrix into a variable number of smaller matrices?
My task is to divide an image into smaller parts. The dimensions of the image will be variable and I need to divide the image by...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Separating RGB components from two different .png files
I used a file 'facebook.png' and separated the RGB components. The following code worked fine. if true red=f(:,:,1); %Si...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Image created but not of supported file type
I am encrypting an image and displaying the encrypted image and also saving it in the default directory with a .jpeg extension....

mer än 7 år ago | 1 answer | 0

1

answer

Question


Problem with reading and writing an image
I have two programs - one to encrypt and the other to decrypt an image. At the end of the encryption, I am concatenating RGB ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


How to save an image from imshow() as a .jpeg?
I am creating an RGB image and displaying using imshow(). Once the image is displayed, if I save the image as .jpeg, it gets a w...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Regenerating an RGB image from its components
I extracted the red component of an image and displayed the image with just the red component and I got the following result: ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Help in troubleshooting a code
f=imread('Image.jpeg'); red=f(:,:,1); [r,c]=size(red) z=zeros(r,c); for i=1:r for j=1:c z(i,j)=dec2hex(red...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Compare matrices from different programs
I have two matrices created from two different programs. Matrix A from program A and matrix B from program B. The matrix sizes a...

nästan 8 år ago | 2 answers | 0

2

answers

Question


Separate the digits in a hex number
I want to use the digits from hex numbers as indices to a lookup table. Eg: if the number is A9, A corresponds to the row of the...

nästan 8 år ago | 2 answers | 0

2

answers

Question


Using imported lookup tables from Excel
I am new to Matlab and want to use lookup tables. Using the Matlab help on lookup tables I found the following code to import a ...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Remove space around generated image
I am encrypting an image and have generated the encrypted image matrix of dimension (183x275x3). But when I display the image (s...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Multiple outputs for the same function
I am using a function in my code whose output needs to be assigned to different variables as per the input variable that I pass ...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Troubleshooting a 'for' loop code - help!
This is my code - <</matlabcentral/answers/uploaded_files/69562/Screen%20Shot%202017-02-11%20at%201.58.46%20PM.png>> The ...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Logical left shift and truncate bit length
I need to convert a decimal number to binary and perform a left shift operation. Ex: If the decimal is 135, its binary is '10...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Problem with decimal to binary conversion
I am using dec2bin() to convert '87' to its binary value. The function is returning '01010111'. I can't understand this output s...

nästan 8 år ago | 2 answers | 0

2

answers

Question


Refer to elements in a matrix
I have a 16 x 16 matrix defined and I need to pick the elements from this matrix based on some other numeric data that I will be...

nästan 8 år ago | 2 answers | 0

2

answers

Question


What do you mean by 'image is decomposed into vectors'?
I am reading through a paper (attached) which is on encrypting images through Vector Quantization. I want to know the meaning of...

ungefär 8 år ago | 0 answers | 0

0

answers