Click here to Skip to main content
15,916,945 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
hi friend I want to separate an green ,blue & red sub image from an jpeg image to work on each sub image is there any method to separate the image in c# please help me.
Posted
Comments
Tejas Vaishnav 16-Sep-11 2:49am    
What you want to do..
like crop or any thing else

please give some detail
maheshpardeshi 16-Sep-11 3:55am    
I want to divide a jpeg image into four sub groups two green sub image,one red sub image & one blue sub image.
Sergey Alexandrovich Kryukov 23-Sep-11 19:06pm    
It depends on what UI library you use, WPF or System.Drawing (which is usually used with System.Windows.Forms but could be used in WPF with extra effort)? Always tag such things. The answer depends on this information.
--SA

1 solution

Google found this: Image Processing Lab in C#[^] which (among a huge number of other things) can do that.
 
Share this answer
 
Comments
maheshpardeshi 16-Sep-11 3:54am    
I have seen that I does not want it I want to separate green sub image from original jpeg image
OriginalGriff 16-Sep-11 5:15am    
If you look at the code, you might find the ExtractChannel method. Now, I wonder what that does...Nope, can't think, myself...
BillWoodruff 16-Sep-11 11:08am    
OriginalGriff has just handed you the "key" to the solution you seek. What more do you want ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900