Questions tagged [image-translation]

13 questions
2
votes
0 answers

Why do the generators on my CycleGAN give the same output as input on custom dataset?

So I followed the tutorial code for image to image translation using cyclegan from here. I am training it on a custom dataset on Keras. What reason could there be for the network to not learn a translation? Both generators in the cyclegan give out…
1
vote
0 answers

How to deal with severe overfitting in a UNet Encoder/Decoder CNN in a task very similar to image translation?

I am trying to fit a UNet CNN to a task very similar to image to image translation. The input to the network is a binary matrix of size (64,256) and the output is of size (64,32). The columns represent a status of a communication channel where each…
1
vote
0 answers

In the U-Net architecture, h and w don't match, I don't know whether I misunderstood it or not

I'm confused about the image-transformation structure in a paper that I read. The output dimensions of the layers they concatenate do not match. Should it actually be layer 9 and layer 7? class ImageTransformationNetwork(nn.Module): def…
1
vote
0 answers

Can Encoder-Decoder network be used for different input and output?

Working on image translation problem. Got many pairs of input-output images, say sketch as input, translated sketch as output. Images are b&w with 1 pixel width sketch lines. Can simple encoder-decoder be used to LEARN the image translation? Code…
1
vote
0 answers

Image Transformation Without Loop

I am writing image transformation function in matlab instead of using predefined functions like 'imwarp or imtransform'. I am done with writing the code roughly but it is taking too long due to the use of loop. Please suggest me a solution which can…
0
votes
2 answers

Rotation and Translation of Image Javascript

I have 4 images connected to each other which form a big image. My task is to rotate the big image to a certain angle that is entered by the user. Now, to rotate the full image, I need to rotate the smaller connected images and then translate them…
0
votes
1 answer

How can I rotate an image using only affine2d and transformPointsForward in Matlab?

I would like to rotate (30 degrees) an image in Matlab but without using imwarp, imtranslate, imrotate, imresize. My code is following: image = imread('image.jpg'); theta = 30; tform = affine2d([cosd(theta) sind(theta) 0; -sind(theta) cosd(theta) 0;…
dzuulie
  • 31
  • 4
0
votes
1 answer

How is GAN based Image to segmentation map different from SOTA semantic segmentation methods?

I have been looking around into papers like Pix2Pix and DeeplabV3. And In pix2pix paper there is an image to segmentation task performed. similarly, DeeplabV3 is used for segmentation tasks. I want to understand when should I use GAN for…
0
votes
1 answer

TYPO3 News Translation with Image "Translation Behaviour: Custom Value" isn't working

I'm having a little Problem in TYPO3 8.7 with News Elements and setting a Custom Image for a translation. Im still new to TYPO3. I want to have the ENGLISH Version of my News to have a different Image than my Standard Language Version, but I can…
WtfLan
  • 3
  • 2
0
votes
1 answer

How to apply a rotation matrix R(3*3) and vector translation T(3*1) to an image in matlab?

I have two images I1 and I2, and I get the rotation matrix R (3*3) and the translation vector T (3*1) between this two images. Now I want to apply this R and T in I1 to get the aligned image J from I1. I try this code but didn't work : J=(I1.*R)+T;…
PhD Ma
  • 107
  • 7
-1
votes
1 answer

How to convert byte array to sensor_msgs.msg.CompressedImage in C#?

I am trying to receive camera image from Unity and send it to ROS2 as an image message like sensor_msgs.msg.CompressedImage. In the part of TO DO:, I need to define a function to convert byte array to image messages. How should the ByteArrayToImage…
tgr
  • 58
  • 5
-1
votes
1 answer

Image to image translation with middle unkown function

I have a set of paired binary images X,Y and an external function that I don't have access to, which receives X as input and outputs the binary image W. I want to develop a neural network that can transform X into X_optimal such that after passing…
-1
votes
1 answer

how does cv2.warpPerspective works?

I did image registration between two images (img_source, img_ref) using the following code. # Find homography h, mask = cv2.findHomography(points1, points2, cv2.RANSAC) # Use homography height, width, channels = im2.shape im1Reg =…