Ask Your Question

KvltKitty's profile - activity

2020-09-27 08:45:48 -0600 received badge  Notable Question (source)
2020-09-27 08:45:48 -0600 received badge  Popular Question (source)
2015-12-07 15:23:04 -0600 commented question "Loop" an image tile

That's an interesting approach. How would I go about starting to do this? (opencv beginner here)

2015-12-07 06:40:49 -0600 commented question "Loop" an image tile

To be more precise I'd like to create about 5-10 frames of it to cycle through in real time

2015-12-07 05:02:42 -0600 asked a question "Loop" an image tile

Hey all,

So I'm using opencv with the allegro game library to aid me in generating procedural content. One quest I had was if I have a water tile Mat image, is there a way to "offset" it so it appears to be moving in a particular direction? Any suggestions on where to get started on something like this would be greatly appreciated. There are water tile images essentially and I want to be able to cycle them. Thanks for the help!

If I haven't been concise enough please let me know. I've been coding for about 15 hours and my brain is kind of fried at this point

Cheers!

2015-11-14 08:42:50 -0600 received badge  Student (source)
2015-11-14 08:02:09 -0600 received badge  Scholar (source)
2015-11-14 08:02:03 -0600 received badge  Supporter (source)
2015-11-14 08:01:52 -0600 commented answer Tile multiple images into one .bmp

This is excellent, thank you thank you thank you. Very helpful. Opencv is so large that breaking into it has been a bit overwhelming. Thanks :D

2015-11-14 07:41:47 -0600 commented answer Tile multiple images into one .bmp

Thank you so much! Greatly appreciated, just woke up and looking over it now. :)

2015-11-13 16:59:55 -0600 received badge  Editor (source)
2015-11-13 16:58:16 -0600 commented question Tile multiple images into one .bmp

noob question I know, but bump as I need help and can't find anything on this online

2015-11-13 13:48:40 -0600 asked a question Tile multiple images into one .bmp

Hello everyone,

I am trying to solve a relatively simple problem, but the opencv library seems stitching seems like it perhaps may be overkill for what I'm trying to accomplish. Essentially here's what I'm trying to do in a procedural RPG:

Generate tile types in the world

for each(tile){

-generate custom texture and output tile to a .bmp file
-take that tile and append it to a "FinalMap.bmp" file in the correct position

}

The second step is the only one that is causing me problems. When I try using Stitcher.stitch() it fails everytime. Is there a more simple solution to what I'm trying to do?? If anyone has a link to an example of this it'd be greatly appreciated

2015-11-13 11:37:23 -0600 commented question imread not reading in BMP

I'm running opencv 2.4.9 Could this be an issue?

Also yeah for some reason even if I open up the bmp in paint, save it out as a jpg and try and load it it still won't work. I can load an image that was originally a jpg that I downloaded online just fine though

2015-11-13 11:19:00 -0600 asked a question imread not reading in BMP

Hello all,

I'm trying to read in a .bmp file using the following code:

cv::Mat image1 = cv::imread("SmallDog.bmp", CV_LOAD_IMAGE_COLOR);

And it is failing everytime. I can read in .jpg files just fine, but I need to load in a bmp file, as the noise library and texture generator I have writes to .bmp files and I plan to stitch generated bmp textures together. I can't get past this though -_- Any suggestions you may have are greatly appreciated

And yes, the directory location in Visual Studio is fine. I tested it with a few different file formats, and .bmp is the only one giving me issues (of course the one I need haha)