Abstract. One of the most dangerous complications during brain surgery is bleeding. Hemostasis can be difficult due to the lack of visibility caused by blood filling the surgical wound. To restore the visibility of the surgical area it is proposed to use NIR-camera data and Shearlet transform with color-coding algorithms. At the same time it is also assumed to conduct brightness characteristics enhancement of images (frames) and segmentation of biological tissues of interest. NIR beams are able to penetrate deeper into tissues than visible light and NIR is also absorbed to a greater extent by hemoglobin than by surrounding tissues. The blood has a significantly higher absorption coefficient of NIR rays in the range from 800 nm to 1050 nm in comparison with the absorption coefficient of the same spectrum by the tissues involved during the operation. Due to this effect there is the potential to detect structures of interest despite bleeding in the wound cavity. During experimental study it was found that it becomes possible to visualize all tissues that are at a depth of up to 3 mm. Use of BCET algorithm with the mask for processing made it possible to improve the image contrast from 34.20% to 198.73% depending on the depth of biological structures. In case of model images processing the best average accuracy of determining ROI contours taking into account depth was 0.961 ± 0.021 according Dice similarity coefficient.