15,917,321 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Indranil Pal (Top 9 by date)
Indranil Pal
26-Feb-16 2:23am
View
Thanks @Koolprasad for your suggestion, I too thought of that, but there are more changes in Form application (check my comment above)
Indranil Pal
26-Feb-16 1:58am
View
Thanks for your suggestion d@nish, but in form applications the property files are changed (Resource.Designers.cs and Settings.Designer.cs). Try to create a sample form application in 4.5.2 ,change it to 4.6.1 and then compare the changes, you will know what I am talking about.
Indranil Pal
26-Feb-16 1:06am
View
It's a large enterprise application with lot of components. Any help is appreciated
Indranil Pal
1-Sep-12 14:54pm
View
Thanks for the reply Kenneth, I will go throw the post you have shared.
I'm not sure about the infra red range part though :(
Indranil Pal
12-Jun-12 10:54am
View
I will test the application tomorrow and let you know the final result.
Indranil Pal
12-Jun-12 10:53am
View
Sorry for the previous question .. I got the solution.. while I was converting the grayscale image into byte array the imageformat was incorrect. It should be BMP
Indranil Pal
12-Jun-12 3:23am
View
Hi Muhtarqong, I have tried to convert the images into grayscale by the following method (saw it in stackoverflow)
public static Bitmap ConvertToGrayScale(Bitmap image)
{
int x, y;
Bitmap result = null;
// Loop through the images pixels to reset color.
for (x = 0; x < image.Width; x++)
{
for (y = 0; y < image.Height; y++)
{
Color pixelColor = image.GetPixel(x, y);
Color newColor = Color.FromArgb(pixelColor.R, 0, 0);
image.SetPixel(x, y, newColor); // Now greyscale
}
}
result = image;
return result;
}
But for 2 images(http://www.greatgrubclub.com/domains/greatgrubclub.com/local/media/images/medium/4_1_1_apple.jpg & http://www.onlinesocialmedia.net/wp-content/uploads/2011/02/apple-logo1.jpg) of same dimensions (I have tried with 250X250 px) I am getting different sizes of byte arrays the Apple logo (2nd image) is larger. In this case how do I make sure that the correlation coefficient is correct ? (The correlation coeff can only be calculated for arrays of same size)
Indranil Pal
11-Jun-12 15:56pm
View
@muhtarqong hey thanks a ton.. I knew correlation in mathematics lil bit but now I am clear. So to be precise I will have to convert both images into grayscale and calculate the correlation coeff if the corealtion coeff is high it means the images are similar. I will try this tomorrow and let you know.
Indranil Pal
11-Jun-12 14:35pm
View
@muhtarqong - Thanks a lot for your answer. I will make my understanding clear as per my requirement. I have a database with images of same format and size, and yes it will be feasible to convert the images to the very same format and resolution. But can you please explain me little bit more about the correlation stuff ?
Show More