How to make a simple PPM image in C++. How to add filters to PPM pictures in C++. Here are some test p3 images you can use with this! github.com/ferrabacus/p3images
This was amazing!' I have been wanting to learn about manipulating images with C++ but I was scared it was hard. But this video was very easy to follow and was extremely useful. Thank you very much!
Dude your videos are amazing and your teaching style is awesome, make more of these please. I have a questions: -> Will you cover some sort of graphics library. Something like processing in java, in future. And a request, could you please increase your audio volume it's quite low.
Hey Praveen, thank you I appreciate that! I will be covering some c++ graphics libraries like SDL2 which overlaps OpenGL and maybe a few others soon (wxwidgets for windowed applications). I will be staying away from Java graphics libraries though.
Fantastic video, thanks so much! Do you know where I could find information on video programming? I.e., how to stitch together generated images into an avi, mp4, mpeg, etc...?
I had an idea that I can't quite flesh out. I want to generate images based on hash values. Using sha512, you get an 8x8 image but it needs to be scaled up to be practically viewable. I haven't been able to find or come up with an algorithm that works without blending the grayscale pixels. Any help would be appreciated.
Hey i want to know where you open this ppm file i want to see this but unable to see in window 10 os can you give me some hint where i can see this ppm file format.
I am taking C++ as my new language after working on the front end for over 7 years. I was always interested in low level code and your video helped a lot. The only thing I don't understand is why .ppm files opened in VS code show numbers and not binarires and why jpg files dont show digital or binary content?
Hello, there! Sorry that I'm late, but thanks a lot. I turned stuff in this video into a library & portted it into C instead of C++. If you can, please make another video, about stuff such as cutting, sharpening, flipping & rotating. I would really appreciate it
I would like to know how to identify data in a picture more tha colors. for example like to identify if what i am reading is a bird , a fish, a tree and so on. is there any advanced documentation you can suggest ? thanks in advance
Hey Jose, you would need to look into OpenCV, which stands for open computer vision. Essentially, you train the algorithm by giving it pictures that look like what you want to identify so it can find it in new pictures!
How hard do you think it would be to take an image, use the two for loop strategy to take in the "brightness value" of each pixel, and then generate some sort of ASCII art interpretation of the image? thanks
Hey Flippeh, It would add a degree of complexity. In my opinion, it might be easier to work with by changing all the colors to a gray scale. Then grouping them and converting them to ASCII.
Hey Thomas, I apologize for not getting back to you sooner. You can use an external package called ImageMagick (imagemagick.org) to convert these images (that is what I did). It can be used programatically or via the command line (I used it through the command line).
It is actually pretty simple to do, you just have to add the red, green, and blue values and divide by 3. Then use that value for the r, g, b values. Try doing this first and see what you come up with!
Hey Everyone, a few people have asked for some test p3 images so here they are!
github.com/ferrabacus/p3images
0:00 Intro
0:15 What You'll Learn
0:59 Image Research
7:56 Basic Image Writing
8:53 Live Code (creating an image)
18:46 Applying Filters to Images
20:19 LiveCode (applying a filter)
35:10 MiniLab - Image Programming
Fantastic tutorial, sometimes I like understanding how files works in a less abstracted way.
Same here! Going to try and keep it less abstracted going forward!
First video of yours I've seen and only a quarter through and I'll say you're a fantastic teacher.
This was amazing!'
I have been wanting to learn about manipulating images with C++ but I was scared it was hard. But this video was very easy to follow and was extremely useful. Thank you very much!
Cannot emphasize how helpful this video was!!
Thank you for this Tutorial.
I just wanted a simple way to create Datamatrix images in c++ and this is all i need!
You posted cool stuff. I hope your channel is growing faster.
Imma be your 600th sub. I really like the miniLab
What a tutorial, you made everything about image so clear; thanks anyway.
Just amazing explaination. Ferrabacus God bless you for such kind of great and professional explanation! great pedagogy.
Hey Jose! So happy to hear that! Thank you.
Great tutorial I have ever seen.
And you codes are neat and self explanatory.
#THNKS
You are welcome!
This is Made My Day! Thanks!
I'm glad!
That's really good quality teaching video
Thanks!
Thanks Fabien! I'm glad it was helpful!
Best tutorial honestly! Make more videos please ...
amazing lecture you made
Amazing tutorial
Awesome thank you!
Awesome video! I learned a lot about image processing from you!
Hey @VicCS,
I appreciate that! Glad the video was helpful!
Loved it please made more videos in this image programming series please
I appreciate that! And those videos will be coming soon!
Dude your videos are amazing and your teaching style is awesome, make more of these please.
I have a questions:
-> Will you cover some sort of graphics library. Something like processing in java, in future.
And a request, could you please increase your audio volume it's quite low.
Hey Praveen, thank you I appreciate that! I will be covering some c++ graphics libraries like SDL2 which overlaps OpenGL and maybe a few others soon (wxwidgets for windowed applications). I will be staying away from Java graphics libraries though.
@@ferrabacus2980 Thanks a lot, that will be fun.
Cool video
Fantastic video, thanks so much! Do you know where I could find information on video programming? I.e., how to stitch together generated images into an avi, mp4, mpeg, etc...?
great video
Thank you!
men this good thanks
I had an idea that I can't quite flesh out. I want to generate images based on hash values. Using sha512, you get an 8x8 image but it needs to be scaled up to be practically viewable. I haven't been able to find or come up with an algorithm that works without blending the grayscale pixels. Any help would be appreciated.
You should do another one of these image manipulation videos but with TGA or BMP
❤️i like it ,
Do more videos sir👍🏻
Thank you! I'm currently planning more videos to come soon!
Hey i want to know where you open this ppm file i want to see this but unable to see in window 10 os can you give me some hint where i can see this ppm file format.
I am taking C++ as my new language after working on the front end for over 7 years. I was always interested in low level code and your video helped a lot. The only thing I don't understand is why .ppm files opened in VS code show numbers and not binarires and why jpg files dont show digital or binary content?
any idea if ppm images can be transparent, or how to make them transparent when you convert them to png etc
i'm looking for the 4.0 video that was referenced in the 4.1 video. Can't find it?
why do you add a space at the end of each line? For ease of read when code is stringified or something?
Hello, there! Sorry that I'm late, but thanks a lot. I turned stuff in this video into a library & portted it into C instead of C++. If you can, please make another video, about stuff such as cutting, sharpening, flipping & rotating. I would really appreciate it
heeey, if you would like to share with me the library you portted into c you would really help me out a looot, thank you very much in advance
how long would i have to run it, generating random pixels, into it's output is a picture of me by chance?
I have my proggram and picture but I dont get the new picture, may you help me?
can we create image from pixels in opencv in cpp???
Sound too low I agree. Please turn gain up
this is hidden gems, thank you:)
can u make foto jpeg/jpg please :D
how do i open a ppm image?
where do I get the source code of the program made on this video
Is there an advantange to using P6 over P3?
Awesome now let’s do libavcodec
How to open ppm files on Windows 10?
how do i convert a p6 file to p3?
I would like to know how to identify data in a picture more tha colors. for example like to identify if what i am reading is a bird , a fish, a tree and so on. is there any advanced documentation you can suggest ? thanks in advance
Hey Jose, you would need to look into OpenCV, which stands for open computer vision. Essentially, you train the algorithm by giving it pictures that look like what you want to identify so it can find it in new pictures!
How hard do you think it would be to take an image, use the two for loop strategy to take in the "brightness value" of each pixel, and then generate some sort of ASCII art interpretation of the image? thanks
Hey Flippeh, It would add a degree of complexity. In my opinion, it might be easier to work with by changing all the colors to a gray scale. Then grouping them and converting them to ASCII.
@@ferrabacus2980 Thank you for the response! I think my biggest issue is determining how I would group the colors
Do you have tutorial for jpg type file?
can i use this technique for videos? how does one write a video file with an array of bytes? please reply
Hey Leeo, you could use it for videos but it most definitely would cause a lot of issues with memory since this is uncompressed.
How can I find a P3-Image? With Gimp I made a TestColorImage, it's P6.
Hey Thomas, I apologize for not getting back to you sooner. You can use an external package called ImageMagick (imagemagick.org) to convert these images (that is what I did).
It can be used programatically or via the command line (I used it through the command line).
sound is too low.
Watch the video with Head set 😅 🧠🔥🔥
Can you post a link to some p3 type ppm images?
Thanks!
That is a good idea, I’ll get some test images up on GitHub ASAP. I’ll respond here when I have it and pin that comment for others.
They are posted now!
github.com/ferrabacus/p3images
how to convert image into grayscale without using opencv in c++. can you put the code in reply please
It is actually pretty simple to do, you just have to add the red, green, and blue values and divide by 3. Then use that value for the r, g, b values. Try doing this first and see what you come up with!
@@ferrabacus2980 where do you actually do this? after the streams or?
Can you please share the code.
That is a really good idea, I'm going to work on getting the code for the videos up on GitHub and share the link!
Do you happen to play along us?
Unfortunately, I don't!
can you do a tutorial on how to compress an image by c++
Hey Quang, that is on my list of new videos to make soon. Working on a GUI tutorial first so we can see our images and compress them!
@@ferrabacus2980 thank you love your videos
@@ferrabacus2980 Have u done creating??
????????????
PPM is worse than “not compressed.”
It’s text encoded images instead of binary.
Great video, is there a method to move through the file like a vector?