96
submitted 11 months ago* (last edited 11 months ago) by Otherwise_Direction7 to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] Jackie_meaiii@lemmy.blahaj.zone 30 points 11 months ago

I used the default photos app on my phone to draw a totally normal cow

[-] PM_ME_VINTAGE_30S@lemmy.sdf.org 12 points 11 months ago

So I took your image and ~~ruined my MATLAB account~~ used the most normal part of your totally normal cow as a 3D [1] ~~cockvolution~~ convolution kernel. So in some sense, I dragged the red and purple part all across your image and added up the results. Here's the result:

Figure 2024-01-15 14_46_27

Here's the MATLAB code:

normal_image = imread("totally_normal_image.png");

feature=normal_image(272:350,205:269,:);

feature_expansion = padarray(feature,[0,ceil((79-65)/2),0],'replicate');

for m = 1:1:3

new_normal_image(:,:,m) = conv2(normal_image(:,:,m),feature_expansion(:,:,m));

new_normal_image(:,:,m) = new_normal_image(:,:,m)/max(max(new_normal_image(:,:,m))); 

end

imshow(new_normal_image)

[1] The original image was practically grayscale, so only a 2D convolution is required, i.e. over 2 spatial dimensions. Since you added color, it adds a extra dimension, one per color channel. Which makes it more annoying to work with in MATLAB. I mean, I could have just dumped everything into grayscale, but I need practice with processing color images anyways.

[-] adj16@lemmy.world 7 points 11 months ago

This is so f’n weird, I love it

[-] Otherwise_Direction7 5 points 11 months ago

Is that supposed to be a blood on the bottom right?

[-] EvokerKing@lemmy.world 9 points 11 months ago

I think it's a little more nsfw

[-] PM_ME_VINTAGE_30S@lemmy.sdf.org 6 points 11 months ago

I mean there's blood inside the red thing.

this post was submitted on 14 Jan 2024
96 points (100.0% liked)

196

16721 readers
2504 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS