<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Philipp,<br></div><div><br></div><div>From your description the "labelled" image sound like the mask image which indicate the ROI of the original image for training the NN.<br></div><div><br></div><div>Is this is the case, I think the labelled image must be going through the same transform with the original image as well.<br></div><div><br></div><div>However, you might want to consider the type of network that you're going to apply, for example, CNN with image classification such as Alexnet, Googlenet, the target is just the "class label" indicating the object label, regardless what type of transformation/augmentation you went through. (bird is still a bird no matter how u rotate it) :)<br></div><div><br></div><div>On the other hand, the network for image detection such as YOLO, SSD will need the image with labelled (such as the bounding boxes) which the labelled vector must be adjusted accordingly.<br></div><div><br></div><div>Just my 2 cents.<br></div><div><br></div><div>rgds,<br></div><div>Chin Luh</div><div><br></div><div data-zbluepencil-ignore="true" style="" class="zmail_extra"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Wed, 24 Jun 2020 22:27:30 +0800 <b>P M <p.muehlmann@gmail.com></b> wrote ----<br></div><div><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div dir="ltr"><div>Dear Scilabers,<br></div><div><br></div><div>probably not the correct forum to ask this question, but i do not know better.<br></div><div><br></div><div><br></div><div>Dealing with neural networks and image segmentation I write some Scilab code for data augmentation.<br></div><div><br></div><div>This is to increase my training data set. ( = more images)<br></div><div><br></div><div>Data augmentation (for now) is done by:<br></div><div><br></div><div>- image rotation<br></div><div>- image horizontal shifting<br></div><div><br></div><div>Now a basic question: <br></div><div><br></div><div>- Does one apply the data augmentation only for the input images and keep the label images?<br></div><div>Or<br></div><div>- does one also rotate/shear the label images?<br></div><div><br></div><div>A "label image" in this context is a binary image (black/white).<br></div><div><br></div><div>white --> corresponds to pixels in the input image, which are of interest<br></div><div>black --> corresponds to pixels in the input image, which are of no interest.<br></div><div><br></div><div>Any help is appreciated.<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Philipp<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div>_______________________________________________<br></div><div>users mailing list <br></div><div><a target="_blank" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a> <br></div><div><a target="_blank" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a> <br></div></div></blockquote></div><div><br></div></div><br></body></html>