Displaying pixel values
-
Hi, i was wondering is it is possible to pull out the pixels values and display it out. (eg. pixel 1 ->[2,25,125])
-
Hi, i was wondering is it is possible to pull out the pixels values and display it out. (eg. pixel 1 ->[2,25,125])
GetPixel will do this if you have only a few pixels to do. For speed, if you want them all, you should read my image processing articles. Christian Graus - Microsoft MVP - C++
-
GetPixel will do this if you have only a few pixels to do. For speed, if you want them all, you should read my image processing articles. Christian Graus - Microsoft MVP - C++
how many pointers do i need? 1 or 3? sorry abt that i just took up C# because of my project requirements i am rather confused now thanxz in advace:confused:
-
how many pointers do i need? 1 or 3? sorry abt that i just took up C# because of my project requirements i am rather confused now thanxz in advace:confused:
Soulblazer wrote: how many pointers do i need? Do you mean to read an image ? 1. My articles will have several images open at once, as they are applying filters. Soulblazer wrote: sorry abt that i just took up C# because of my project requirements What did you use before/why the move to C# ? Christian Graus - Microsoft MVP - C++
-
Soulblazer wrote: how many pointers do i need? Do you mean to read an image ? 1. My articles will have several images open at once, as they are applying filters. Soulblazer wrote: sorry abt that i just took up C# because of my project requirements What did you use before/why the move to C# ? Christian Graus - Microsoft MVP - C++
i have only learnt Java basic however my supervisor wants us to pick us C# to do this project. i am confused as to i have to pull out the red, green and blue values for all the pixels of the whole picture so i was thinking maybe i would need three pointers one for each color. i have been looking at all 6 of your image processing articles for the pass 1 month++.
-
i have only learnt Java basic however my supervisor wants us to pick us C# to do this project. i am confused as to i have to pull out the red, green and blue values for all the pixels of the whole picture so i was thinking maybe i would need three pointers one for each color. i have been looking at all 6 of your image processing articles for the pass 1 month++.
Soulblazer wrote: i have only learnt Java basic however my supervisor wants us to pick us C# to do this project They are basically the same thing, so no biggie. Soulblazer wrote: i am confused as to i have to pull out the red, green and blue values for all the pixels of the whole picture so i was thinking maybe i would need three pointers one for each color No - did you read my articles ? The byte array that is returned contains a series of bytes, with three for each pixel, blue, green, then red. Why do you need to pull all the pixels out ? What will you do with them ? Christian Graus - Microsoft MVP - C++
-
Soulblazer wrote: i have only learnt Java basic however my supervisor wants us to pick us C# to do this project They are basically the same thing, so no biggie. Soulblazer wrote: i am confused as to i have to pull out the red, green and blue values for all the pixels of the whole picture so i was thinking maybe i would need three pointers one for each color No - did you read my articles ? The byte array that is returned contains a series of bytes, with three for each pixel, blue, green, then red. Why do you need to pull all the pixels out ? What will you do with them ? Christian Graus - Microsoft MVP - C++
i need to display the pixel values inorder to see clearly how the values changes each function.
-
i need to display the pixel values inorder to see clearly how the values changes each function.
You're showing ALL The pixel values ? Must be a small bitmap, perhaps GetPixel is all you need. Christian Graus - Microsoft MVP - C++
-
You're showing ALL The pixel values ? Must be a small bitmap, perhaps GetPixel is all you need. Christian Graus - Microsoft MVP - C++
erm it is a big one but will be cropping out a certain part of the picture to see the values.
-
erm it is a big one but will be cropping out a certain part of the picture to see the values.
Same deal - if you only want to pull out a small number of values, you may decide to use getpixel, to simplify the code. Christian Graus - Microsoft MVP - C++
-
Same deal - if you only want to pull out a small number of values, you may decide to use getpixel, to simplify the code. Christian Graus - Microsoft MVP - C++