|
Haha, well played Mark. Well played.
|
|
|
|
|
Sir,
Actually I am a student and very much interested to do a different project like this. Although I know about my very poor knowledge over such programming capability. At least I want to do RBC or WBC counting.
|
|
|
|
|
Machine vision is a univeristy research grade project. So what you're telling us is that you want a solution completely written for you, that would normally cost hundred of thousands of dollars to develop, for free?? Am I reading this correctly??
BTW: What are you charging your client??
|
|
|
|
|
Sir,
I know its a great project. But I am trying to do at least I can. I don't need complete solution written for me but only want how I can count different shape of objects using c# language.Because cell are of different types. I have discussed with pathologies and study different journal written over it.
sir, I am not a employee or I have no client but a student want to do this project for my own interest.
regards
Mohammad Shakil
|
|
|
|
|
Let's see. You have very little programming experience (quoted from your reply to Christian) and you want to take an an extremely advanced programming problem?? Yeah, good luck with that. As I said before, this is a final-year, university research level, and beyond, project. If you have so little experience, you're going to find this impossible.
|
|
|
|
|
Md. Shakil wrote: need to complete a project called "Computer Vision based Human blood Recognition and counting"
I used some tools of AForge.NET for cell count (as object count) but it gives incorrect result. How i can count cell from microcopic picture.
I badly need a solution.
I used connected component labelling method from AForge.NET but it does not work. Is my method is wrong?
I have two requirement
1)blood cell count
2) blood cell recognition (eg; roundness, saliency, diameter, orientation etc)
can any body help me in this regard...
You could always read this[^] document that's freely available on the web.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Yet another outsourcing moron takes work well outside his ability, tries to get us to write it, and does not even reply when people respond. contact your client and tell them you are a thief. This project, more than most, will get you in legal trouble if you keep it and it's this far beyond you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dear Sir,
Pardon me. I know about my very little knowledge about programming. But I am trying to do this. I could not respond due of lacking internet connectivity for few days.
I have no client.I am a student.I know it is a gigantic project for a single person like me. But I am trying to implement some of the feature using some algorithm published in some journal. I have studied wiki too.
There exist some concept like this.
regards
Mohammad Shakil
|
|
|
|
|
I'd suggest popping along to here[^] and asking your question.
You almost certainly won't get the answer you seem to be looking for (aka plz send codez) but it would be more relevant, I think, than this forum
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
Dear Sir,
Thanks for your suggestion.
Mohammad Shakil
|
|
|
|
|
Dear Sir/Madam,
I am a B.Sc. final year student. I am trying to do this for final year project.
I have obtained the concept from a journal and a website that it is possible to count different blood cell based on microscopic image. For this I have selected "Computer vision based human blood cell recognition and counting".
I have taken this project to do as my own interest not for another purpose.
I know it is very hard to me to do the project. I am following some algorithm given by the journal. I am practicing using some method described in a library AForge.NET. I also download EMGU cv and trying how i can use this library for my project.
In this time I at least want to count RBC (red blood cell) and WBC (white blood cell) of total count. I have studied different journal but could not get code help properly.
Can anybody give me tips and some source help please.
I will try my best to do this as I can.
regards
Mohammad Shakil
shakil0404036@yahoo.com
|
|
|
|
|
Hello, I am trying to stream multiple byte[]'s to a web browser making it seem as if it is just one file. I can easily do one, but have multiple to stream.
Coding Language: C#
Thanks
~Any help is good help...
|
|
|
|
|
How do you expect this to work ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I would presume that it would be run in a web server, perhaps as a Service. When a request is made for the stream, it would iterate through each of the given System.IO.Streams and send the data. When a System.IO.Stream is at the end, it would move to the next System.IO.Stream and repeat the process.
Of course, this would probably have its own set of problems, like handling different file formats.
At least, that's how I read it
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
I read it that the multiple streams are simultaneous. Otherwise, it doesn't seem like it's a big issue to me, depending on what the streams are, it could be trivial
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I was hoping one filestream to read multiple byte[]'s....
All byte[]'s would be pdf files...
Newbie at the whole streaming thing...not sure if this is even possible..
Thanks,
ZachBob
~Any help is good help
|
|
|
|
|
If you're going for PDFs, then you shouldn't be reading them as raw byte arrays. Use a PDF reading library, put all the pages into one byte array, then send that. You could theoretically stream it one page at a time to save memory, but I can't help you with that
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
I was thinking of reading the byte[]'s into a filestream...?!?!not really sure...kind of new to the streaming process...or is this a unrealistic thought??
Thanks
~Any help is good help
|
|
|
|
|
Why can't you stream one array after another until all arrays have been sent?
The client end doesn't care how many arrays it took on the server to compose a stream.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi guys! I have an image that I need to process. Actually I want to change brightness and contrast level. I tried to use a lot of algorithms and filters for processing such as AForge.Imaging.Filters, Color Matrix and many many others but no one can't provide a high processing performance. The main idea - to make a program which will allow to change brightness and contrast of the image in realtime by using TrackBar component like it realized in Adobe photoshop or in Windows Vista Photo Gallery in Photo Editing mode. The main problem - processing performance. For small size images Aforge filters works perfectly, but if I try to process the image which has been made by the 9.0Mpx digital camera, with resolution 3712x2088 it becomes a really big problem. Aforge brightness filter works too slow for big bitmaps. If anybody know how to resolve this problem, please help. I wish to know how brightness correction works in Vista Photo gallery... It can change brightness for any image with any size in realtime with incredible speed even if you will shake trackbar pointer side by side. How did they realized it??
|
|
|
|
|
The easiest way to do this is with a color matrix set for brightness and contrast changes. Fotovision ( the MS sample ) has examples
Ultimately, those programs are faster b/c they are written in C, not C#
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
How is that different from yesterday's post[^]?
Pull this one again, and your brightness could become zero, as in blacklisted.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I've found one cool algorithm for brightness and contrast's change.
public static bool Brightness(Bitmap b, int nBrightness)
{
if (nBrightness < -255 || nBrightness > 255)
return false;
BitmapData bmData = b.LockBits(new Rectangle(0, 0, b.Width, b.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb);
int stride = bmData.Stride;
System.IntPtr Scan0 = bmData.Scan0;
int nVal = 0;
unsafe
{
byte * p = (byte *)(void *)Scan0;
int nOffset = stride - b.Width*3;
int nWidth = b.Width * 3;
for(int y=0;y<b.Height;++y)
{
for(int x=0; x < nWidth; ++x )
{
nVal = (int) (p[0] + nBrightness);
if (nVal < 0) nVal = 0;
if (nVal > 255) nVal = 255;
p[0] = (byte)nVal;
++p;
}
p += nOffset;
}
}
b.UnlockBits(bmData);
return true;
}
public static bool Contrast(Bitmap b, sbyte nContrast)
{
if (nContrast < -100) return false;
if (nContrast > 100) return false;
double pixel = 0, contrast = (100.0+nContrast)/100.0;
contrast *= contrast;
int red, green, blue;
BitmapData bmData = b.LockBits(new Rectangle(0, 0, b.Width, b.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb);
int stride = bmData.Stride;
System.IntPtr Scan0 = bmData.Scan0;
unsafe
{
byte * p = (byte *)(void *)Scan0;
int nOffset = stride - b.Width*3;
for(int y=0;y<b.Height;++y)
{
for(int x=0; x < b.Width; ++x )
{
blue = p[0];
green = p[1];
red = p[2];
pixel = red/255.0;
pixel -= 0.5;
pixel *= contrast;
pixel += 0.5;
pixel *= 255;
if (pixel < 0) pixel = 0;
if (pixel > 255) pixel = 255;
p[2] = (byte) pixel;
pixel = green/255.0;
pixel -= 0.5;
pixel *= contrast;
pixel += 0.5;
pixel *= 255;
if (pixel < 0) pixel = 0;
if (pixel > 255) pixel = 255;
p[1] = (byte) pixel;
pixel = blue/255.0;
pixel -= 0.5;
pixel *= contrast;
pixel += 0.5;
pixel *= 255;
if (pixel < 0) pixel = 0;
if (pixel > 255) pixel = 255;
p[0] = (byte) pixel;
p += 3;
}
p += nOffset;
}
}
b.UnlockBits(bmData);
return true;
}
This is 'pixel per pixel' algorithm with unsafe code which gives you a really great performance even for big images.
|
|
|
|
|
Hi,
Firstly, I am trying to create a quick hardcoded application to monitor the filesize of any file using FileSystemWatcher.
My problem is that the file I am trying to monitor is ALWAYS in use. This is expected because it is a data file that is always open by another application. I would like to see how the data file size changes over time.
If I try to access the properties of this file while it is in use, I get a file in use exception, which is kind of expected.
The event is triggered by a filesize change and it works if I do not try to access the file to get the filesize. But then this application would be meaningless.
To get the filesize, I am using the FileInfo class.
Does anyone know some workaround or how I can avoid this problem? (Without actually closing the data file) No need to go into a lot of detail, I'll google it but I could just use a hint though, if it's possible
Maybe I could somehow check the filesize on a system level? (i.e. the file size that windows sees and displays on rightclick -> properties instead of actually accessing it?)
Thanks,
See_Sharp
modified on Thursday, July 16, 2009 11:56 AM
|
|
|
|
|
This seems to work for me using FileInfo even if the file is in use...
foreach (FileInfo info in new DirectoryInfo(@"C:\test").GetFiles())
{
Console.WriteLine(info.Length);
}
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|