Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi everyone,
i am stuck in my FYP which is Automated Luekemia Detection.
i want to convert RGB image into CMYK image that is RGB image should be input and output must be CMYK image in C# visual studio.
i have tried some of links but doesn't work properly. so please help me out as i am running out of time.

What I have tried:

i have tried some links but they didnt work out for me. i need 100% correct conversion code or guide as i am weak in Programming too.
Posted
Updated 28-Jul-17 2:23am
Comments
BillWoodruff 28-Jul-17 22:18pm    
Why do you need to convert it >
Member 12523470 31-Jul-17 6:34am    
it is basic requirement of my FYP (Final Year Project) which is Leukemia Detection.
so if you can help me, please help me out
Graeme_Grant 31-Jul-17 7:03am    
I am not sure what you found wrong with my link.

The author not only gives you the theory and math, but also the code. In the section "Color model transformation" he shows you how to convert a bitmap or individual pixels:
Double[] cmyk = fip.rgb2cmyk(pixel); // Single pixel convertion from RGB to CMYK
Bitmap[] CMYKLayers = fip.CMYKLayers(img); // Get CMYK Layers form ARGB image
Member 12523470 31-Jul-17 7:47am    
thank you it helped me a lot
Graeme_Grant 31-Jul-17 8:28am    
Glad to hear :)

1 solution

This will do what you want and much more!

Fundamentals of Image Processing - behind the scenes[^]
 
Share this answer
 

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