Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use NN & CNN for RGB images? #177

Open
zhangch3348 opened this issue Jul 21, 2017 · 2 comments
Open

How can I use NN & CNN for RGB images? #177

zhangch3348 opened this issue Jul 21, 2017 · 2 comments

Comments

@zhangch3348
Copy link

Hi, I have a problem for the NN & CNN. Please help me! One row of the sample data MNIST indicates as a handwritten numeral. Each handwritten numeral is a gray image (one band). But my training datas are lots of RGB images (three bands). How can I use NN & CNN for RGB images?

@wajihullahbaig
Copy link

One way is to convert the RGB images to gray scale Or re-write the code to support RGB images. By the way RGB images dont make sense. So just convert them to grayscale using Matlab functions :)

@f123gh
Copy link

f123gh commented Sep 30, 2017

hye!
I need some help regarding Matlab.
From the point cloud 3D data I have to extract specific square area for which i know only 2 corner information i.e upper left x,y,z coordinate and bottom right x,y,z coordinates.
For this i've to apply some codes in MATLAB through which i get my area of interest(AOI) i.e specific square area which i mentioned above.
could you please check my code.Because there accour an error.
M= dlmread('sample_data.txt');
x= -7.836000;
y= 20.534000;
z= 4.541000;
x1= -7.095000;
y1= 20.013000;
z1= 4.675000;
discard = M(:,1) < x(1) | M(:,2) < y(2) | M(:,3) < z(3) | ...
M(:,1) > x1(1) | M(:,2) > y1(2) | M(:,3) > z1(3) ;
Y(discard,:) = [];
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants