C++ Image Programming From Scratch - 4.1

  Рет қаралды 60,456

Ferrabacus

Ferrabacus

Күн бұрын

Пікірлер: 89
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Hey Everyone, a few people have asked for some test p3 images so here they are! github.com/ferrabacus/p3images
@jesuschris9543
@jesuschris9543 2 жыл бұрын
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
@iluvsyphonfilter
@iluvsyphonfilter 3 жыл бұрын
Fantastic tutorial, sometimes I like understanding how files works in a less abstracted way.
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Same here! Going to try and keep it less abstracted going forward!
@berkle
@berkle 2 жыл бұрын
First video of yours I've seen and only a quarter through and I'll say you're a fantastic teacher.
@ethanedgington2713
@ethanedgington2713 Жыл бұрын
Cannot emphasize how helpful this video was!!
@crossfadez5521
@crossfadez5521 2 жыл бұрын
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!
@Flosch1994
@Flosch1994 2 жыл бұрын
Thank you for this Tutorial. I just wanted a simple way to create Datamatrix images in c++ and this is all i need!
@dansketch4603
@dansketch4603 2 жыл бұрын
You posted cool stuff. I hope your channel is growing faster.
@kushagrarai2586
@kushagrarai2586 2 жыл бұрын
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.
@justcurious1940
@justcurious1940 2 ай бұрын
Interesting content, amazing channel, cool teacher, I can watch u the whole day, God bless u and bless America for creating this beautiful world that is called the internet.
@joseguzman4682
@joseguzman4682 3 жыл бұрын
Just amazing explaination. Ferrabacus God bless you for such kind of great and professional explanation! great pedagogy.
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Hey Jose! So happy to hear that! Thank you.
@benediktasbelevicius475
@benediktasbelevicius475 2 жыл бұрын
Imma be your 600th sub. I really like the miniLab
@ali-gw3zb
@ali-gw3zb Жыл бұрын
What a tutorial, you made everything about image so clear; thanks anyway.
@PraveenKumar-hg1lf
@PraveenKumar-hg1lf 3 жыл бұрын
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.
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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.
@PraveenKumar-hg1lf
@PraveenKumar-hg1lf 3 жыл бұрын
@@ferrabacus2980 Thanks a lot, that will be fun.
@rabiumuhammedeffect423
@rabiumuhammedeffect423 2 жыл бұрын
Great tutorial I have ever seen. And you codes are neat and self explanatory. #THNKS
@ferrabacus2980
@ferrabacus2980 Жыл бұрын
You are welcome!
@fgdou
@fgdou 3 жыл бұрын
That's really good quality teaching video Thanks!
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Thanks Fabien! I'm glad it was helpful!
@adammontgomery7980
@adammontgomery7980 2 жыл бұрын
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.
@krisvers
@krisvers Жыл бұрын
You should do another one of these image manipulation videos but with TGA or BMP
@forgotten_menace
@forgotten_menace 3 жыл бұрын
Loved it please made more videos in this image programming series please
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
I appreciate that! And those videos will be coming soon!
@adwaithkv9367
@adwaithkv9367 26 күн бұрын
Thank you for making this video.
@MrWickedsouls
@MrWickedsouls 11 ай бұрын
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?
@veggieboy1
@veggieboy1 2 жыл бұрын
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...?
@velocipede5877
@velocipede5877 2 жыл бұрын
Best tutorial honestly! Make more videos please ...
@HorseTrader-h7t
@HorseTrader-h7t Жыл бұрын
i'm looking for the 4.0 video that was referenced in the 4.1 video. Can't find it?
@Ali_X20
@Ali_X20 Жыл бұрын
This is Made My Day! Thanks!
@ferrabacus2980
@ferrabacus2980 Жыл бұрын
I'm glad!
@ImDino
@ImDino 2 жыл бұрын
why do you add a space at the end of each line? For ease of read when code is stringified or something?
@stevenhancock3364
@stevenhancock3364 2 жыл бұрын
how long would i have to run it, generating random pixels, into it's output is a picture of me by chance?
@viccs842
@viccs842 3 жыл бұрын
Awesome video! I learned a lot about image processing from you!
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Hey @VicCS, I appreciate that! Glad the video was helpful!
@joseguzman4682
@joseguzman4682 3 жыл бұрын
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
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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!
@hejhej5833
@hejhej5833 2 жыл бұрын
how do i open a ppm image?
@davidc4273
@davidc4273 2 жыл бұрын
I have my proggram and picture but I dont get the new picture, may you help me?
@Flippeh
@Flippeh 3 жыл бұрын
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
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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.
@Flippeh
@Flippeh 3 жыл бұрын
@@ferrabacus2980 Thank you for the response! I think my biggest issue is determining how I would group the colors
@hugginskakono6499
@hugginskakono6499 2 жыл бұрын
amazing lecture you made
@leeoiou7295
@leeoiou7295 3 жыл бұрын
can i use this technique for videos? how does one write a video file with an array of bytes? please reply
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Hey Leeo, you could use it for videos but it most definitely would cause a lot of issues with memory since this is uncompressed.
@JS-rp4pq
@JS-rp4pq 2 жыл бұрын
any idea if ppm images can be transparent, or how to make them transparent when you convert them to png etc
@nagesha
@nagesha 3 жыл бұрын
❤️i like it , Do more videos sir👍🏻
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Thank you! I'm currently planning more videos to come soon!
@prathamjaiswal3243
@prathamjaiswal3243 2 жыл бұрын
Amazing tutorial
@HorseTrader-h7t
@HorseTrader-h7t Жыл бұрын
Is there an advantange to using P6 over P3?
@ALEET
@ALEET Жыл бұрын
Awesome now let’s do libavcodec
@ajaypalsinghsidhu1458
@ajaypalsinghsidhu1458 9 ай бұрын
can we create image from pixels in opencv in cpp???
@prathmeshnagpure8072
@prathmeshnagpure8072 2 жыл бұрын
Awesome thank you!
@hugginskakono6499
@hugginskakono6499 2 жыл бұрын
where do I get the source code of the program made on this video
@kinki2474
@kinki2474 2 жыл бұрын
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
@matei8259
@matei8259 Жыл бұрын
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
@kinhkong69z62
@kinhkong69z62 5 ай бұрын
men this good thanks
@thomaspfaff1074
@thomaspfaff1074 3 жыл бұрын
How can I find a P3-Image? With Gimp I made a TestColorImage, it's P6.
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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).
@MrFudgecakeCF
@MrFudgecakeCF 3 жыл бұрын
great video
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Thank you!
@xyvler3041
@xyvler3041 3 жыл бұрын
Cool video
@JoJo777890
@JoJo777890 10 ай бұрын
How to open ppm files on Windows 10?
@imvention5696
@imvention5696 Жыл бұрын
Do you have tutorial for jpg type file?
@hejhej5833
@hejhej5833 2 жыл бұрын
how do i convert a p6 file to p3?
@andsoehd277
@andsoehd277 11 ай бұрын
this is hidden gems, thank you:) can u make foto jpeg/jpg please :D
@basicinfo30
@basicinfo30 3 жыл бұрын
Can you post a link to some p3 type ppm images? Thanks!
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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.
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
They are posted now! github.com/ferrabacus/p3images
@kshitijmagare5248
@kshitijmagare5248 3 жыл бұрын
how to convert image into grayscale without using opencv in c++. can you put the code in reply please
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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!
@pieruapina
@pieruapina 2 жыл бұрын
@@ferrabacus2980 where do you actually do this? after the streams or?
@cocacola7535
@cocacola7535 2 жыл бұрын
sound is too low.
@Creepstor6789
@Creepstor6789 Жыл бұрын
Watch the video with Head set 😅 🧠🔥🔥
@wristocrat
@wristocrat 2 жыл бұрын
Sound too low I agree. Please turn gain up
@quangtruong6191
@quangtruong6191 3 жыл бұрын
can you do a tutorial on how to compress an image by c++
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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!
@quangtruong6191
@quangtruong6191 3 жыл бұрын
@@ferrabacus2980 thank you love your videos
@ajaypalsinghsidhu1458
@ajaypalsinghsidhu1458 9 ай бұрын
@@ferrabacus2980 Have u done creating??
@soumyadrip
@soumyadrip 3 жыл бұрын
Can you please share the code.
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
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!
@xyvler3041
@xyvler3041 3 жыл бұрын
Do you happen to play along us?
@ferrabacus2980
@ferrabacus2980 3 жыл бұрын
Unfortunately, I don't!
@pweddy1
@pweddy1 2 жыл бұрын
PPM is worse than “not compressed.” It’s text encoded images instead of binary.
@jameshopkins3541
@jameshopkins3541 8 ай бұрын
????????????
@numero17100
@numero17100 6 ай бұрын
Great video, is there a method to move through the file like a vector?
C++ Wav Audio Programming From Scratch - 4.2 - Mini Lab
53:11
Ferrabacus
Рет қаралды 44 М.
you will never ask about pointers again after watching this video
8:03
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 17 МЛН
ПРЯМОЙ ЭФИР. Золотой мяч France Football 2024
4:41:06
Coding Challenge 166: ASCII Text Images
22:42
The Coding Train
Рет қаралды 1,1 МЛН
8-Bits Of Image Processing You Should Know!
36:48
javidx9
Рет қаралды 86 М.
FileIO (Input/Output) in C++ - #3.6
43:54
Ferrabacus
Рет қаралды 3,3 М.
BMP формат (пример кода)
31:55
Volodya Mozhenkov
Рет қаралды 12 М.
Vectors, Maps, C Structs in C++ - 3.5
34:26
Ferrabacus
Рет қаралды 6 М.
SOME UNIQUE C++ CODE! // Pacman Clone Code Review
26:42
The Cherno
Рет қаралды 281 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 260 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 564 М.
Connecting North Korea's Operating System to the Internet?
10:59
Eric Parker
Рет қаралды 1,7 МЛН
how Google writes gorgeous C++
7:40
Low Level
Рет қаралды 925 М.